@azure/msal-browser 4.15.0 → 4.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.mjs +1 -1
  11. package/dist/cache/CacheHelpers.mjs +1 -1
  12. package/dist/cache/CookieStorage.mjs +1 -1
  13. package/dist/cache/DatabaseStorage.mjs +1 -1
  14. package/dist/cache/LocalStorage.mjs +1 -1
  15. package/dist/cache/MemoryStorage.mjs +1 -1
  16. package/dist/cache/SessionStorage.mjs +1 -1
  17. package/dist/cache/TokenCache.mjs +1 -1
  18. package/dist/config/Configuration.mjs +1 -1
  19. package/dist/controllers/ControllerFactory.mjs +1 -1
  20. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  21. package/dist/controllers/NestedAppAuthController.mjs +15 -3
  22. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  23. package/dist/controllers/StandardController.mjs +1 -1
  24. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  25. package/dist/crypto/BrowserCrypto.mjs +1 -1
  26. package/dist/crypto/CryptoOps.mjs +1 -1
  27. package/dist/crypto/PkceGenerator.mjs +1 -1
  28. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  29. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  30. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  31. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  32. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  33. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  34. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  35. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  36. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  37. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  38. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  39. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  40. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  42. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  43. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  44. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  45. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  46. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
  47. package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
  48. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  49. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  50. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  51. package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  52. package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  53. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  54. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  55. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  56. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  57. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +8 -2
  58. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  59. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  60. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  61. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  62. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +10 -1
  63. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  64. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +4 -1
  90. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  94. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  100. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +18 -2
  102. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  105. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +8 -4
  106. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
  107. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  130. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  131. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +8 -1
  132. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
  133. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  139. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +2 -1
  140. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
  141. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +6 -1
  144. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +2 -1
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +10 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  156. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  172. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  173. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  174. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  175. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  176. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  177. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  178. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  179. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  180. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  181. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  182. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  183. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  184. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  185. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +2 -1
  186. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
  187. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +43 -14
  188. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
  189. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +5 -0
  190. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
  191. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +42 -15
  192. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  193. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
  196. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +13 -7
  197. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
  198. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  199. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  200. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +7 -3
  201. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
  202. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  203. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +1 -0
  204. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
  205. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +12 -3
  206. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
  207. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  208. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  209. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  210. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  211. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  212. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  213. package/dist/custom-auth-path/protocol/Authorize.d.ts +4 -0
  214. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  215. package/dist/custom-auth-path/protocol/Authorize.mjs +15 -2
  216. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  217. package/dist/custom-auth-path/request/RequestHelpers.d.ts +11 -1
  218. package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
  219. package/dist/custom-auth-path/request/RequestHelpers.mjs +32 -3
  220. package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
  221. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  222. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  223. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  224. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  225. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  226. package/dist/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  227. package/dist/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  228. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  229. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  230. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  231. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  232. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  233. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  234. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  235. package/dist/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  236. package/dist/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  237. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  238. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  239. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  240. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  241. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  242. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  243. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  244. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  245. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  246. package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  247. package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  248. package/dist/encode/Base64Decode.mjs +1 -1
  249. package/dist/encode/Base64Encode.mjs +1 -1
  250. package/dist/error/BrowserAuthError.mjs +1 -1
  251. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  252. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  253. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  254. package/dist/error/NativeAuthError.mjs +1 -1
  255. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  256. package/dist/error/NestedAppAuthError.mjs +1 -1
  257. package/dist/event/EventHandler.mjs +1 -1
  258. package/dist/event/EventMessage.mjs +1 -1
  259. package/dist/event/EventType.mjs +1 -1
  260. package/dist/index.mjs +1 -1
  261. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  262. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  263. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  264. package/dist/interaction_client/PopupClient.d.ts +2 -1
  265. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  266. package/dist/interaction_client/PopupClient.mjs +43 -14
  267. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  268. package/dist/interaction_client/RedirectClient.d.ts +5 -0
  269. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  270. package/dist/interaction_client/RedirectClient.mjs +42 -15
  271. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  272. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  273. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  274. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  275. package/dist/interaction_client/SilentIframeClient.mjs +13 -7
  276. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  277. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  278. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  279. package/dist/interaction_client/StandardInteractionClient.mjs +7 -3
  280. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  281. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  282. package/dist/interaction_handler/SilentHandler.d.ts +1 -0
  283. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  284. package/dist/interaction_handler/SilentHandler.mjs +12 -3
  285. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  286. package/dist/naa/BridgeError.mjs +1 -1
  287. package/dist/naa/BridgeProxy.mjs +1 -1
  288. package/dist/naa/BridgeStatusCode.mjs +1 -1
  289. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  290. package/dist/navigation/NavigationClient.mjs +1 -1
  291. package/dist/network/FetchClient.mjs +1 -1
  292. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  293. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  294. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  295. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  296. package/dist/packageMetadata.d.ts +1 -1
  297. package/dist/packageMetadata.mjs +2 -2
  298. package/dist/protocol/Authorize.d.ts +4 -0
  299. package/dist/protocol/Authorize.d.ts.map +1 -1
  300. package/dist/protocol/Authorize.mjs +15 -2
  301. package/dist/protocol/Authorize.mjs.map +1 -1
  302. package/dist/request/RequestHelpers.d.ts +11 -1
  303. package/dist/request/RequestHelpers.d.ts.map +1 -1
  304. package/dist/request/RequestHelpers.mjs +32 -3
  305. package/dist/request/RequestHelpers.mjs.map +1 -1
  306. package/dist/response/ResponseHandler.mjs +1 -1
  307. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  308. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  309. package/dist/utils/BrowserConstants.mjs +1 -1
  310. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  311. package/dist/utils/BrowserUtils.mjs +1 -1
  312. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  313. package/lib/custom-auth-path/msal-custom-auth.cjs +292 -96
  314. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  315. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  316. package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  317. package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  318. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  319. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  320. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  321. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  322. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  323. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  324. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  325. package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  326. package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  327. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  328. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  329. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  330. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  331. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  332. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  333. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  334. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  335. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  336. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  337. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  338. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +2 -1
  339. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  340. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +5 -0
  341. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  342. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  343. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  344. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +1 -0
  345. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  346. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  347. package/lib/custom-auth-path/types/protocol/Authorize.d.ts +4 -0
  348. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  349. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +11 -1
  350. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
  351. package/lib/msal-browser.cjs +256 -98
  352. package/lib/msal-browser.cjs.map +1 -1
  353. package/lib/msal-browser.js +256 -98
  354. package/lib/msal-browser.js.map +1 -1
  355. package/lib/msal-browser.min.js +68 -68
  356. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  357. package/lib/types/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  358. package/lib/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  359. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  360. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  361. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  362. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  363. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  364. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  365. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  366. package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  367. package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  368. package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  369. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  370. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  371. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  372. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  373. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  374. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  375. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  376. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  377. package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  378. package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  379. package/lib/types/interaction_client/PopupClient.d.ts +2 -1
  380. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  381. package/lib/types/interaction_client/RedirectClient.d.ts +5 -0
  382. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  383. package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  384. package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  385. package/lib/types/interaction_handler/SilentHandler.d.ts +1 -0
  386. package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  387. package/lib/types/packageMetadata.d.ts +1 -1
  388. package/lib/types/protocol/Authorize.d.ts +4 -0
  389. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  390. package/lib/types/request/RequestHelpers.d.ts +11 -1
  391. package/lib/types/request/RequestHelpers.d.ts.map +1 -1
  392. package/package.json +2 -2
  393. package/src/controllers/NestedAppAuthController.ts +18 -2
  394. package/src/custom_auth/CustomAuthActionInputs.ts +3 -0
  395. package/src/custom_auth/controller/CustomAuthStandardController.ts +18 -10
  396. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +12 -0
  397. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +3 -0
  398. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +1 -0
  399. package/src/custom_auth/core/utils/ArgumentValidator.ts +22 -0
  400. package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +24 -9
  401. package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +8 -0
  402. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +1 -0
  403. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +10 -0
  404. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -0
  405. package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +1 -0
  406. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +9 -0
  407. package/src/custom_auth/sign_in/interaction_client/parameter/SignInParams.ts +3 -0
  408. package/src/interaction_client/PopupClient.ts +161 -63
  409. package/src/interaction_client/RedirectClient.ts +86 -35
  410. package/src/interaction_client/SilentIframeClient.ts +49 -28
  411. package/src/interaction_client/StandardInteractionClient.ts +13 -2
  412. package/src/interaction_handler/SilentHandler.ts +24 -1
  413. package/src/packageMetadata.ts +1 -1
  414. package/src/protocol/Authorize.ts +48 -0
  415. package/src/request/RequestHelpers.ts +45 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Authorize.mjs","sources":["../../src/protocol/Authorize.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.earJwkEmpty","BrowserAuthErrorCodes.nativeConnectionNotEstablished","BrowserAuthErrorCodes.earJweEmpty"],"mappings":";;;;;;;;;;;;AAAA;;;AAGG;AA4CH;;;;;;;;AAQG;AACH,eAAe,qBAAqB,CAChC,MAA4B,EAC5B,SAAoB,EACpB,OAAsC,EACtC,MAAc,EACd,iBAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,iBAAiB,CAAC,qCAAqC,CACtE,EAAE,GAAG,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,EACxC,OAAO,EACP,MAAM,EACN,iBAAiB,CACpB,CAAC;AACF,IAAA,uBAAuB,CAAC,cAAc,CAAC,UAAU,EAAE;QAC/C,GAAG,EAAE,gBAAgB,CAAC,QAAQ;AAC9B,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,EAAE,EAAE,EAAE;AACN,QAAA,GAAG,EAAE,EAAE;AACV,KAAA,CAAC,CAAC;IACH,IAAI,MAAM,CAAC,IAAI,CAAC,YAAY,KAAK,YAAY,CAAC,IAAI,EAAE;QAChD,uBAAuB,CAAC,uBAAuB,CAC3C,UAAU,EACV,MAAM,CAAC,SAAS,CAAC,WAAW,CAC/B,CAAC;AACL,KAAA;IAED,IAAI,OAAO,CAAC,cAAc,EAAE;;AAExB,QAAA,uBAAuB,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;;AAGpD,QAAA,IAAI,OAAO,CAAC,oBAAoB,KAAK,oBAAoB,CAAC,GAAG,EAAE;YAC3D,MAAM,SAAS,GAAG,IAAI,SAAS,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC3D,YAAA,MAAM,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,SAAS,CAAC,CAAC;;AAG3D,YAAA,IAAI,UAAU,C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
