@azure/msal-browser 5.25.1 → 5.26.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 (478) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthRequest.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/CacheKeys.mjs +1 -1
  13. package/dist/cache/CookieStorage.mjs +1 -1
  14. package/dist/cache/DatabaseStorage.mjs +1 -1
  15. package/dist/cache/EncryptedData.mjs +1 -1
  16. package/dist/cache/LocalStorage.mjs +1 -1
  17. package/dist/cache/MemoryStorage.mjs +1 -1
  18. package/dist/cache/SessionStorage.mjs +1 -1
  19. package/dist/cache/TokenCache.mjs +1 -1
  20. package/dist/config/Configuration.mjs +1 -1
  21. package/dist/controllers/NestedAppAuthController.mjs +7 -2
  22. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  23. package/dist/controllers/StandardController.mjs +1 -1
  24. package/dist/crypto/BrowserCrypto.mjs +1 -1
  25. package/dist/crypto/CryptoOps.mjs +1 -1
  26. package/dist/crypto/PkceGenerator.mjs +1 -1
  27. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  28. package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
  29. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  30. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  31. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +49 -19
  32. package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  33. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  34. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  35. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  36. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  50. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +1 -1
  51. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +8 -7
  52. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -1
  53. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +4 -3
  54. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -1
  55. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +174 -0
  56. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs.map +1 -0
  57. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +67 -17
  58. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -1
  59. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +3 -4
  60. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs.map +1 -1
  61. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +7 -15
  62. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -1
  63. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +1 -1
  64. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -1
  65. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +1 -5
  66. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
  67. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +3 -2
  68. package/dist/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  69. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  70. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  71. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  72. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  73. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  74. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  75. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  76. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  77. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  78. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  79. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  80. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  81. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  82. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  83. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  84. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  85. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  86. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  87. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  88. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  89. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  90. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +61 -52
  91. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -1
  92. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +6 -3
  93. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -1
  94. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +1 -1
  95. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  96. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  97. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  98. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  99. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  100. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  101. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  102. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  103. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  104. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -2
  105. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -1
  106. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +12 -10
  107. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs.map +1 -1
  108. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +1 -1
  109. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +3 -3
  110. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs.map +1 -1
  111. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
  112. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +3 -7
  113. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -1
  114. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +2 -1
  115. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs.map +1 -1
  116. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
  117. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -1
  118. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  119. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  120. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +1 -1
  121. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  122. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +8 -2
  123. package/dist/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
  124. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  125. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  126. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  127. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  128. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  129. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  130. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  131. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  132. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  133. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  134. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  135. package/dist/custom_auth/index.mjs +2 -11
  136. package/dist/custom_auth/index.mjs.map +1 -1
  137. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  138. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  139. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  140. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  141. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  142. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  143. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  144. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  145. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  146. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  147. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  148. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +1 -3
  149. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -1
  150. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  151. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  152. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  153. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  154. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  155. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  156. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  157. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  158. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  159. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  160. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  161. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  162. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  163. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +5 -5
  164. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -1
  165. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +5 -16
  166. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -1
  167. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +35 -0
  168. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs.map +1 -0
  169. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  170. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  171. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  172. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  173. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  174. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  175. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  176. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  177. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  178. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  179. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  180. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  181. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  182. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  183. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +1 -3
  184. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -1
  185. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +1 -1
  186. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +1 -3
  187. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +1 -1
  188. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +1 -1
  189. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  190. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  191. package/dist/encode/Base64Decode.mjs +1 -1
  192. package/dist/encode/Base64Encode.mjs +1 -1
  193. package/dist/error/BrowserAuthError.mjs +1 -1
  194. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  195. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  196. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  197. package/dist/error/NativeAuthError.mjs +1 -1
  198. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  199. package/dist/error/NestedAppAuthError.mjs +1 -1
  200. package/dist/event/EventHandler.mjs +1 -1
  201. package/dist/event/EventMessage.mjs +1 -1
  202. package/dist/event/EventType.mjs +1 -1
  203. package/dist/index.mjs +1 -1
  204. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  205. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  206. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  207. package/dist/interaction_client/PopupClient.mjs +4 -3
  208. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  209. package/dist/interaction_client/RedirectClient.mjs +4 -3
  210. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  211. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  212. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  213. package/dist/interaction_client/SilentIframeClient.mjs +4 -3
  214. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  215. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  216. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  217. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  218. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  219. package/dist/log-strings-mapping.json +6 -6
  220. package/dist/naa/BridgeError.mjs +1 -1
  221. package/dist/naa/BridgeProxy.mjs +1 -1
  222. package/dist/naa/BridgeStatusCode.mjs +1 -1
  223. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  224. package/dist/navigation/NavigationClient.mjs +1 -1
  225. package/dist/network/FetchClient.mjs +1 -1
  226. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  227. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  228. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  229. package/dist/packageMetadata.mjs +2 -2
  230. package/dist/popup_relay/constants.mjs +1 -1
  231. package/dist/popup_relay/index.mjs +1 -1
  232. package/dist/popup_relay/relayClient.mjs +1 -1
  233. package/dist/protocol/Authorize.mjs +1 -1
  234. package/dist/redirect_bridge/index.mjs +1 -1
  235. package/dist/request/RequestHelpers.mjs +1 -1
  236. package/dist/request/SilentRequestHelpers.mjs +9 -3
  237. package/dist/request/SilentRequestHelpers.mjs.map +1 -1
  238. package/dist/response/ResponseHandler.mjs +1 -1
  239. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  240. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  241. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  242. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  243. package/dist/utils/BrowserConstants.mjs +1 -1
  244. package/dist/utils/BrowserDetection.mjs +53 -0
  245. package/dist/utils/BrowserDetection.mjs.map +1 -0
  246. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  247. package/dist/utils/BrowserUtils.mjs +1 -1
  248. package/dist/utils/Helpers.mjs +1 -1
  249. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  250. package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
  251. package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
  252. package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
  253. package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
  254. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
  255. package/dist/webBrokerBridge/index.mjs +1 -1
  256. package/lib/custom-auth-path/log-strings-mapping.json +6 -6
  257. package/lib/custom-auth-path/msal-custom-auth.cjs +601 -657
  258. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  259. package/lib/custom-auth-path/msal-custom-auth.js +602 -658
  260. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  261. package/lib/log-strings-mapping.json +7 -3
  262. package/lib/msal-browser.cjs +136 -78
  263. package/lib/msal-browser.cjs.map +1 -1
  264. package/lib/msal-browser.js +136 -78
  265. package/lib/msal-browser.js.map +1 -1
  266. package/lib/msal-browser.min.js +2 -2
  267. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  268. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  269. package/lib/popup-relay/msal-popup-relay.js +2 -2
  270. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  271. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  272. package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
  273. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  274. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  275. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  276. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  277. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
  278. package/package.json +2 -2
  279. package/src/controllers/NestedAppAuthController.ts +6 -1
  280. package/src/custom_auth/CustomAuthActionInputs.ts +16 -6
  281. package/src/custom_auth/controller/CustomAuthStandardController.ts +78 -17
  282. package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +18 -30
  283. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +1 -0
  284. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts +239 -0
  285. package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +2 -5
  286. package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +0 -2
  287. package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +13 -10
  288. package/src/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.ts +19 -0
  289. package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +3 -6
  290. package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +4 -6
  291. package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +114 -17
  292. package/src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts +6 -3
  293. package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +17 -19
  294. package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +5 -5
  295. package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +0 -4
  296. package/src/custom_auth/core/error/CustomAuthApiError.ts +2 -1
  297. package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +3 -4
  298. package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +75 -68
  299. package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +6 -3
  300. package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +2 -4
  301. package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +0 -1
  302. package/src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts +17 -15
  303. package/src/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.ts +1 -1
  304. package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +3 -11
  305. package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +2 -3
  306. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.ts +1 -0
  307. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +2 -0
  308. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +1 -1
  309. package/src/custom_auth/core/utils/ArgumentValidator.ts +13 -0
  310. package/src/custom_auth/index.ts +4 -14
  311. package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +6 -10
  312. package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +0 -2
  313. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +3 -6
  314. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +2 -4
  315. package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +2 -4
  316. package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +5 -4
  317. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +4 -23
  318. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts +56 -0
  319. package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +1 -5
  320. package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +2 -5
  321. package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +0 -2
  322. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +0 -2
  323. package/src/interaction_client/PopupClient.ts +9 -1
  324. package/src/interaction_client/RedirectClient.ts +9 -4
  325. package/src/interaction_client/SilentIframeClient.ts +9 -2
  326. package/src/packageMetadata.ts +1 -1
  327. package/src/request/SilentRequestHelpers.ts +11 -2
  328. package/src/utils/BrowserDetection.ts +85 -0
  329. package/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  330. package/types/custom_auth/CustomAuthActionInputs.d.ts +16 -5
  331. package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  332. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  333. package/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  334. package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  335. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +9 -11
  336. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -1
  337. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +1 -0
  338. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -1
  339. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts +90 -0
  340. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts.map +1 -0
  341. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +1 -2
  342. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +1 -1
  343. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +1 -2
  344. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -1
  345. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +8 -7
  346. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -1
  347. package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts +13 -0
  348. package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts.map +1 -0
  349. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +2 -3
  350. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -1
  351. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +5 -6
  352. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -1
  353. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +9 -6
  354. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -1
  355. package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts.map +1 -1
  356. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +2 -2
  357. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
  358. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +5 -3
  359. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -1
  360. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
  361. package/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  362. package/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  363. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +1 -3
  364. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -1
  365. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +2 -2
  366. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
  367. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +2 -2
  368. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -1
  369. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +2 -4
  370. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -1
  371. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts +0 -1
  372. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -1
  373. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts +2 -2
  374. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts.map +1 -1
  375. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts +1 -1
  376. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts.map +1 -1
  377. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -1
  378. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +1 -2
  379. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -1
  380. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts +2 -0
  381. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -1
  382. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +1 -1
  383. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -1
  384. package/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  385. package/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  386. package/types/custom_auth/index.d.ts +3 -12
  387. package/types/custom_auth/index.d.ts.map +1 -1
  388. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +5 -7
  389. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -1
  390. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
  391. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +4 -6
  392. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -1
  393. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +3 -4
  394. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -1
  395. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +3 -4
  396. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -1
  397. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -1
  398. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +4 -9
  399. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -1
  400. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts +9 -0
  401. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts.map +1 -0
  402. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +1 -2
  403. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -1
  404. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +1 -2
  405. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -1
  406. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -1
  407. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +1 -1
  408. package/types/interaction_client/PopupClient.d.ts.map +1 -1
  409. package/types/interaction_client/RedirectClient.d.ts.map +1 -1
  410. package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  411. package/types/packageMetadata.d.ts +1 -1
  412. package/types/request/SilentRequestHelpers.d.ts +1 -1
  413. package/types/request/SilentRequestHelpers.d.ts.map +1 -1
  414. package/types/utils/BrowserDetection.d.ts +17 -0
  415. package/types/utils/BrowserDetection.d.ts.map +1 -0
  416. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs +0 -102
  417. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs.map +0 -1
  418. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs +0 -20
  419. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs.map +0 -1
  420. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs +0 -36
  421. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs.map +0 -1
  422. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs +0 -29
  423. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs.map +0 -1
  424. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs +0 -36
  425. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs.map +0 -1
  426. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs +0 -61
  427. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs.map +0 -1
  428. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs +0 -29
  429. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs.map +0 -1
  430. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs +0 -18
  431. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs.map +0 -1
  432. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs +0 -37
  433. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs.map +0 -1
  434. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs +0 -23
  435. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs.map +0 -1
  436. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs +0 -25
  437. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs.map +0 -1
  438. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs +0 -33
  439. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs.map +0 -1
  440. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.ts +0 -146
  441. package/src/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.ts +0 -15
  442. package/src/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.ts +0 -33
  443. package/src/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.ts +0 -25
  444. package/src/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.ts +0 -18
  445. package/src/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.ts +0 -59
  446. package/src/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.ts +0 -76
  447. package/src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts +0 -25
  448. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts +0 -13
  449. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts +0 -35
  450. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts +0 -19
  451. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts +0 -21
  452. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts +0 -32
  453. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts +0 -40
  454. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts.map +0 -1
  455. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts +0 -11
  456. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts.map +0 -1
  457. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts +0 -23
  458. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts.map +0 -1
  459. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts +0 -18
  460. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts.map +0 -1
  461. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts +0 -7
  462. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts.map +0 -1
  463. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts +0 -17
  464. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts.map +0 -1
  465. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts +0 -18
  466. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts.map +0 -1
  467. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts +0 -18
  468. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts.map +0 -1
  469. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts +0 -9
  470. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts.map +0 -1
  471. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts +0 -22
  472. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts.map +0 -1
  473. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts +0 -12
  474. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts.map +0 -1
  475. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts +0 -14
  476. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts.map +0 -1
  477. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts +0 -20
  478. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SilentIframeClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentIframeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAEN,uBAAuB,EAEvB,kBAAkB,EAKlB,6BAA6B,EAG7B,uBAAuB,EAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAKvE,OAAO,EAEH,KAAK,EAER,MAAM,8BAA8B,CAAC;AAQtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAO3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAMtF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAClC,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,oBAAoB,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC;AAErB,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC7D,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAE1B;gBAGZ,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,EAAE,MAAM,EACrB,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,yBAAyB,CAAC,EAAE,uBAAuB,EACnD,sBAAsB,CAAC,EAAE,uBAAuB;IAmBpD;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,gBAAgB,GAC1B,OAAO,CAAC,oBAAoB,CAAC;IA+DhC;;;;OAIG;IACG,eAAe,CACjB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAkEhC;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IA0KhC;;;;;OAKG;IACG,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IA4E5D;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAUvB;;;;;OAKG;cACa,iBAAiB,CAC7B,UAAU,EAAE,uBAAuB,EACnC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IA0BhC;;;;;OAKG;YACW,qBAAqB;cAoHnB,qBAAqB,CACjC,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,oBAAoB,GAC9B,OAAO,CAAC,MAAM,CAAC;CAYrB"}
