@azure/msal-browser 5.28.0 → 5.29.1
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.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +6 -4
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +58 -62
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +3 -5
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +19 -13
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +8 -2
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +58 -69
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs +3 -3
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +42 -15
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs +17 -4
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +14 -18
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +2 -4
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +2 -3
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +17 -6
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs +110 -0
- package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +2 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +256 -150
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +2 -6
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +10 -3
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -7
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +35 -19
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +20 -9
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -2
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +5 -7
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +3 -2
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +17 -2
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom_auth/index.mjs +4 -3
- package/dist/custom_auth/index.mjs.map +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +23 -7
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs +24 -0
- package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +4 -7
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +2 -2
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +17 -8
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs +78 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs +48 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs +49 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +17 -24
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +38 -31
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +6 -2
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +5 -1
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +21 -9
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/popup_relay/constants.mjs +1 -1
- package/dist/popup_relay/index.mjs +1 -1
- package/dist/popup_relay/relayClient.mjs +1 -1
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/request/SilentRequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserDetection.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/IframeMonitor.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/utils/PopupMonitor.mjs +1 -1
- package/dist/utils/PopupOriginCheck.mjs +1 -1
- package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
- package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
- package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
- package/dist/webBrokerBridge/index.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +21 -9
- package/lib/custom-auth-path/msal-custom-auth.cjs +1160 -765
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +1160 -765
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +7 -3
- package/lib/msal-browser.cjs +187 -117
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +187 -117
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
- package/lib/popup-relay/msal-popup-relay.js +2 -2
- package/lib/popup-relay/msal-popup-relay.js.map +1 -1
- package/lib/popup-relay/msal-popup-relay.min.js +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +39 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +39 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
- package/package.json +2 -2
- package/src/custom_auth/CustomAuthActionInputs.ts +12 -5
- package/src/custom_auth/CustomAuthPublicClientApplication.ts +5 -3
- package/src/custom_auth/ICustomAuthPublicClientApplicationV2.ts +5 -3
- package/src/custom_auth/controller/CustomAuthStandardController.ts +79 -110
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.ts +1 -2
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.ts +1 -4
- package/src/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.ts +5 -4
- package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +28 -16
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +6 -0
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts +83 -72
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.ts +3 -3
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.ts +7 -5
- package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +10 -6
- package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +9 -6
- package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +4 -6
- package/src/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.ts +36 -0
- package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +6 -8
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.ts +2 -2
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +61 -12
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.ts +21 -3
- package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +30 -24
- package/src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts +1 -3
- package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +11 -2
- package/src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts +1 -2
- package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +26 -7
- package/src/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.ts +179 -0
- package/src/custom_auth/core/error/InvalidArgumentError.ts +1 -1
- package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +12 -12
- package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +394 -238
- package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +2 -6
- package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +2 -15
- package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +63 -26
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +0 -6
- package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +74 -26
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +48 -9
- package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +4 -6
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +0 -6
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +14 -53
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +0 -18
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +32 -13
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +8 -9
- package/src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts +4 -5
- package/src/custom_auth/core/telemetry/PublicApiId.ts +1 -0
- package/src/custom_auth/core/utils/ArgumentValidator.ts +26 -0
- package/src/custom_auth/index.ts +10 -11
- package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +6 -7
- package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +28 -5
- package/src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.ts +30 -0
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +4 -8
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +4 -7
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +3 -6
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts +0 -3
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts +2 -3
- package/src/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.ts +49 -0
- package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +8 -4
- package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +16 -4
- package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +26 -5
- package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.ts +101 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.ts +53 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.ts +97 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts +0 -6
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts +25 -48
- package/src/interaction_client/PlatformAuthInteractionClient.ts +53 -38
- package/src/interaction_client/RedirectClient.ts +5 -1
- package/src/interaction_client/StandardInteractionClient.ts +4 -0
- package/src/packageMetadata.ts +1 -1
- package/types/custom_auth/CustomAuthActionInputs.d.ts +12 -5
- package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts +5 -3
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -1
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts +5 -3
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts.map +1 -1
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts +2 -0
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts +1 -2
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts +1 -4
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts +5 -4
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +17 -8
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +6 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts +23 -44
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts +3 -3
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts +7 -6
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +7 -6
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +8 -7
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +4 -6
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +20 -0
- package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +6 -8
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts +2 -2
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +3 -6
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts +3 -3
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +6 -8
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts +1 -3
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +9 -2
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts +1 -2
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts +5 -6
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +23 -0
- package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/error/InvalidArgumentError.d.ts +1 -0
- package/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +8 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +12 -10
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +1 -1
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +2 -5
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts +22 -3
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts +2 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +8 -8
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts +18 -6
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts +6 -10
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts +0 -4
- package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts.map +1 -1
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts +1 -0
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
- package/types/custom_auth/index.d.ts +5 -5
- package/types/custom_auth/index.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +6 -8
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts +7 -5
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.d.ts +7 -0
- package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +4 -8
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +5 -6
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +3 -6
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts +3 -2
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.d.ts +27 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +6 -3
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +12 -3
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts +8 -3
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.d.ts +24 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts +18 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts +7 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts +0 -4
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts +5 -4
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts.map +1 -1
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts +4 -3
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +0 -82
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +0 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +0 -25
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs.map +0 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +0 -45
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +0 -1
- package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +0 -23
- package/src/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.ts +0 -19
- package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +0 -22
- package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +0 -115
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.ts +0 -34
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +0 -61
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +0 -14
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts +0 -13
- package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts.map +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +0 -9
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +0 -17
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +0 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts +0 -11
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts.map +0 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts +0 -19
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +0 -1
package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseResultsV2.mjs","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"BaseResultsV2.mjs","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAsDI,MAAM,sBAAsB,GAAG;AAClC,IAAA,aAAa,EAAE,cAAc;AAC7B,IAAA,YAAY,EAAE,aAAa;;;;;"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
5
|
* Licensed under the MIT License.
|
|
6
6
|
*/
|
|
7
7
|
const SignUpSubmitAttributesNextActionV2 = {
|
|
8
|
-
VERIFY: "verify",
|
|
9
8
|
COLLECT_ATTRIBUTES: "collectAttributes",
|
|
10
9
|
CONTINUE: "continue",
|
|
11
10
|
ENROLL: "enroll",
|
package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpResultsV2.mjs","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"SignUpResultsV2.mjs","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AA2BI,MAAM,kCAAkC,GAAG;AAC9C,IAAA,kBAAkB,EAAE,mBAAmB;AACvC,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,MAAM,EAAE,QAAQ;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CustomAuthFlowScenarioV2 } from '../auth_flow/v2/CustomAuthFlowScenarioV2.mjs';
|
|
4
4
|
import { AuthenticationFactorV2 } from '../network_client/custom_auth_api/v2/result/BaseResultsV2.mjs';
|
|
5
|
-
import { MFA_V2_RESEND_CHALLENGE, MFA_V2_SUBMIT_CHALLENGE, MFA_V2_SELECT_AUTH_METHOD, SIGN_UP_V2_COMPLETE, SIGN_UP_V2_SUBMIT_ATTRIBUTES, SIGN_UP_V2_RESEND_CODE, SIGN_UP_V2_SUBMIT_CODE, SIGN_UP_V2_CHALLENGE, SIGN_IN_V2_COMPLETE, SIGN_IN_V2_SUBMIT_PASSWORD, SIGN_IN_V2_CHALLENGE, SIGN_IN_V2_SUBMIT_CODE, SIGN_IN_AFTER_PASSWORD_RESET, RESET_PASSWORD_V2_SUBMIT, RESET_PASSWORD_V2_RESEND_CODE, RESET_PASSWORD_V2_SUBMIT_CODE, RESET_PASSWORD_V2_CHALLENGE } from './PublicApiId.mjs';
|
|
5
|
+
import { MFA_V2_RESEND_CHALLENGE, MFA_V2_SUBMIT_CHALLENGE, MFA_V2_SELECT_AUTH_METHOD, SIGN_UP_V2_COMPLETE, SIGN_UP_V2_SUBMIT_ATTRIBUTES, SIGN_UP_V2_RESEND_CODE, SIGN_UP_V2_SUBMIT_PASSWORD, SIGN_UP_V2_SUBMIT_CODE, SIGN_UP_V2_CHALLENGE, SIGN_IN_V2_COMPLETE, SIGN_IN_V2_SUBMIT_PASSWORD, SIGN_IN_V2_CHALLENGE, SIGN_IN_V2_SUBMIT_CODE, SIGN_IN_AFTER_PASSWORD_RESET, RESET_PASSWORD_V2_SUBMIT, RESET_PASSWORD_V2_RESEND_CODE, RESET_PASSWORD_V2_SUBMIT_CODE, RESET_PASSWORD_V2_CHALLENGE } from './PublicApiId.mjs';
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26,6 +26,7 @@ const FLOW_STEP_API_IDS_V2 = {
|
|
|
26
26
|
[CustomAuthFlowScenarioV2.SignUp]: {
|
|
27
27
|
requestChallenge: SIGN_UP_V2_CHALLENGE,
|
|
28
28
|
submitCode: SIGN_UP_V2_SUBMIT_CODE,
|
|
29
|
+
submitPassword: SIGN_UP_V2_SUBMIT_PASSWORD,
|
|
29
30
|
resendCode: SIGN_UP_V2_RESEND_CODE,
|
|
30
31
|
submitAttributes: SIGN_UP_V2_SUBMIT_ATTRIBUTES,
|
|
31
32
|
signInWithContinuation: SIGN_UP_V2_COMPLETE,
|
|
@@ -36,12 +37,9 @@ const MFA_STEP_API_IDS_V2 = {
|
|
|
36
37
|
submitCode: MFA_V2_SUBMIT_CHALLENGE,
|
|
37
38
|
resendCode: MFA_V2_RESEND_CHALLENGE,
|
|
38
39
|
};
|
|
39
|
-
/**
|
|
40
|
-
* Resolves the telemetry API ID for a flow step. MFA challenge operations use
|
|
41
|
-
* distinct IDs when the sign-in caller identifies the second factor.
|
|
42
|
-
*/
|
|
43
40
|
function getPublicApiIdV2(scenario, step, authenticationFactor) {
|
|
44
|
-
if (scenario === CustomAuthFlowScenarioV2.SignIn
|
|
41
|
+
if ((scenario === CustomAuthFlowScenarioV2.SignIn ||
|
|
42
|
+
scenario === CustomAuthFlowScenarioV2.PasswordReset) &&
|
|
45
43
|
authenticationFactor === AuthenticationFactorV2.MULTI_FACTOR) {
|
|
46
44
|
return (MFA_STEP_API_IDS_V2[step] ?? FLOW_STEP_API_IDS_V2[scenario]?.[step]);
|
|
47
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowApiIdHelperV2.mjs","sources":["../../../../src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"FlowApiIdHelperV2.mjs","sources":["../../../../src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AAkCH,MAAM,oBAAoB,GAEtB;AACA,IAAA,CAAC,wBAAwB,CAAC,aAAa,GAAG;AACtC,QAAA,gBAAgB,EAAE,2BAA2B;AAC7C,QAAA,UAAU,EAAE,6BAA6B;AACzC,QAAA,UAAU,EAAE,6BAA6B;AACzC,QAAA,iBAAiB,EAAE,wBAAwB;AAC3C,QAAA,sBAAsB,EAAE,4BAA4B;AACvD,KAAA;AACD,IAAA,CAAC,wBAAwB,CAAC,MAAM,GAAG;AAC/B,QAAA,gBAAgB,EAAE,oBAAoB;AACtC,QAAA,UAAU,EAAE,sBAAsB;AAClC,QAAA,UAAU,EAAE,oBAAoB;AAChC,QAAA,cAAc,EAAE,0BAA0B;AAC1C,QAAA,sBAAsB,EAAE,mBAAmB;AAC9C,KAAA;AACD,IAAA,CAAC,wBAAwB,CAAC,MAAM,GAAG;AAC/B,QAAA,gBAAgB,EAAE,oBAAoB;AACtC,QAAA,UAAU,EAAE,sBAAsB;AAClC,QAAA,cAAc,EAAE,0BAA0B;AAC1C,QAAA,UAAU,EAAE,sBAAsB;AAClC,QAAA,gBAAgB,EAAE,4BAA4B;AAC9C,QAAA,sBAAsB,EAAE,mBAAmB;AAC9C,KAAA;CACJ,CAAC;AAEF,MAAM,mBAAmB,GAAwC;AAC7D,IAAA,gBAAgB,EAAE,yBAAyB;AAC3C,IAAA,UAAU,EAAE,uBAAuB;AACnC,IAAA,UAAU,EAAE,uBAAuB;CACtC,CAAC;SAEc,gBAAgB,CAC5B,QAAkC,EAClC,IAAgB,EAChB,oBAA6C,EAAA;AAE7C,IAAA,IACI,CAAC,QAAQ,KAAK,wBAAwB,CAAC,MAAM;AACzC,QAAA,QAAQ,KAAK,wBAAwB,CAAC,aAAa;AACvD,QAAA,oBAAoB,KAAK,sBAAsB,CAAC,YAAY,EAC9D;AACE,QAAA,QACI,mBAAmB,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,EACrE;AACL,IAAA,CAAA;IAED,OAAO,oBAAoB,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC;AAClD;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -48,6 +48,7 @@ const SIGN_IN_V2_COMPLETE = 100209;
|
|
|
48
48
|
const SIGN_IN_V2_SUBMIT_CODE = 100210;
|
|
49
49
|
const SIGN_UP_V2_START = 100211;
|
|
50
50
|
const SIGN_UP_V2_CHALLENGE = 100212;
|
|
51
|
+
const SIGN_UP_V2_SUBMIT_PASSWORD = 100223;
|
|
51
52
|
const SIGN_UP_V2_SUBMIT_CODE = 100213;
|
|
52
53
|
const SIGN_UP_V2_SUBMIT_ATTRIBUTES = 100214;
|
|
53
54
|
const SIGN_UP_V2_RESEND_CODE = 100215;
|
|
@@ -59,5 +60,5 @@ const MFA_V2_SELECT_AUTH_METHOD = 100220;
|
|
|
59
60
|
const MFA_V2_SUBMIT_CHALLENGE = 100221;
|
|
60
61
|
const MFA_V2_RESEND_CHALLENGE = 100222;
|
|
61
62
|
|
|
62
|
-
export { ACCOUNT_GET_ACCESS_TOKEN, JIT_CHALLENGE_AUTH_METHOD, JIT_SUBMIT_CHALLENGE, JIT_V2_ENROLL_AUTH_METHOD, JIT_V2_RESEND_CHALLENGE, JIT_V2_SUBMIT_CHALLENGE, MFA_REQUEST_CHALLENGE, MFA_SUBMIT_CHALLENGE, MFA_V2_RESEND_CHALLENGE, MFA_V2_SELECT_AUTH_METHOD, MFA_V2_SUBMIT_CHALLENGE, PASSWORD_RESET_RESEND_CODE, PASSWORD_RESET_START, PASSWORD_RESET_SUBMIT_CODE, PASSWORD_RESET_SUBMIT_PASSWORD, RESET_PASSWORD_V2_CHALLENGE, RESET_PASSWORD_V2_RESEND_CODE, RESET_PASSWORD_V2_START, RESET_PASSWORD_V2_SUBMIT, RESET_PASSWORD_V2_SUBMIT_CODE, SIGN_IN_AFTER_PASSWORD_RESET, SIGN_IN_AFTER_SIGN_UP, SIGN_IN_RESEND_CODE, SIGN_IN_SUBMIT_CODE, SIGN_IN_SUBMIT_PASSWORD, SIGN_IN_V2_CHALLENGE, SIGN_IN_V2_COMPLETE, SIGN_IN_V2_START, SIGN_IN_V2_SUBMIT_CODE, SIGN_IN_V2_SUBMIT_PASSWORD, SIGN_IN_WITH_CODE_START, SIGN_IN_WITH_PASSWORD_START, SIGN_UP_RESEND_CODE, SIGN_UP_START, SIGN_UP_SUBMIT_ATTRIBUTES, SIGN_UP_SUBMIT_CODE, SIGN_UP_SUBMIT_PASSWORD, SIGN_UP_V2_CHALLENGE, SIGN_UP_V2_COMPLETE, SIGN_UP_V2_RESEND_CODE, SIGN_UP_V2_START, SIGN_UP_V2_SUBMIT_ATTRIBUTES, SIGN_UP_V2_SUBMIT_CODE, SIGN_UP_WITH_PASSWORD_START };
|
|
63
|
+
export { ACCOUNT_GET_ACCESS_TOKEN, JIT_CHALLENGE_AUTH_METHOD, JIT_SUBMIT_CHALLENGE, JIT_V2_ENROLL_AUTH_METHOD, JIT_V2_RESEND_CHALLENGE, JIT_V2_SUBMIT_CHALLENGE, MFA_REQUEST_CHALLENGE, MFA_SUBMIT_CHALLENGE, MFA_V2_RESEND_CHALLENGE, MFA_V2_SELECT_AUTH_METHOD, MFA_V2_SUBMIT_CHALLENGE, PASSWORD_RESET_RESEND_CODE, PASSWORD_RESET_START, PASSWORD_RESET_SUBMIT_CODE, PASSWORD_RESET_SUBMIT_PASSWORD, RESET_PASSWORD_V2_CHALLENGE, RESET_PASSWORD_V2_RESEND_CODE, RESET_PASSWORD_V2_START, RESET_PASSWORD_V2_SUBMIT, RESET_PASSWORD_V2_SUBMIT_CODE, SIGN_IN_AFTER_PASSWORD_RESET, SIGN_IN_AFTER_SIGN_UP, SIGN_IN_RESEND_CODE, SIGN_IN_SUBMIT_CODE, SIGN_IN_SUBMIT_PASSWORD, SIGN_IN_V2_CHALLENGE, SIGN_IN_V2_COMPLETE, SIGN_IN_V2_START, SIGN_IN_V2_SUBMIT_CODE, SIGN_IN_V2_SUBMIT_PASSWORD, SIGN_IN_WITH_CODE_START, SIGN_IN_WITH_PASSWORD_START, SIGN_UP_RESEND_CODE, SIGN_UP_START, SIGN_UP_SUBMIT_ATTRIBUTES, SIGN_UP_SUBMIT_CODE, SIGN_UP_SUBMIT_PASSWORD, SIGN_UP_V2_CHALLENGE, SIGN_UP_V2_COMPLETE, SIGN_UP_V2_RESEND_CODE, SIGN_UP_V2_START, SIGN_UP_V2_SUBMIT_ATTRIBUTES, SIGN_UP_V2_SUBMIT_CODE, SIGN_UP_V2_SUBMIT_PASSWORD, SIGN_UP_WITH_PASSWORD_START };
|
|
63
64
|
//# sourceMappingURL=PublicApiId.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicApiId.mjs","sources":["../../../../src/custom_auth/core/telemetry/PublicApiId.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;AAGG;AAEH;AACO,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,2BAA2B,GAAG,OAAO;AAC3C,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,qBAAqB,GAAG,OAAO;AACrC,MAAM,4BAA4B,GAAG,OAAO;AAEnD;AACO,MAAM,2BAA2B,GAAG,OAAO;AAC3C,MAAM,aAAa,GAAG,OAAO;AAC7B,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,mBAAmB,GAAG,OAAO;AAE1C;AACO,MAAM,oBAAoB,GAAG,OAAO;AACpC,MAAM,0BAA0B,GAAG,OAAO;AAC1C,MAAM,8BAA8B,GAAG,OAAO;AAC9C,MAAM,0BAA0B,GAAG,OAAO;AAK1C,MAAM,wBAAwB,GAAG,OAAO;AAE/C;AACO,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,oBAAoB,GAAG,OAAO;AAE3C;AACO,MAAM,qBAAqB,GAAG,OAAO;AACrC,MAAM,oBAAoB,GAAG,OAAO;AAE3C;AACO,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,6BAA6B,GAAG,OAAO;AAC7C,MAAM,6BAA6B,GAAG,OAAO;AAC7C,MAAM,wBAAwB,GAAG,OAAO;AACxC,MAAM,2BAA2B,GAAG,OAAO;AAC3C,MAAM,gBAAgB,GAAG,OAAO;AAChC,MAAM,oBAAoB,GAAG,OAAO;AACpC,MAAM,0BAA0B,GAAG,OAAO;AAC1C,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,sBAAsB,GAAG,OAAO;AACtC,MAAM,gBAAgB,GAAG,OAAO;AAChC,MAAM,oBAAoB,GAAG,OAAO;AACpC,MAAM,sBAAsB,GAAG,OAAO;AACtC,MAAM,4BAA4B,GAAG,OAAO;AAC5C,MAAM,sBAAsB,GAAG,OAAO;AACtC,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,uBAAuB,GAAG;;;;"}
|
|
1
|
+
{"version":3,"file":"PublicApiId.mjs","sources":["../../../../src/custom_auth/core/telemetry/PublicApiId.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;AAGG;AAEH;AACO,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,2BAA2B,GAAG,OAAO;AAC3C,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,qBAAqB,GAAG,OAAO;AACrC,MAAM,4BAA4B,GAAG,OAAO;AAEnD;AACO,MAAM,2BAA2B,GAAG,OAAO;AAC3C,MAAM,aAAa,GAAG,OAAO;AAC7B,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,mBAAmB,GAAG,OAAO;AAE1C;AACO,MAAM,oBAAoB,GAAG,OAAO;AACpC,MAAM,0BAA0B,GAAG,OAAO;AAC1C,MAAM,8BAA8B,GAAG,OAAO;AAC9C,MAAM,0BAA0B,GAAG,OAAO;AAK1C,MAAM,wBAAwB,GAAG,OAAO;AAE/C;AACO,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,oBAAoB,GAAG,OAAO;AAE3C;AACO,MAAM,qBAAqB,GAAG,OAAO;AACrC,MAAM,oBAAoB,GAAG,OAAO;AAE3C;AACO,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,6BAA6B,GAAG,OAAO;AAC7C,MAAM,6BAA6B,GAAG,OAAO;AAC7C,MAAM,wBAAwB,GAAG,OAAO;AACxC,MAAM,2BAA2B,GAAG,OAAO;AAC3C,MAAM,gBAAgB,GAAG,OAAO;AAChC,MAAM,oBAAoB,GAAG,OAAO;AACpC,MAAM,0BAA0B,GAAG,OAAO;AAC1C,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,sBAAsB,GAAG,OAAO;AACtC,MAAM,gBAAgB,GAAG,OAAO;AAChC,MAAM,oBAAoB,GAAG,OAAO;AACpC,MAAM,0BAA0B,GAAG,OAAO;AAC1C,MAAM,sBAAsB,GAAG,OAAO;AACtC,MAAM,4BAA4B,GAAG,OAAO;AAC5C,MAAM,sBAAsB,GAAG,OAAO;AACtC,MAAM,mBAAmB,GAAG,OAAO;AACnC,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,yBAAyB,GAAG,OAAO;AACzC,MAAM,uBAAuB,GAAG,OAAO;AACvC,MAAM,uBAAuB,GAAG;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { InvalidArgumentError } from '../error/InvalidArgumentError.mjs';
|
|
4
4
|
|
|
@@ -37,7 +37,22 @@ function ensureArgumentIsStringArray(argName, argValue, correlationId) {
|
|
|
37
37
|
!argValue.every((value) => typeof value === "string")) {
|
|
38
38
|
throw new InvalidArgumentError(argName, correlationId);
|
|
39
39
|
}
|
|
40
|
+
}
|
|
41
|
+
function filterReservedSignUpAttributesV2(attributes, logger, correlationId) {
|
|
42
|
+
const reservedSignUpAttributeNames = new Set(["email", "password"]);
|
|
43
|
+
const reservedSignUpAttributeWarning = "Ignoring app-supplied sign-up attribute because it uses a reserved SDK attribute name.";
|
|
44
|
+
const filteredAttributes = [];
|
|
45
|
+
for (const [attributeId, value] of Object.entries(attributes ?? {})) {
|
|
46
|
+
if (reservedSignUpAttributeNames.has(attributeId.toLowerCase())) {
|
|
47
|
+
logger.warning(reservedSignUpAttributeWarning, correlationId);
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
if (value !== undefined) {
|
|
51
|
+
filteredAttributes.push([attributeId, value]);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return Object.fromEntries(filteredAttributes);
|
|
40
55
|
}
|
|
41
56
|
|
|
42
|
-
export { ensureArgumentIsJSONString, ensureArgumentIsNotEmptyString, ensureArgumentIsNotNullOrUndefined, ensureArgumentIsStringArray };
|
|
57
|
+
export { ensureArgumentIsJSONString, ensureArgumentIsNotEmptyString, ensureArgumentIsNotNullOrUndefined, ensureArgumentIsStringArray, filterReservedSignUpAttributesV2 };
|
|
43
58
|
//# sourceMappingURL=ArgumentValidator.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArgumentValidator.mjs","sources":["../../../../src/custom_auth/core/utils/ArgumentValidator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"ArgumentValidator.mjs","sources":["../../../../src/custom_auth/core/utils/ArgumentValidator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;SAMa,kCAAkC,CAC9C,OAAe,EACf,QAA8B,EAC9B,aAAsB,EAAA;AAEtB,IAAA,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;AAC7C,QAAA,MAAM,IAAI,oBAAoB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC1D,IAAA,CAAA;AACL,CAAC;SAEe,8BAA8B,CAC1C,OAAe,EACf,QAA4B,EAC5B,aAAsB,EAAA;IAEtB,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;AACrC,QAAA,MAAM,IAAI,oBAAoB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC1D,IAAA,CAAA;AACL,CAAC;SAEe,0BAA0B,CACtC,OAAe,EACf,QAAgB,EAChB,aAAsB,EAAA;IAEtB,IAAI;QACA,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACpC,IACI,OAAO,MAAM,KAAK,QAAQ;AAC1B,YAAA,MAAM,KAAK,IAAI;AACf,YAAA,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EACvB;AACE,YAAA,MAAM,IAAI,oBAAoB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC1D,QAAA,CAAA;AACJ,IAAA,CAAA;AAAC,IAAA,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,YAAY,WAAW,EAAE;AAC1B,YAAA,MAAM,IAAI,oBAAoB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC1D,QAAA,CAAA;QACD,MAAM,CAAC,CAAC;AACX,IAAA,CAAA;AACL,CAAC;SAEe,2BAA2B,CACvC,OAAe,EACf,QAAiB,EACjB,aAAsB,EAAA;AAEtB,IAAA,IACI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;AACxB,QAAA,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,CAAC,EACvD;AACE,QAAA,MAAM,IAAI,oBAAoB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC1D,IAAA,CAAA;AACL,CAAC;SAEe,gCAAgC,CAC5C,UAAuD,EACvD,MAAc,EACd,aAAqB,EAAA;IAErB,MAAM,4BAA4B,GAAG,IAAI,GAAG,CAAC,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IACpE,MAAM,8BAA8B,GAChC,wFAAwF,CAAC;IAC7F,MAAM,kBAAkB,GAA4B,EAAE,CAAC;AAEvD,IAAA,KAAK,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE;QACjE,IAAI,4BAA4B,CAAC,GAAG,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,EAAE;AAC7D,YAAA,MAAM,CAAC,OAAO,CAAC,8BAA8B,EAAE,aAAa,CAAC,CAAC;YAC9D,SAAS;AACZ,QAAA,CAAA;QAED,IAAI,KAAK,KAAK,SAAS,EAAE;YACrB,kBAAkB,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;AACjD,QAAA,CAAA;AACJ,IAAA,CAAA;AAED,IAAA,OAAO,MAAM,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;AAClD;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { GetCurrentAccountAccessTokenError } from '../error_type/GetAccountError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { GET_ACCESS_TOKEN_COMPLETED_STATE_TYPE, GET_ACCESS_TOKEN_FAILED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { GET_ACCOUNT_COMPLETED_STATE_TYPE, GET_ACCOUNT_FAILED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { SIGN_OUT_COMPLETED_STATE_TYPE, SIGN_OUT_FAILED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
export { CustomAuthPublicClientApplication } from './CustomAuthPublicClientApplication.mjs';
|
|
4
4
|
export { CustomAuthAccountData } from './get_account/auth_flow/CustomAuthAccountData.mjs';
|
|
@@ -76,9 +76,10 @@ export { MFAVerificationRequiredStateV2 } from './core/auth_flow/v2/state/MFAVer
|
|
|
76
76
|
export { AuthMethodSelectionRequiredStateV2 } from './core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs';
|
|
77
77
|
export { AuthMethodRegistrationRequiredStateV2 } from './core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs';
|
|
78
78
|
export { AuthMethodVerificationRequiredStateV2 } from './core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs';
|
|
79
|
-
export { PasswordRequiredStateV2 } from './
|
|
79
|
+
export { PasswordRequiredStateV2 } from './core/auth_flow/v2/state/PasswordRequiredStateV2.mjs';
|
|
80
80
|
export { SignInContinuationStateV2 } from './sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs';
|
|
81
81
|
export { AttributesRequiredStateV2 } from './sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs';
|
|
82
|
-
export {
|
|
82
|
+
export { ExistingAccountCodeRequiredStateV2 } from './sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs';
|
|
83
|
+
export { ExistingAccountPasswordRequiredStateV2 } from './sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs';
|
|
83
84
|
export { LogLevel } from '@azure/msal-common/browser';
|
|
84
85
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthActionErrorBase } from '../../../core/auth_flow/AuthFlowErrorBase.mjs';
|
|
4
4
|
import { CustomAuthApiError } from '../../../core/error/CustomAuthApiError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { ResetPasswordResendCodeError } from '../error_type/ResetPasswordError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { ResetPasswordError } from '../error_type/ResetPasswordError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { ResetPasswordSubmitCodeError } from '../error_type/ResetPasswordError.mjs';
|
package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { ResetPasswordSubmitPasswordError } from '../error_type/ResetPasswordError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ResetPasswordResendCodeResult } from '../result/ResetPasswordResendCodeResult.mjs';
|
|
4
4
|
import { ResetPasswordSubmitCodeResult } from '../result/ResetPasswordSubmitCodeResult.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { SignInContinuationState } from '../../../sign_in/auth_flow/state/SignInContinuationState.mjs';
|
|
4
4
|
import { RESET_PASSWORD_COMPLETED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { RESET_PASSWORD_FAILED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ResetPasswordSubmitPasswordResult } from '../result/ResetPasswordSubmitPasswordResult.mjs';
|
|
4
4
|
import { ResetPasswordState } from './ResetPasswordState.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowActionRequiredStateBase } from '../../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { CustomAuthResultV2 } from '../../../../core/auth_flow/v2/CustomAuthResultV2.mjs';
|
|
5
5
|
import { AuthMethodRegistrationRequiredStateV2 } from '../../../../core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs';
|
|
6
|
-
import {
|
|
6
|
+
import { AuthMethodSelectionRequiredStateV2 } from '../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs';
|
|
7
|
+
import { AuthenticationFactorV2 } from '../../../../core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs';
|
|
8
|
+
import { FLOW_AUTH_METHOD_REGISTRATION_REQUIRED_V2, FLOW_MFA_REQUIRED_V2, FLOW_SIGN_IN_CONTINUATION_REQUIRED_V2 } from '../../../../core/interaction_client/v2/result/FlowActionResultV2.mjs';
|
|
7
9
|
import { CustomAuthError } from '../../../../core/error/CustomAuthError.mjs';
|
|
8
10
|
import { UNSUPPORTED_FLOW_TRANSITION } from '../../../../core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs';
|
|
9
11
|
import { SignInContinuationStateV2 } from '../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs';
|
|
@@ -13,9 +15,10 @@ import { SignInContinuationStateV2 } from '../../../../sign_in/auth_flow/v2/stat
|
|
|
13
15
|
* Licensed under the MIT License.
|
|
14
16
|
*/
|
|
15
17
|
/**
|
|
16
|
-
* State returned when the user must supply a new password
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* State returned when the user must supply a new password. Submission can
|
|
19
|
+
* require method registration or MFA, and the flow is not complete until any
|
|
20
|
+
* subsequent required actions finish.
|
|
21
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
19
22
|
*/
|
|
20
23
|
class NewPasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase {
|
|
21
24
|
constructor() {
|
|
@@ -23,8 +26,9 @@ class NewPasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase {
|
|
|
23
26
|
this.stateType = "newPasswordRequired";
|
|
24
27
|
}
|
|
25
28
|
/**
|
|
26
|
-
* Submits the new password
|
|
27
|
-
*
|
|
29
|
+
* Submits the new password. The result can require method registration or
|
|
30
|
+
* MFA, and completion is not final until any subsequent required actions
|
|
31
|
+
* finish.
|
|
28
32
|
* @param password - The new password to set.
|
|
29
33
|
* @returns The result of submitting the new password.
|
|
30
34
|
*/
|
|
@@ -50,6 +54,18 @@ class NewPasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase {
|
|
|
50
54
|
methods: result.methods,
|
|
51
55
|
}), undefined, result.continuationState.scenario);
|
|
52
56
|
}
|
|
57
|
+
if (result.type === FLOW_MFA_REQUIRED_V2) {
|
|
58
|
+
return new CustomAuthResultV2(new AuthMethodSelectionRequiredStateV2({
|
|
59
|
+
correlationId: result.correlationId,
|
|
60
|
+
logger,
|
|
61
|
+
config: this.stateParameters.config,
|
|
62
|
+
flowClient,
|
|
63
|
+
continuationState: result.continuationState,
|
|
64
|
+
cacheClient: this.stateParameters.cacheClient,
|
|
65
|
+
methods: result.methods,
|
|
66
|
+
authenticationFactor: AuthenticationFactorV2.MULTI_FACTOR,
|
|
67
|
+
}), undefined, result.continuationState.scenario);
|
|
68
|
+
}
|
|
53
69
|
if (result.type === FLOW_SIGN_IN_CONTINUATION_REQUIRED_V2) {
|
|
54
70
|
return new CustomAuthResultV2(new SignInContinuationStateV2({
|
|
55
71
|
correlationId: result.correlationId,
|
package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewPasswordRequiredStateV2.mjs","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NewPasswordRequiredStateV2.mjs","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;AAGG;AAkBH;;;;;AAKG;AACG,MAAO,0BAA2B,SAAQ,+BAAqE,CAAA;AAArH,IAAA,WAAA,GAAA;;QACa,IAAA,CAAA,SAAS,GAAG,qBAAqB,CAAC;IA6F/C,CAAC;AA3FG;;;;;;AAMG;IACH,MAAM,iBAAiB,CACnB,QAAgB,EAAA;AAEhB,QAAA,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAC1D,IAAI,CAAC,eAAe,CAAC;QAEzB,IAAI;AACA,YAAA,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;AAExC,YAAA,MAAM,CAAC,OAAO,CAAC;AAEf,YAAA,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,iBAAiB,CAAC;gBAC9C,aAAa;gBACb,iBAAiB;AACjB,gBAAA,WAAW,EAAE,QAAQ;AACxB,aAAA,CAAC,CAAC;AACH,YAAA,MAAM,UAAU,GAAW,MAAM,CAAC,IAAI,CAAC;AAEvC,YAAA,IAAI,MAAM,CAAC,IAAI,KAAK,yCAAyC,EAAE;AAC3D,gBAAA,OAAO,IAAI,kBAAkB,CACzB,IAAI,qCAAqC,CAAC;oBACtC,aAAa,EAAE,MAAM,CAAC,aAAa;oBACnC,MAAM;AACN,oBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;oBACnC,UAAU;oBACV,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC3C,oBAAA,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW;oBAC7C,OAAO,EAAE,MAAM,CAAC,OAAO;iBAC1B,CAAC,EACF,SAAS,EACT,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CACpC,CAAC;AACL,YAAA,CAAA;AAED,YAAA,IAAI,MAAM,CAAC,IAAI,KAAK,oBAAoB,EAAE;AACtC,gBAAA,OAAO,IAAI,kBAAkB,CACzB,IAAI,kCAAkC,CAAC;oBACnC,aAAa,EAAE,MAAM,CAAC,aAAa;oBACnC,MAAM;AACN,oBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;oBACnC,UAAU;oBACV,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC3C,oBAAA,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW;oBAC7C,OAAO,EAAE,MAAM,CAAC,OAAO;oBACvB,oBAAoB,EAChB,sBAAsB,CAAC,YAAY;iBAC1C,CAAC,EACF,SAAS,EACT,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CACpC,CAAC;AACL,YAAA,CAAA;AAED,YAAA,IAAI,MAAM,CAAC,IAAI,KAAK,qCAAqC,EAAE;AACvD,gBAAA,OAAO,IAAI,kBAAkB,CACzB,IAAI,yBAAyB,CAAC;oBAC1B,aAAa,EAAE,MAAM,CAAC,aAAa;oBACnC,MAAM;AACN,oBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;oBACnC,UAAU;oBACV,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC3C,oBAAA,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW;iBAChD,CAAC,EACF,SAAS,EACT,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CACpC,CAAC;AACL,YAAA,CAAA;YAED,MAAM,IAAI,eAAe,CACrB,2BAA2B,EAC3B,CAAA,iCAAA,EAAoC,UAAU,CAAA,mBAAA,CAAqB,EACnE,aAAa,CAChB,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;gBAC7C,QAAQ,EAAE,iBAAiB,CAAC,QAAQ;gBACpC,aAAa;AAChB,aAAA,CAAC,CAAC;AACN,QAAA,CAAA;IACL,CAAC;AACJ;;;;"}
|
package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
|
+
'use strict';
|
|
3
|
+
import { CustomAuthResultV2 } from '../../../../core/auth_flow/v2/CustomAuthResultV2.mjs';
|
|
4
|
+
import { NewPasswordRequiredStateV2 } from './NewPasswordRequiredStateV2.mjs';
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
|
+
* Licensed under the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
class ResetPasswordStateTransitionHandlerV2 {
|
|
11
|
+
handleNewPasswordRequired(result, stateParameters) {
|
|
12
|
+
return new CustomAuthResultV2(new NewPasswordRequiredStateV2({
|
|
13
|
+
correlationId: result.correlationId,
|
|
14
|
+
logger: stateParameters.logger,
|
|
15
|
+
config: stateParameters.config,
|
|
16
|
+
flowClient: stateParameters.flowClient,
|
|
17
|
+
continuationState: result.continuationState,
|
|
18
|
+
cacheClient: stateParameters.cacheClient,
|
|
19
|
+
}), undefined, result.continuationState.scenario);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { ResetPasswordStateTransitionHandlerV2 };
|
|
24
|
+
//# sourceMappingURL=ResetPasswordStateTransitionHandlerV2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResetPasswordStateTransitionHandlerV2.mjs","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAAA;;;AAGG;MAQU,qCAAqC,CAAA;IAC9C,yBAAyB,CACrB,MAAuC,EACvC,eAA0D,EAAA;AAE1D,QAAA,OAAO,IAAI,kBAAkB,CACzB,IAAI,0BAA0B,CAAC;YAC3B,aAAa,EAAE,MAAM,CAAC,aAAa;YACnC,MAAM,EAAE,eAAe,CAAC,MAAM;YAC9B,MAAM,EAAE,eAAe,CAAC,MAAM;YAC9B,UAAU,EAAE,eAAe,CAAC,UAAU;YACtC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;YAC3C,WAAW,EAAE,eAAe,CAAC,WAAW;SAC3C,CAAC,EACF,SAAS,EACT,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CACpC,CAAC;IACN,CAAC;AACJ;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CustomAuthApiError } from '../../core/error/CustomAuthApiError.mjs';
|
|
4
4
|
import { CustomAuthInteractionClientBase } from '../../core/interaction_client/CustomAuthInteractionClientBase.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthActionErrorBase } from '../../../core/auth_flow/AuthFlowErrorBase.mjs';
|
|
4
4
|
import { USER_NOT_FOUND } from '../../../core/network_client/custom_auth_api/types/ApiErrorCodes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { SIGN_IN_FAILED_STATE_TYPE, SIGN_IN_CODE_REQUIRED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { SIGN_IN_COMPLETED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { SIGN_IN_FAILED_STATE_TYPE } from '../../../core/auth_flow/AuthFlowStateTypes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { AuthMethodRegistrationRequiredState } from '../../../core/auth_flow/jit/state/AuthMethodRegistrationState.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowActionRequiredStateBase } from '../../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { CustomAuthResultV2 } from '../../../../core/auth_flow/v2/CustomAuthResultV2.mjs';
|
|
@@ -10,9 +10,8 @@ import { CustomAuthAccountData } from '../../../../get_account/auth_flow/CustomA
|
|
|
10
10
|
* Licensed under the MIT License.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* state without duplicating the token-acquisition behavior.
|
|
13
|
+
* State returned when a completed V2 flow can sign the user in.
|
|
14
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
16
15
|
*/
|
|
17
16
|
class SignInContinuationStateV2 extends AuthFlowActionRequiredStateBase {
|
|
18
17
|
constructor() {
|
|
@@ -20,9 +19,7 @@ class SignInContinuationStateV2 extends AuthFlowActionRequiredStateBase {
|
|
|
20
19
|
this.stateType = "signInContinuation";
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
|
-
* Signs the user in
|
|
24
|
-
* flow. The result either reaches the completed state with the signed-in
|
|
25
|
-
* account data or reports why the follow-up sign-in could not complete.
|
|
22
|
+
* Signs the user in after completing the V2 flow.
|
|
26
23
|
* @returns The result of completing the continuation sign-in.
|
|
27
24
|
*/
|
|
28
25
|
async signIn() {
|