1
+ {"version":3,"file":"Authorize.mjs","sources":["../../src/protocol/Authorize.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.earJwkEmpty","BrowserAuthErrorCodes.nativeConnectionNotEstablished","BrowserAuthErrorCodes.earJweEmpty"],"mappings":";;;;;;;;;;;;AAAA;;;AAGG;AA4CH;;;;;;;;AAQG;AACH,eAAe,qBAAqB,CAChC,MAA4B,EAC5B,SAAoB,EACpB,OAAsC,EACtC,MAAc,EACd,iBAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,iBAAiB,CAAC,qCAAqC,CACtE,EAAE,GAAG,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,EACxC,OAAO,EACP,MAAM,EACN,iBAAiB,CACpB,CAAC;AACF,IAAA,uBAAuB,CAAC,cAAc,CAAC,UAAU,EAAE;QAC/C,GAAG,EAAE,gBAAgB,CAAC,QAAQ;AAC9B,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,EAAE,EAAE,EAAE;AACN,QAAA,GAAG,EAAE,EAAE;AACV,KAAA,CAAC,CAAC;IACH,IAAI,MAAM,CAAC,IAAI,CAAC,YAAY,KAAK,YAAY,CAAC,IAAI,EAAE;QAChD,uBAAuB,CAAC,uBAAuB,CAC3C,UAAU,EACV,MAAM,CAAC,SAAS,CAAC,WAAW,CAC/B,CAAC;AACL,KAAA;IAED,IAAI,OAAO,CAAC,cAAc,EAAE;;AAExB,QAAA,uBAAuB,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;;AAGpD,QAAA,IAAI,OAAO,CAAC,oBAAoB,KAAK,oBAAoB,CAAC,GAAG,EAAE;YAC3D,MAAM,SAAS,GAAG,IAAI,SAAS,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC3D,YAAA,MAAM,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,SAAS,CAAC,CAAC;;AAG3D,YAAA,IAAI,UAAU,CAAC;AACf,YAAA,IAAI,CAAC,OAAO,CAAC,MAAM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AAC,IAAI,CAAC,QAAQ,EACpB,cAAc,EACd,IAAI,SAAS,CAAC,MAAM,EAAE,iBAAiB,CAAC,EACxC,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,iBAAiB,CACpB,CAAC;;AAGF,IAAA,eAAe,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAAC;;AAGrD,IAAA,MAAM,cAAc,GAA6B;AAC7C,QAAA,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,WAAW,EAAE,aAAa,CAAC,WAAW;QACtC,qBAAqB,EAAE,aAAa,CAAC,qBAAqB;QAC1D,wBAAwB,EAAE,aAAa,CAAC,wBAAwB;QAChE,mBAAmB,EAAE,aAAa,CAAC,mBAAmB;QACtD,YAAY,EAAE,aAAa,CAAC,YAAY;KAC3C,CAAC;IAEF,QAAQ,MAAM,WAAW,CACrB,eAAe,CAAC,yBAAyB,CAAC,IAAI,CAAC,eAAe,CAAC,EAC/D,iBAAiB,CAAC,yBAAyB,EAC3C,MAAM,EACN,iBAAiB,EACjB,OAAO,CAAC,aAAa,CACxB,CACG,aAAa,EACb,SAAS,EACT,SAAS,CAAC,UAAU,EAAE,EACtB,OAAO,EACP,cAAc,EACd,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACZ,EAA0B;AAC/B;;;;"}
@@ -1,6 +1,8 @@
1
- import { AccountInfo, BaseAuthRequest, CommonSilentFlowRequest, IPerformanceClient, Logger } from "@azure/msal-common/browser";
1
+ import { AccountInfo, BaseAuthRequest, CommonSilentFlowRequest, HttpMethod, IPerformanceClient, Logger, ProtocolMode } from "@azure/msal-common/browser";
2
2
  import { BrowserConfiguration } from "../config/Configuration.js";