1
+ {"version":3,"file":"SilentIframeClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentIframeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAEN,uBAAuB,EAEvB,kBAAkB,EAIlB,6BAA6B,EAG7B,uBAAuB,EAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAKvE,OAAO,EAEH,KAAK,EAER,MAAM,8BAA8B,CAAC;AAQtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAQ3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAMtF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAClC,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,oBAAoB,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC;AAErB,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC7D,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAE1B;gBAGZ,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,EAAE,MAAM,EACrB,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,yBAAyB,CAAC,EAAE,uBAAuB,EACnD,sBAAsB,CAAC,EAAE,uBAAuB;IAmBpD;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,gBAAgB,GAC1B,OAAO,CAAC,oBAAoB,CAAC;IAsEhC;;;;OAIG;IACG,eAAe,CACjB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAkEhC;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IA0KhC;;;;;OAKG;IACG,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IA4E5D;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAUvB;;;;;OAKG;cACa,iBAAiB,CAC7B,UAAU,EAAE,uBAAuB,EACnC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IA0BhC;;;;;OAKG;YACW,qBAAqB;cAoHnB,qBAAqB,CACjC,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,oBAAoB,GAC9B,OAAO,CAAC,MAAM,CAAC;CAYrB"}
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@azure/msal-browser";
2
- export declare const version = "5.25.1";
2
+ export declare const version = "5.26.0";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
@@ -24,7 +24,7 @@ export type PreparedSilentRequest = {
24
24
  */
25
25
  export declare function resolveSilentRequestPreparation(input: SilentRequestPreparationInput, platformAuthProvider: IPlatformAuthHandler | undefined, logger: Logger, performanceClient: IPerformanceClient): PreparedSilentRequest;
26
26
  /**
27
- * Preserves the standard web thumbprint and caller-owned request references.
27
+ * Extends the web thumbprint with silent-flow options while preserving caller-owned references.
28
28
  */
29
29
  export declare function prepareWebSilentRequest({ request, account, correlationId, config, }: SilentRequestPreparationInput): PreparedSilentRequest;
30
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"SilentRequestHelpers.d.ts","sourceRoot":"","sources":["../../src/request/SilentRequestHelpers.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACR,WAAW,EACX,kBAAkB,EAClB,MAAM,EAET,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IACxC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;CACxB,CAAC;AASF;;GAEG;AACH,wBAAgB,+BAA+B,CAC3C,KAAK,EAAE,6BAA6B,EACpC,oBAAoB,EAAE,oBAAoB,GAAG,SAAS,EACtD,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,qBAAqB,CAgBvB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,EACpC,OAAO,EACP,OAAO,EACP,aAAa,EACb,MAAM,GACT,EAAE,6BAA6B,GAAG,qBAAqB,CAgBvD;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,EACzC,OAAO,EACP,OAAO,EACP,MAAM,GACT,EAAE,6BAA6B,GAAG,qBAAqB,CAWvD"}
1
+ {"version":3,"file":"SilentRequestHelpers.d.ts","sourceRoot":"","sources":["../../src/request/SilentRequestHelpers.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACR,WAAW,EACX,kBAAkB,EAClB,MAAM,EAET,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAG3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IACxC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;CACxB,CAAC;AASF;;GAEG;AACH,wBAAgB,+BAA+B,CAC3C,KAAK,EAAE,6BAA6B,EACpC,oBAAoB,EAAE,oBAAoB,GAAG,SAAS,EACtD,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,qBAAqB,CAgBvB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,EACpC,OAAO,EACP,OAAO,EACP,aAAa,EACb,MAAM,GACT,EAAE,6BAA6B,GAAG,qBAAqB,CAyBvD;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,EACzC,OAAO,EACP,OAAO,EACP,MAAM,GACT,EAAE,6BAA6B,GAAG,qBAAqB,CAWvD"}
@@ -0,0 +1,17 @@
1
+ import { IPerformanceClient, Logger, ProtocolMode } from "@azure/msal-common/browser";
2
+ /**
3
+ * Returns true when the supplied user agent is using Safari
4
+ *
5
+ * @internal
6
+ */
7
+ export declare function isSafari(userAgent?: string): boolean;
8
+ /**
9
+ * Returns true when EAR should be used for the current request.
10
+ *
11
+ * Safari cannot complete EAR's cross-origin form POST, so requests configured
12
+ * for EAR transparently use authorization code flow instead.
13
+ *
14
+ * @internal
15
+ */
16
+ export declare function shouldUseEar(protocolMode: ProtocolMode, logger: Logger, performanceClient: IPerformanceClient, correlationId: string, userAgent?: string): boolean;
17
+ //# sourceMappingURL=BrowserDetection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrowserDetection.d.ts","sourceRoot":"","sources":["../../src/utils/BrowserDetection.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,kBAAkB,EAClB,MAAM,EACN,YAAY,EACf,MAAM,4BAA4B,CAAC;AAEpC;;;;GAIG;AACH,wBAAgB,QAAQ,CACpB,SAAS,GAAE,MAEH,GACT,OAAO,CA8BT;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CACxB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,EACrB,SAAS,CAAC,EAAE,MAAM,GACnB,OAAO,CAkBT"}
@@ -1,102 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { InvalidArgumentError } from '../../../error/InvalidArgumentError.mjs';
4
- import { REDIRECT_TO_WEB } from '../../../network_client/custom_auth_api/v2/ErrorCodesV2.mjs';
5
- import { INVALID_ONE_TIME_CODE, PASSWORD_TOO_WEAK, INVALID_USERNAME_OR_PASSWORD } from './AuthFlowErrorSubcodesV2.mjs';
6
- import { CustomAuthFlowScenarioV2 } from '../CustomAuthFlowScenarioV2.mjs';
7
-
8
- /*
9
- * Copyright (c) Microsoft Corporation. All rights reserved.
10
- * Licensed under the MIT License.
11
- */
12
- /*
13
- * Standalone V2 error base; intentionally does NOT extend the V1 AuthFlowErrorBase.
14
- * Provides the detectors common to every V2 flow; each per-action subclass adds only
15
- * the detectors relevant to its own action.
16
- */
17
- class AuthFlowErrorBaseV2 {
18
- constructor(errorData, scenario = CustomAuthFlowScenarioV2.Unknown) {
19
- this.errorData = errorData;
20
- this.scenario = scenario;
21
- }
22
- get correlationId() {
23
- return this.errorData.correlationId;
24
- }
25
- get errorCodes() {
26
- return this.errorData.errorCodes;
27
- }
28
- get errorDescription() {
29
- return this.errorData.errorDescription;
30
- }
31
- /**
32
- * Checks if the error requires the flow to continue in the browser. The
33
- * server surfaces this as a `redirect_to_web` failure, so a browser hand-off
34
- * always arrives as a `FailedStateV2` on which this detector returns true.
35
- * @returns True if the browser is required, false otherwise.
36
- */
37
- isBrowserRequired() {
38
- return this.errorData.error === REDIRECT_TO_WEB;
39
- }
40
- /**
41
- * Checks if the error is due to a caller-supplied argument failing
42
- * client-side validation before the request was issued (for example an empty
43
- * username, code, or password, or an unknown method id). Use it to prompt the
44
- * user to correct the input rather than treating it as a server failure.
45
- * @returns True if the input was invalid, false otherwise.
46
- */
47
- isInvalidInput() {
48
- return this.errorData instanceof InvalidArgumentError;
49
- }
50
- /**
51
- * Checks whether an account already exists for the supplied identifier.
52
- * This can occur at different stages while completing sign-up.
53
- * @returns True if the account already exists, otherwise false.
54
- */
55
- isUserAlreadyExists() {
56
- return this.getAttributeValidationDetails().some((detail) => detail.code === "userAlreadyExists");
57
- }
58
- /*
59
- * User-not-found arrives as AADSTS50034. The nested `/api` error carries no
60
- * innerError and no error_codes array, so the AADSTS marker in the message is
61
- * the only signal.
62
- */
63
- // TODO: Use the service-provided suberror when it becomes available.
64
- isUserNotFoundError() {
65
- return (this.errorData.error === "invalidRequest" &&
66
- this.errorData.errorDescription?.includes("AADSTS50034") === true);
67
- }
68
- isUserInvalidError() {
69
- return (this.errorData.error === "invalidRequest" &&
70
- this.errorData.errorDescription?.includes("AADSTS90100") === true &&
71
- this.errorData.errorDescription
72
- .toLowerCase()
73
- .includes("username parameter"));
74
- }
75
- // The verification endpoint uses this outer/inner code pair for an invalid one-time code.
76
- isInvalidCodeError() {
77
- return (this.errorData.error === "invalidGrant" &&
78
- this.errorData.subError === INVALID_ONE_TIME_CODE);
79
- }
80
- // New password rejected by policy: inner `passwordTooWeak` (AADSTS120002).
81
- isInvalidPasswordError() {
82
- return (this.errorData.error === "invalidRequest" &&
83
- this.errorData.subError === PASSWORD_TOO_WEAK);
84
- }
85
- isPasswordPolicyViolationError() {
86
- return this.getAttributeValidationDetails().some((detail) => detail.code === "passwordPolicyViolation" &&
87
- detail.attributeIds?.some((attributeId) => attributeId.toLowerCase() === "password") === true);
88
- }
89
- isPasswordIncorrectError() {
90
- return (this.errorData.error === "invalidGrant" &&
91
- this.errorData.subError === INVALID_USERNAME_OR_PASSWORD);
92
- }
93
- getAttributeValidationDetails() {
94
- const details = this.errorData.attributeValidationDetails;
95
- return Array.isArray(details)
96
- ? details.filter((detail) => typeof detail === "object" && detail !== null)
97
- : [];
98
- }
99
- }
100
-
101
- export { AuthFlowErrorBaseV2 };
102
- //# sourceMappingURL=AuthFlowErrorBaseV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthFlowErrorBaseV2.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAaH;;;;AAIG;MACmB,mBAAmB,CAAA;AAGrC,IAAA,WAAA,CACW,SAA0B,EACjC,QAAA,GAAqC,wBAAwB,CAAC,OAAO,EAAA;QAD9D,IAAA,CAAA,SAAS,GAAT,SAAS,CAAiB;AAGjC,QAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;AAED,IAAA,IAAI,aAAa,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;IACxC,CAAC;AAED,IAAA,IAAI,UAAU,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;IACrC,CAAC;AAED,IAAA,IAAI,gBAAgB,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC;IAC3C,CAAC;AAED;;;;;AAKG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,eAAe,CAAC;IACpD,CAAC;AAED;;;;;;AAMG;IACH,cAAc,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,SAAS,YAAY,oBAAoB,CAAC;IAC1D,CAAC;AAED;;;;AAIG;IACH,mBAAmB,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,6BAA6B,EAAE,CAAC,IAAI,CAC5C,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,KAAK,mBAAmB,CAClD,CAAC;IACN,CAAC;AAED;;;;AAIG;;IAEO,mBAAmB,GAAA;AACzB,QAAA,QACI,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,gBAAgB;AACzC,YAAA,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,IAAI,EACnE;IACN,CAAC;IAES,kBAAkB,GAAA;AACxB,QAAA,QACI,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,gBAAgB;YACzC,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,IAAI;YACjE,IAAI,CAAC,SAAS,CAAC,gBAAgB;AAC1B,iBAAA,WAAW,EAAE;AACb,iBAAA,QAAQ,CAAC,oBAAoB,CAAC,EACrC;IACN,CAAC;;IAGS,kBAAkB,GAAA;AACxB,QAAA,QACI,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,cAAc;AACvC,YAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,KAAK,qBAAqB,EACnD;IACN,CAAC;;IAGS,sBAAsB,GAAA;AAC5B,QAAA,QACI,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,gBAAgB;AACzC,YAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,KAAK,iBAAiB,EAC/C;IACN,CAAC;IAES,8BAA8B,GAAA;AACpC,QAAA,OAAO,IAAI,CAAC,6BAA6B,EAAE,CAAC,IAAI,CAC5C,CAAC,MAAM,KACH,MAAM,CAAC,IAAI,KAAK,yBAAyB;YACzC,MAAM,CAAC,YAAY,EAAE,IAAI,CACrB,CAAC,WAAW,KAAK,WAAW,CAAC,WAAW,EAAE,KAAK,UAAU,CAC5D,KAAK,IAAI,CACjB,CAAC;IACN,CAAC;IAES,wBAAwB,GAAA;AAC9B,QAAA,QACI,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,cAAc;AACvC,YAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,KAAK,4BAA4B,EAC1D;IACN,CAAC;IAES,6BAA6B,GAAA;AACnC,QAAA,MAAM,OAAO,GACT,IAAI,CAAC,SAGR,CAAC,0BAA0B,CAAC;AAE7B,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;AACzB,cAAE,OAAO,CAAC,MAAM,CACV,CAAC,MAAM,KACH,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,CACpD;cACD,EAAE,CAAC;IACb,CAAC;AACJ;;;;"}
@@ -1,20 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from './AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error raised when requesting (or resending) a challenge for a selected
11
- * authentication method. It is a shared action error bound to the shared
12
- * `RequestChallengeResultV2` and returned regardless of which entry flow reached
13
- * it. It currently exposes no action-specific detectors — only the inherited
14
- * `isBrowserRequired()`.
15
- */
16
- class RequestChallengeErrorV2 extends AuthFlowErrorBaseV2 {
17
- }
18
-
19
- export { RequestChallengeErrorV2 };
20
- //# sourceMappingURL=RequestChallengeErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RequestChallengeErrorV2.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;;;;;AAMG;AACG,MAAO,uBAAwB,SAAQ,mBAAmB,CAAA;AAAG;;;;"}
@@ -1,36 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from './AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error raised by the first call of the native auth V2 reset-password flow
11
- * (`resetPasswordV2`). It surfaces only the detectors relevant to starting a
12
- * password reset, so an app inspecting `result.error` sees a small, focused set.
13
- * Any unrecognised failure carries no specific detector; inspect the error code
14
- * (`unexpected_error` when the server gives none) and `errorDescription`.
15
- */
16
- class ResetPasswordStartErrorV2 extends AuthFlowErrorBaseV2 {
17
- /**
18
- * Checks if the supplied username is empty or invalid.
19
- * @returns True if the username is invalid, false otherwise.
20
- */
21
- isInvalidUsername() {
22
- return this.isUserInvalidError();
23
- }
24
- /**
25
- * Checks if the error is due to the user not being found. Use it to tell the
26
- * user no account matches the supplied username, rather than exposing a
27
- * generic failure that hides the real cause.
28
- * @returns True if the user was not found, false otherwise.
29
- */
30
- isUserNotFound() {
31
- return this.isUserNotFoundError();
32
- }
33
- }
34
-
35
- export { ResetPasswordStartErrorV2 };
36
- //# sourceMappingURL=ResetPasswordStartErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResetPasswordStartErrorV2.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;;;;;AAMG;AACG,MAAO,yBAA0B,SAAQ,mBAAmB,CAAA;AAC9D;;;AAGG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC;IACrC,CAAC;AAED;;;;;AAKG;IACH,cAAc,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACtC,CAAC;AACJ;;;;"}
@@ -1,29 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from './AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error raised when verifying a challenge (submitting a one-time code). It
11
- * exposes the detectors relevant to code verification so the app can respond to
12
- * a rejected code specifically. Unrecognised failures carry no specific
13
- * detector; inspect the error code (`unexpected_error` when the server gives
14
- * none) and `errorDescription`.
15
- */
16
- class VerifyChallengeErrorV2 extends AuthFlowErrorBaseV2 {
17
- /**
18
- * Checks if the error is due to the provided code being invalid or expired.
19
- * Use it to prompt the user to re-enter the code or request a new one, rather
20
- * than restarting the whole flow.
21
- * @returns True if the code is invalid, false otherwise.
22
- */
23
- isInvalidCode() {
24
- return this.isInvalidCodeError();
25
- }
26
- }
27
-
28
- export { VerifyChallengeErrorV2 };
29
- //# sourceMappingURL=VerifyChallengeErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerifyChallengeErrorV2.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;;;;;AAMG;AACG,MAAO,sBAAuB,SAAQ,mBAAmB,CAAA;AAC3D;;;;;AAKG;IACH,aAAa,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC;IACrC,CAAC;AACJ;;;;"}
@@ -1,36 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowActionRequiredStateBase } from '../../AuthFlowState.mjs';
4
- import { InvalidArgumentError } from '../../../error/InvalidArgumentError.mjs';
5
-
6
- /*
7
- * Copyright (c) Microsoft Corporation. All rights reserved.
8
- * Licensed under the MIT License.
9
- */
10
- class AuthenticationMethodSelectionStateBaseV2 extends AuthFlowActionRequiredStateBase {
11
- constructor(stateParameters) {
12
- super(stateParameters);
13
- this.methods = stateParameters.methods;
14
- }
15
- async requestSelectedMethodChallenge(method) {
16
- const { correlationId, continuationState, flowClient } = this.stateParameters;
17
- const selectedMethod = this.methods.find((candidate) => candidate.id === method.id);
18
- if (!selectedMethod) {
19
- throw new InvalidArgumentError("method", correlationId);
20
- }
21
- const result = await flowClient.requestChallenge({
22
- correlationId,
23
- continuationState: {
24
- ...continuationState,
25
- links: {
26
- ...continuationState.links,
27
- challenge: selectedMethod.challengeHref,
28
- },
29
- },
30
- });
31
- return { result, selectedMethod };
32
- }
33
- }
34
-
35
- export { AuthenticationMethodSelectionStateBaseV2 };
36
- //# sourceMappingURL=AuthenticationMethodSelectionStateBaseV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthenticationMethodSelectionStateBaseV2.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAAA;;;AAGG;AAgBG,MAAgB,wCAEpB,SAAQ,+BAA4C,CAAA;AAGlD,IAAA,WAAA,CAAY,eAA4B,EAAA;QACpC,KAAK,CAAC,eAAe,CAAC,CAAC;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC;IAC3C,CAAC;IAES,MAAM,8BAA8B,CAC1C,MAA8B,EAAA;QAK9B,MAAM,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAClD,IAAI,CAAC,eAAe,CAAC;QACzB,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CACpC,CAAC,SAAS,KAAK,SAAS,CAAC,EAAE,KAAK,MAAM,CAAC,EAAE,CAC5C,CAAC;QAEF,IAAI,CAAC,cAAc,EAAE;AACjB,YAAA,MAAM,IAAI,oBAAoB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;AAC3D,QAAA,CAAA;AAED,QAAA,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,gBAAgB,CAAC;YAC7C,aAAa;AACb,YAAA,iBAAiB,EAAE;AACf,gBAAA,GAAG,iBAAiB;AACpB,gBAAA,KAAK,EAAE;oBACH,GAAG,iBAAiB,CAAC,KAAK;oBAC1B,SAAS,EAAE,cAAc,CAAC,aAAa;AAC1C,iBAAA;AACJ,aAAA;AACJ,SAAA,CAAC,CAAC;AAEH,QAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACtC,CAAC;AACJ;;;;"}
@@ -1,61 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { CustomAuthResultV2 } from '../CustomAuthResultV2.mjs';
4
- import { RequestChallengeErrorV2 } from '../error/RequestChallengeErrorV2.mjs';
5
- import { CustomAuthError } from '../../../error/CustomAuthError.mjs';
6
- import { UNSUPPORTED_FLOW_TRANSITION } from '../../../network_client/custom_auth_api/v2/ErrorCodesV2.mjs';
7
- import { FLOW_CODE_REQUIRED_V2 } from '../../../interaction_client/v2/result/FlowActionResultV2.mjs';
8
- import { MFAVerificationRequiredStateV2 } from './MFAVerificationRequiredStateV2.mjs';
9
- import { AuthenticationMethodSelectionStateBaseV2 } from './AuthenticationMethodSelectionStateBaseV2.mjs';
10
-
11
- /*
12
- * Copyright (c) Microsoft Corporation. All rights reserved.
13
- * Licensed under the MIT License.
14
- */
15
- /**
16
- * State returned when sign-in requires a registered multi-factor
17
- * authentication method.
18
- */
19
- class MFARequiredStateV2 extends AuthenticationMethodSelectionStateBaseV2 {
20
- constructor() {
21
- super(...arguments);
22
- this.stateType = "mfaRequired";
23
- }
24
- /**
25
- * Requests a challenge for a registered MFA method.
26
- * @param method - A method from {@link methods}.
27
- * @returns A result requiring challenge verification or describing failure.
28
- */
29
- async requestChallenge(method) {
30
- const { correlationId, logger, continuationState, flowClient } = this.stateParameters;
31
- try {
32
- const { result, selectedMethod } = await this.requestSelectedMethodChallenge(method);
33
- if (result.type !== FLOW_CODE_REQUIRED_V2) {
34
- throw new CustomAuthError(UNSUPPORTED_FLOW_TRANSITION, `MFA method selection expected a code challenge but received '${result.type}'.`, correlationId);
35
- }
36
- return new CustomAuthResultV2(new MFAVerificationRequiredStateV2({
37
- correlationId: result.correlationId,
38
- logger,
39
- config: this.stateParameters.config,
40
- flowClient,
41
- continuationState: result.continuationState,
42
- cacheClient: this.stateParameters.cacheClient,
43
- method: selectedMethod,
44
- sentTo: result.sentTo,
45
- channel: result.channel,
46
- codeLength: result.codeLength,
47
- }), undefined, result.continuationState.scenario);
48
- }
49
- catch (error) {
50
- logger.errorPii(`0ax1kt ${error}`, correlationId);
51
- return CustomAuthResultV2.createWithError(error, {
52
- errorType: RequestChallengeErrorV2,
53
- scenario: continuationState.scenario,
54
- correlationId,
55
- });
56
- }
57
- }
58
- }
59
-
60
- export { MFARequiredStateV2 };
61
- //# sourceMappingURL=MFARequiredStateV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MFARequiredStateV2.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;AAaH;;;AAGG;AACG,MAAO,kBAAmB,SAAQ,wCAAsE,CAAA;AAA9G,IAAA,WAAA,GAAA;;QACa,IAAA,CAAA,SAAS,GAAG,aAAa,CAAC;IAsDvC,CAAC;AApDG;;;;AAIG;IACH,MAAM,gBAAgB,CAClB,MAA8B,EAAA;AAE9B,QAAA,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAC1D,IAAI,CAAC,eAAe,CAAC;QAEzB,IAAI;AACA,YAAA,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,GAC5B,MAAM,IAAI,CAAC,8BAA8B,CAAC,MAAM,CAAC,CAAC;AAEtD,YAAA,IAAI,MAAM,CAAC,IAAI,KAAK,qBAAqB,EAAE;AACvC,gBAAA,MAAM,IAAI,eAAe,CACrB,2BAA2B,EAC3B,CAAA,6DAAA,EAAgE,MAAM,CAAC,IAAI,CAAA,EAAA,CAAI,EAC/E,aAAa,CAChB,CAAC;AACL,YAAA,CAAA;AAED,YAAA,OAAO,IAAI,kBAAkB,CACzB,IAAI,8BAA8B,CAAC;gBAC/B,aAAa,EAAE,MAAM,CAAC,aAAa;gBACnC,MAAM;AACN,gBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;gBACnC,UAAU;gBACV,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC3C,gBAAA,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW;AAC7C,gBAAA,MAAM,EAAE,cAAc;gBACtB,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,OAAO,EAAE,MAAM,CAAC,OAAO;gBACvB,UAAU,EAAE,MAAM,CAAC,UAAU;aAChC,CAAC,EACF,SAAS,EACT,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CACpC,CAAC;AACL,QAAA,CAAA;AAAC,QAAA,OAAO,KAAK,EAAE;YACZ,MAAM,CAAC,QAAQ,CACX,CAAA,OAAA,EAAA,KAAA,CAAA,CAAA,EAAA,aAAA,CAAA,CAAA;AAIJ,YAAA,OAAO,kBAAkB,CAAC,eAAe,CAAC,KAAK,EAAE;AAC7C,gBAAA,SAAS,EAAE,uBAAuB;gBAClC,QAAQ,EAAE,iBAAiB,CAAC,QAAQ;gBACpC,aAAa;AAChB,aAAA,CAAC,CAAC;AACN,QAAA,CAAA;IACL,CAAC;AACJ;;;;"}
@@ -1,29 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from '../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error raised when submitting a new password. It exposes the detectors relevant
11
- * to password submission so the app can react to a rejected password
12
- * specifically. Unrecognised failures carry no specific detector; inspect the
13
- * error code (`unexpected_error` when the server gives none) and
14
- * `errorDescription`.
15
- */
16
- class SubmitNewPasswordErrorV2 extends AuthFlowErrorBaseV2 {
17
- /**
18
- * Checks if the error is due to the new password being invalid, for example
19
- * because it fails the tenant's complexity policy. Use it to prompt the user
20
- * for a stronger password rather than restarting the reset flow.
21
- * @returns True if the new password is invalid, false otherwise.
22
- */
23
- isInvalidPassword() {
24
- return this.isInvalidPasswordError();
25
- }
26
- }
27
-
28
- export { SubmitNewPasswordErrorV2 };
29
- //# sourceMappingURL=SubmitNewPasswordErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubmitNewPasswordErrorV2.mjs","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;;;;;AAMG;AACG,MAAO,wBAAyB,SAAQ,mBAAmB,CAAA;AAC7D;;;;;AAKG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,sBAAsB,EAAE,CAAC;IACzC,CAAC;AACJ;;;;"}
@@ -1,18 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from '../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error raised when redeeming a completed V2 flow's continuation for tokens.
11
- * It adds no action-specific detectors beyond the inherited
12
- * `isBrowserRequired()`; the app typically retries or starts sign-in explicitly.
13
- */
14
- class SignInContinuationErrorV2 extends AuthFlowErrorBaseV2 {
15
- }
16
-
17
- export { SignInContinuationErrorV2 };
18
- //# sourceMappingURL=SignInContinuationErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignInContinuationErrorV2.mjs","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;;;AAIG;AACG,MAAO,yBAA0B,SAAQ,mBAAmB,CAAA;AAAG;;;;"}
@@ -1,37 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from '../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error returned when native auth V2 sign-in cannot start.
11
- */
12
- class SignInStartErrorV2 extends AuthFlowErrorBaseV2 {
13
- /**
14
- * Checks whether the service rejected the username parameter.
15
- * @returns True when the username was empty or invalid.
16
- */
17
- isInvalidUsername() {
18
- return this.isUserInvalidError();
19
- }
20
- /**
21
- * Checks whether the supplied username does not identify an account.
22
- * @returns True when the service reports that the user was not found.
23
- */
24
- isUserNotFound() {
25
- return this.isUserNotFoundError();
26
- }
27
- /**
28
- * Checks whether an automatically submitted password was rejected.
29
- * @returns True when the password is incorrect.
30
- */
31
- isInvalidPassword() {
32
- return this.isPasswordIncorrectError();
33
- }
34
- }
35
-
36
- export { SignInStartErrorV2 };
37
- //# sourceMappingURL=SignInStartErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignInStartErrorV2.mjs","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;AAEG;AACG,MAAO,kBAAmB,SAAQ,mBAAmB,CAAA;AACvD;;;AAGG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC;IACrC,CAAC;AAED;;;AAGG;IACH,cAAc,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACtC,CAAC;AAED;;;AAGG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,wBAAwB,EAAE,CAAC;IAC3C,CAAC;AACJ;;;;"}
@@ -1,23 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from '../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error returned when a password cannot be submitted for V2 sign-in.
11
- */
12
- class SubmitPasswordErrorV2 extends AuthFlowErrorBaseV2 {
13
- /**
14
- * Checks whether the supplied password was rejected.
15
- * @returns True when the password is incorrect.
16
- */
17
- isInvalidPassword() {
18
- return this.isPasswordIncorrectError();
19
- }
20
- }
21
-
22
- export { SubmitPasswordErrorV2 };
23
- //# sourceMappingURL=SubmitPasswordErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubmitPasswordErrorV2.mjs","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;AAEG;AACG,MAAO,qBAAsB,SAAQ,mBAAmB,CAAA;AAC1D;;;AAGG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,wBAAwB,EAAE,CAAC;IAC3C,CAAC;AACJ;;;;"}
@@ -1,25 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from '../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error returned when native auth V2 sign-up cannot start. It exposes
11
- * detectors for failures that an app can correct without restarting the flow.
12
- */
13
- class SignUpStartErrorV2 extends AuthFlowErrorBaseV2 {
14
- /**
15
- * Checks whether an upfront password violates the tenant's password policy.
16
- * Use it to prompt the user for a stronger password.
17
- * @returns True when the password violates policy, otherwise false.
18
- */
19
- isInvalidPassword() {
20
- return this.isPasswordPolicyViolationError();
21
- }
22
- }
23
-
24
- export { SignUpStartErrorV2 };
25
- //# sourceMappingURL=SignUpStartErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUpStartErrorV2.mjs","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;;AAGG;AACG,MAAO,kBAAmB,SAAQ,mBAAmB,CAAA;AACvD;;;;AAIG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,8BAA8B,EAAE,CAAC;IACjD,CAAC;AACJ;;;;"}
@@ -1,33 +0,0 @@
1
- /*! @azure/msal-browser v5.25.1 2026-10-13 */
2
- 'use strict';
3
- import { AuthFlowErrorBaseV2 } from '../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs';
4
-
5
- /*
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Licensed under the MIT License.
8
- */
9
- /**
10
- * Error returned when additional V2 sign-up attributes cannot be submitted. It
11
- * identifies attribute failures that an app can correct and resubmit.
12
- */
13
- class SubmitAttributesErrorV2 extends AuthFlowErrorBaseV2 {
14
- /**
15
- * Checks whether the service requires attributes omitted from the request.
16
- * Use it to collect the required attributes before resubmitting.
17
- * @returns True when required attributes are missing, otherwise false.
18
- */
19
- isMissingRequiredAttributes() {
20
- return this.getAttributeValidationDetails().some((detail) => detail.code === "attributeRequired");
21
- }
22
- /**
23
- * Checks whether a submitted password violates the tenant's password policy.
24
- * Use it to prompt the user for a stronger password.
25
- * @returns True when the password violates policy, otherwise false.
26
- */
27
- isInvalidPassword() {
28
- return this.isPasswordPolicyViolationError();
29
- }
30
- }
31
-
32
- export { SubmitAttributesErrorV2 };
33
- //# sourceMappingURL=SubmitAttributesErrorV2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubmitAttributesErrorV2.mjs","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;;AAGG;AACG,MAAO,uBAAwB,SAAQ,mBAAmB,CAAA;AAC5D;;;;AAIG;IACH,2BAA2B,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,6BAA6B,EAAE,CAAC,IAAI,CAC5C,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,KAAK,mBAAmB,CAClD,CAAC;IACN,CAAC;AAED;;;;AAIG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,8BAA8B,EAAE,CAAC;IACjD,CAAC;AACJ;;;;"}