3
3
  import { SilentRequest } from "./SilentRequest.js";
4
+ import { PopupRequest } from "./PopupRequest.js";
5
+ import { RedirectRequest } from "./RedirectRequest.js";
4
6
  /**
5
7
  * Initializer function for all request APIs
6
8
  * @param request
@@ -11,4 +13,12 @@ export declare function initializeBaseRequest(request: Partial<BaseAuthRequest>
11
13
  export declare function initializeSilentRequest(request: SilentRequest & {
12
14
  correlationId: string;
13
15
  }, account: AccountInfo, config: BrowserConfiguration, performanceClient: IPerformanceClient, logger: Logger): Promise<CommonSilentFlowRequest>;
16
+ /**
17
+ * Validates that the combination of request method, protocol mode and authorize body parameters is correct.
18
+ * Returns the validated or defaulted HTTP method or throws if the configured combination is invalid.
19
+ * @param interactionRequest
20
+ * @param protocolMode
21
+ * @returns
22
+ */
23
+ export declare function validateRequestMethod(interactionRequest: BaseAuthRequest | PopupRequest | RedirectRequest, protocolMode: ProtocolMode): HttpMethod;
14
24
  //# sourceMappingURL=RequestHelpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestHelpers.d.ts","sourceRoot":"","sources":["../../src/request/RequestHelpers.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EAEX,eAAe,EAEf,uBAAuB,EACvB,kBAAkB,EAClB,MAAM,EAKT,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD;;;GAGG;AACH,wBAAsB,qBAAqB,CACvC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAC7D,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,eAAe,CAAC,CAqD1B;AAED,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,aAAa,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAClD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,uBAAuB,CAAC,CAmBlC"}
1
+ {"version":3,"file":"RequestHelpers.d.ts","sourceRoot":"","sources":["../../src/request/RequestHelpers.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EAEX,eAAe,EAEf,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAClB,MAAM,EAEN,YAAY,EAIf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,wBAAsB,qBAAqB,CACvC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAC7D,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,eAAe,CAAC,CAqD1B;AAED,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,aAAa,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAClD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,uBAAuB,CAAC,CAmBlC;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,kBAAkB,EAAE,eAAe,GAAG,YAAY,GAAG,eAAe,EACpE,YAAY,EAAE,YAAY,GAC3B,UAAU,CA6BZ"}
@@ -1,6 +1,6 @@
1
- /*! @azure/msal-browser v4.15.0 2025-07-08 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
- import { PerformanceEvents, invokeAsync, AuthenticationScheme, createClientConfigurationError, ClientConfigurationErrorCodes, StringUtils } from '@azure/msal-common/browser';
3
+ import { PerformanceEvents, invokeAsync, ProtocolMode, HttpMethod, createClientConfigurationError, ClientConfigurationErrorCodes, AuthenticationScheme, StringUtils } from '@azure/msal-common/browser';
4
4
  import { hashString } from '../crypto/BrowserCrypto.mjs';
5
5
 
6
6
  /*
@@ -55,7 +55,36 @@ async function initializeSilentRequest(request, account, config, performanceClie
55
55
  account: account,
56
56
  forceRefresh: request.forceRefresh || false,
57
57
  };
58
+ }
59
+ /**
60
+ * Validates that the combination of request method, protocol mode and authorize body parameters is correct.
61
+ * Returns the validated or defaulted HTTP method or throws if the configured combination is invalid.
62
+ * @param interactionRequest
63
+ * @param protocolMode
64
+ * @returns
65
+ */
66
+ function validateRequestMethod(interactionRequest, protocolMode) {
67
+ let httpMethod;
68
+ const requestMethod = interactionRequest.httpMethod;
69
+ if (protocolMode === ProtocolMode.EAR) {
70
+ // Don't override httpMethod if it is already set, default to POST if not set
71
+ httpMethod = requestMethod || HttpMethod.POST;
72
+ // Validate that method is not GET if protocol mode is EAR
73
+ if (httpMethod !== HttpMethod.POST) {
74
+ throw createClientConfigurationError(ClientConfigurationErrorCodes.invalidRequestMethodForEAR);
75
+ }
76
+ }
77
+ else {
78
+ // For non-EAR protocol modes, default to GET if httpMethod is not set
79
+ httpMethod = requestMethod || HttpMethod.GET;
80
+ }
81
+ // Regardless of protocolMode, if there are authorizePostBodyParameters, validate the request method is POST
82
+ if (interactionRequest.authorizePostBodyParameters &&
83
+ httpMethod !== HttpMethod.POST) {
84
+ throw createClientConfigurationError(ClientConfigurationErrorCodes.invalidAuthorizePostBodyParameters);
85
+ }
86
+ return httpMethod;
58
87
  }
59
88
 
60
- export { initializeBaseRequest, initializeSilentRequest };
89
+ export { initializeBaseRequest, initializeSilentRequest, validateRequestMethod };
61
90
  //# sourceMappingURL=RequestHelpers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestHelpers.mjs","sources":["../../src/request/RequestHelpers.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAAA;;;AAGG;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strict';
3
3
  import { UrlUtils } from '@azure/msal-common/browser';
4
4
  import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.15.0 2025-07-08 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
3
  import { PerformanceClient, Constants, Logger } from '@azure/msal-common/browser';
4
4
  import { name, version } from '../packageMetadata.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.15.0 2025-07-08 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.15.0 2025-07-08 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
3
  import { OIDC_DEFAULT_SCOPES } from '@azure/msal-common/browser';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.15.0 2025-07-08 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
3
  import { ProtocolUtils, createClientAuthError, ClientAuthErrorCodes } from '@azure/msal-common/browser';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.15.0 2025-07-08 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
3
  import { UrlString } from '@azure/msal-common/browser';
4
4
  export { invoke, invokeAsync } from '@azure/msal-common/browser';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.15.0 2025-07-08 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.