@azure/msal-browser 4.23.0 → 4.24.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.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.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/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/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +15 -15
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +24 -51
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.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/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +24 -51
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +2 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +11 -3
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +9 -2
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +4 -26
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +2 -9
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +3 -2
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +14 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +4 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +4 -5
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +13 -4
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +51 -29
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +9 -2
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +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 +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +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 +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- 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/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +3 -3
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.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/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +230 -215
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/msal-browser.cjs +133 -136
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +133 -136
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +60 -60
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/controllers/NestedAppAuthController.ts +40 -23
- package/src/controllers/StandardController.ts +97 -79
- package/src/custom_auth/CustomAuthConstants.ts +1 -0
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +15 -2
- package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +9 -1
- package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +32 -0
- package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +59 -0
- package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +52 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +11 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +11 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +188 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +28 -0
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +1 -1
- package/src/custom_auth/core/interaction_client/jit/JitClient.ts +1 -42
- package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +0 -2
- package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +2 -22
- package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +148 -0
- package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +20 -0
- package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +48 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +27 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +6 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +6 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +1 -0
- package/src/custom_auth/core/telemetry/PublicApiId.ts +6 -3
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +22 -12
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +123 -41
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +15 -0
- package/src/packageMetadata.ts +1 -1
- package/src/telemetry/BrowserPerformanceClient.ts +5 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
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 v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ResetPasswordSubmitPasswordResult } from '../result/ResetPasswordSubmitPasswordResult.mjs';
|
|
4
4
|
import { ResetPasswordState } from './ResetPasswordState.mjs';
|
package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
|
package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
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 v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
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';
|
package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInCodeRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"SignInCodeRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAO/C,qBAAa,uBAAwB,SAAQ,WAAW,CAAC,iCAAiC,CAAC;IACvF;;;;;OAKG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IA8D/D;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,sBAAsB,CAAC;IA4CnD;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,SAAS,IAAI,MAAM,EAAE,GAAG,SAAS;CAGpC"}
|
package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CustomAuthAccountData } from '../../../get_account/auth_flow/CustomAuthAccountData.mjs';
|
|
4
4
|
import { SignInResendCodeResult } from '../result/SignInResendCodeResult.mjs';
|
|
5
5
|
import { SignInSubmitCodeResult } from '../result/SignInSubmitCodeResult.mjs';
|
|
6
6
|
import { SignInState } from './SignInState.mjs';
|
|
7
7
|
import { SignInCompletedState } from './SignInCompletedState.mjs';
|
|
8
|
+
import { SIGN_IN_COMPLETED_RESULT_TYPE } from '../../interaction_client/result/SignInActionResult.mjs';
|
|
8
9
|
|
|
9
10
|
/*
|
|
10
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34,10 +35,18 @@ class SignInCodeRequiredState extends SignInState {
|
|
|
34
35
|
claims: this.stateParameters.claims,
|
|
35
36
|
};
|
|
36
37
|
this.stateParameters.logger.verbose("Submitting code for sign-in.", this.stateParameters.correlationId);
|
|
37
|
-
const
|
|
38
|
+
const submitCodeResult = await this.stateParameters.signInClient.submitCode(submitCodeParams);
|
|
38
39
|
this.stateParameters.logger.verbose("Code submitted for sign-in.", this.stateParameters.correlationId);
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
if (submitCodeResult.type === SIGN_IN_COMPLETED_RESULT_TYPE) {
|
|
41
|
+
const accountInfo = new CustomAuthAccountData(submitCodeResult.authenticationResult.account, this.stateParameters.config, this.stateParameters.cacheClient, this.stateParameters.logger, this.stateParameters.correlationId);
|
|
42
|
+
return new SignInSubmitCodeResult(new SignInCompletedState(), accountInfo);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
// Unexpected result type
|
|
46
|
+
const result = submitCodeResult;
|
|
47
|
+
const error = new Error(`Unexpected result type: ${result.type}`);
|
|
48
|
+
return SignInSubmitCodeResult.createWithError(error);
|
|
49
|
+
}
|
|
41
50
|
}
|
|
42
51
|
catch (error) {
|
|
43
52
|
this.stateParameters.logger.errorPii(`Failed to submit code for sign-in. Error: ${error}.`, this.stateParameters.correlationId);
|
package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInCodeRequiredState.mjs","sources":["../../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignInCodeRequiredState.mjs","sources":["../../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAAA;;;AAGG;AAcH;;AAEG;AACG,MAAO,uBAAwB,SAAQ,WAA8C,CAAA;AACvF;;;;;AAKG;IACH,MAAM,UAAU,CAAC,IAAY,EAAA;QACzB,IAAI;YACA,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAE9D,YAAA,MAAM,gBAAgB,GAA2B;gBAC7C,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ;AACnD,gBAAA,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC,aAAa;gBACjD,aAAa,EACT,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,IAAI,EAAE;AAC/D,gBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,IAAI,EAAE;AACzC,gBAAA,iBAAiB,EAAE,IAAI,CAAC,eAAe,CAAC,iBAAiB,IAAI,EAAE;AAC/D,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,Q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C,eAAe,CAAC,WAAW;AAC7C,gBAAA,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS;AACzC,gBAAA,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ;gBACvC,UAAU,EAAE,MAAM,CAAC,UAAU;AAC7B,gBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;AACtC,aAAA,CAAC,CACL,CAAC;AACL,SAAA;AAAC,QAAA,OAAO,KAAK,EAAE;AACZ,YAAA,OAAO,sBAAsB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AACxD,SAAA;KACJ;AAED;;;AAGG;IACH,aAAa,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC;KAC1C;AAED;;;AAGG;IACH,SAAS,GAAA;AACL,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC;KACtC;AACJ;;;;"}
|
package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CustomAuthAccountData } from '../../../get_account/auth_flow/CustomAuthAccountData.mjs';
|
|
4
4
|
import { SignInSubmitPasswordResult } from '../result/SignInSubmitPasswordResult.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomAuthInteractionClientBase } from "../../core/interaction_client/CustomAuthInteractionClientBase.js";
|
|
2
2
|
import { SignInStartParams, SignInResendCodeParams, SignInSubmitCodeParams, SignInSubmitPasswordParams, SignInContinuationTokenParams } from "./parameter/SignInParams.js";
|
|
3
|
-
import { SignInCodeSendResult, SignInCompletedResult, SignInPasswordRequiredResult, SignInJitRequiredResult } from "./result/SignInActionResult.js";
|
|
3
|
+
import { SignInCodeSendResult, SignInCompletedResult, SignInPasswordRequiredResult, SignInJitRequiredResult, SignInMfaRequiredResult } from "./result/SignInActionResult.js";
|
|
4
4
|
export declare class SignInClient extends CustomAuthInteractionClientBase {
|
|
5
5
|
/**
|
|
6
6
|
* Starts the signin flow.
|
|
@@ -19,29 +19,31 @@ export declare class SignInClient extends CustomAuthInteractionClientBase {
|
|
|
19
19
|
* @param parameters The parameters required to submit the code.
|
|
20
20
|
* @returns The result of the sign-in submit code action.
|
|
21
21
|
*/
|
|
22
|
-
submitCode(parameters: SignInSubmitCodeParams): Promise<SignInCompletedResult>;
|
|
22
|
+
submitCode(parameters: SignInSubmitCodeParams): Promise<SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult>;
|
|
23
23
|
/**
|
|
24
24
|
* Submits the password for sign-in flow.
|
|
25
25
|
* @param parameters The parameters required to submit the password.
|
|
26
26
|
* @returns The result of the sign-in submit password action.
|
|
27
27
|
*/
|
|
28
|
-
submitPassword(parameters: SignInSubmitPasswordParams): Promise<SignInCompletedResult | SignInJitRequiredResult>;
|
|
28
|
+
submitPassword(parameters: SignInSubmitPasswordParams): Promise<SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult>;
|
|
29
29
|
/**
|
|
30
30
|
* Signs in with continuation token.
|
|
31
31
|
* @param parameters The parameters required to sign in with continuation token.
|
|
32
32
|
* @returns The result of the sign-in complete action.
|
|
33
33
|
*/
|
|
34
|
-
signInWithContinuationToken(parameters: SignInContinuationTokenParams): Promise<SignInCompletedResult | SignInJitRequiredResult>;
|
|
34
|
+
signInWithContinuationToken(parameters: SignInContinuationTokenParams): Promise<SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult>;
|
|
35
35
|
/**
|
|
36
36
|
* Common method to handle token endpoint calls and create sign-in results.
|
|
37
37
|
* @param tokenEndpointCaller Function that calls the specific token endpoint
|
|
38
38
|
* @param scopes Scopes for the token request
|
|
39
39
|
* @param correlationId Correlation ID for logging and result
|
|
40
|
-
* @param
|
|
41
|
-
* @returns SignInCompletedResult with authentication result
|
|
40
|
+
* @param telemetryManager Telemetry manager for telemetry logging
|
|
41
|
+
* @returns SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult with authentication result
|
|
42
42
|
*/
|
|
43
43
|
private performTokenRequest;
|
|
44
44
|
private performChallengeRequest;
|
|
45
45
|
private getPublicApiIdBySignInScenario;
|
|
46
|
+
private handleJitRequiredError;
|
|
47
|
+
private handleMfaRequiredError;
|
|
46
48
|
}
|
|
47
49
|
//# sourceMappingURL=SignInClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignInClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,+BAA+B,EAAE,MAAM,kEAAkE,CAAC;AACnH,OAAO,EACH,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAMH,oBAAoB,EACpB,qBAAqB,EACrB,4BAA4B,EAC5B,uBAAuB,EACvB,uBAAuB,EAE1B,MAAM,gCAAgC,CAAC;AAoBxC,qBAAa,YAAa,SAAQ,+BAA+B;IAC7D;;;;OAIG;IACG,KAAK,CACP,UAAU,EAAE,iBAAiB,GAC9B,OAAO,CAAC,4BAA4B,GAAG,oBAAoB,CAAC;IAoC/D;;;;OAIG;IACG,UAAU,CACZ,UAAU,EAAE,sBAAsB,GACnC,OAAO,CAAC,oBAAoB,CAAC;IA6BhC;;;;OAIG;IACG,UAAU,CACZ,UAAU,EAAE,sBAAsB,GACnC,OAAO,CACJ,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAC5B;IAkCD;;;;OAIG;IACG,cAAc,CAChB,UAAU,EAAE,0BAA0B,GACvC,OAAO,CACJ,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAC5B;IAiCD;;;;OAIG;IACG,2BAA2B,CAC7B,UAAU,EAAE,6BAA6B,GAC1C,OAAO,CACJ,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAC5B;IAgCD;;;;;;;OAOG;YACW,mBAAmB;YA2DnB,uBAAuB;IA6DrC,OAAO,CAAC,8BAA8B;YAiBxB,sBAAsB;YAuCtB,sBAAsB;CAmCvC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
|
-
import { ChallengeType, DefaultCustomAuthApiCodeLength } from '../../CustomAuthConstants.mjs';
|
|
3
|
+
import { GrantType, ChallengeType, DefaultCustomAuthApiCodeLength } from '../../CustomAuthConstants.mjs';
|
|
4
4
|
import { CustomAuthApiError } from '../../core/error/CustomAuthApiError.mjs';
|
|
5
5
|
import { UNSUPPORTED_CHALLENGE_TYPE } from '../../core/network_client/custom_auth_api/types/ApiErrorCodes.mjs';
|
|
6
|
-
import { REGISTRATION_REQUIRED } from '../../core/network_client/custom_auth_api/types/ApiSuberrors.mjs';
|
|
6
|
+
import { REGISTRATION_REQUIRED, MFA_REQUIRED } from '../../core/network_client/custom_auth_api/types/ApiSuberrors.mjs';
|
|
7
7
|
import { CustomAuthInteractionClientBase } from '../../core/interaction_client/CustomAuthInteractionClientBase.mjs';
|
|
8
|
-
import { SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCompleteResult,
|
|
8
|
+
import { SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCompleteResult, createSignInCodeSendResult, createSignInPasswordRequiredResult, createSignInJitRequiredResult, createSignInMfaRequiredResult } from './result/SignInActionResult.mjs';
|
|
9
9
|
import { SIGN_IN_WITH_CODE_START, SIGN_IN_WITH_PASSWORD_START, SIGN_IN_RESEND_CODE, SIGN_IN_SUBMIT_CODE, SIGN_IN_SUBMIT_PASSWORD, SIGN_IN_AFTER_PASSWORD_RESET, SIGN_IN_AFTER_SIGN_UP } from '../../core/telemetry/PublicApiId.mjs';
|
|
10
10
|
import { SignInScenario } from '../auth_flow/SignInScenario.mjs';
|
|
11
11
|
import { UnexpectedError } from '../../core/error/UnexpectedError.mjs';
|
|
@@ -77,6 +77,7 @@ class SignInClient extends CustomAuthInteractionClientBase {
|
|
|
77
77
|
const request = {
|
|
78
78
|
continuation_token: parameters.continuationToken,
|
|
79
79
|
oob: parameters.code,
|
|
80
|
+
grant_type: GrantType.OOB,
|
|
80
81
|
scope: scopes.join(" "),
|
|
81
82
|
correlationId: parameters.correlationId,
|
|
82
83
|
telemetryManager: telemetryManager,
|
|
@@ -84,9 +85,7 @@ class SignInClient extends CustomAuthInteractionClientBase {
|
|
|
84
85
|
claims: parameters.claims,
|
|
85
86
|
}),
|
|
86
87
|
};
|
|
87
|
-
|
|
88
|
-
);
|
|
89
|
-
return result;
|
|
88
|
+
return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithOob(request), scopes, parameters.correlationId, telemetryManager);
|
|
90
89
|
}
|
|
91
90
|
/**
|
|
92
91
|
* Submits the password for sign-in flow.
|
|
@@ -108,8 +107,7 @@ class SignInClient extends CustomAuthInteractionClientBase {
|
|
|
108
107
|
claims: parameters.claims,
|
|
109
108
|
}),
|
|
110
109
|
};
|
|
111
|
-
return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithPassword(request), scopes, parameters.correlationId, telemetryManager
|
|
112
|
-
);
|
|
110
|
+
return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithPassword(request), scopes, parameters.correlationId, telemetryManager);
|
|
113
111
|
}
|
|
114
112
|
/**
|
|
115
113
|
* Signs in with continuation token.
|
|
@@ -132,18 +130,17 @@ class SignInClient extends CustomAuthInteractionClientBase {
|
|
|
132
130
|
}),
|
|
133
131
|
};
|
|
134
132
|
// Call token endpoint.
|
|
135
|
-
return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokenWithContinuationToken(request), scopes, parameters.correlationId, telemetryManager
|
|
136
|
-
);
|
|
133
|
+
return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokenWithContinuationToken(request), scopes, parameters.correlationId, telemetryManager);
|
|
137
134
|
}
|
|
138
135
|
/**
|
|
139
136
|
* Common method to handle token endpoint calls and create sign-in results.
|
|
140
137
|
* @param tokenEndpointCaller Function that calls the specific token endpoint
|
|
141
138
|
* @param scopes Scopes for the token request
|
|
142
139
|
* @param correlationId Correlation ID for logging and result
|
|
143
|
-
* @param
|
|
144
|
-
* @returns SignInCompletedResult with authentication result
|
|
140
|
+
* @param telemetryManager Telemetry manager for telemetry logging
|
|
141
|
+
* @returns SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult with authentication result
|
|
145
142
|
*/
|
|
146
|
-
async performTokenRequest(tokenEndpointCaller, scopes, correlationId, telemetryManager
|
|
143
|
+
async performTokenRequest(tokenEndpointCaller, scopes, correlationId, telemetryManager) {
|
|
147
144
|
this.logger.verbose("Calling token endpoint for sign in.", correlationId);
|
|
148
145
|
try {
|
|
149
146
|
const tokenResponse = await tokenEndpointCaller();
|
|
@@ -155,22 +152,13 @@ class SignInClient extends CustomAuthInteractionClientBase {
|
|
|
155
152
|
});
|
|
156
153
|
}
|
|
157
154
|
catch (error) {
|
|
158
|
-
if (
|
|
159
|
-
error instanceof CustomAuthApiError &&
|
|
155
|
+
if (error instanceof CustomAuthApiError &&
|
|
160
156
|
error.subError === REGISTRATION_REQUIRED) {
|
|
161
|
-
this.
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
telemetryManager,
|
|
167
|
-
};
|
|
168
|
-
const introspectResponse = await this.customAuthApiClient.registerApi.introspect(introspectRequest);
|
|
169
|
-
return createSignInJitRequiredResult({
|
|
170
|
-
correlationId: introspectResponse.correlation_id ?? correlationId,
|
|
171
|
-
continuationToken: introspectResponse.continuation_token ?? "",
|
|
172
|
-
authMethods: introspectResponse.methods,
|
|
173
|
-
});
|
|
157
|
+
return this.handleJitRequiredError(error, telemetryManager, correlationId);
|
|
158
|
+
}
|
|
159
|
+
else if (error instanceof CustomAuthApiError &&
|
|
160
|
+
error.subError === MFA_REQUIRED) {
|
|
161
|
+
return this.handleMfaRequiredError(error, telemetryManager, correlationId);
|
|
174
162
|
}
|
|
175
163
|
// Re-throw any other errors or JIT errors when handleJit is false
|
|
176
164
|
throw error;
|
|
@@ -214,6 +202,40 @@ class SignInClient extends CustomAuthInteractionClientBase {
|
|
|
214
202
|
throw new UnexpectedError(`Unsupported sign-in scenario '${scenario}'.`, correlationId);
|
|
215
203
|
}
|
|
216
204
|
}
|
|
205
|
+
async handleJitRequiredError(error, telemetryManager, correlationId) {
|
|
206
|
+
this.logger.verbose("Auth method registration required for sign in.", correlationId);
|
|
207
|
+
// Call register introspect endpoint to get available authentication methods
|
|
208
|
+
const introspectRequest = {
|
|
209
|
+
continuation_token: error.continuationToken ?? "",
|
|
210
|
+
correlationId: error.correlationId ?? correlationId,
|
|
211
|
+
telemetryManager,
|
|
212
|
+
};
|
|
213
|
+
this.logger.verbose("Calling introspect endpoint for getting auth methods.", correlationId);
|
|
214
|
+
const introspectResponse = await this.customAuthApiClient.registerApi.introspect(introspectRequest);
|
|
215
|
+
this.logger.verbose("Introspect endpoint called for getting auth methods.", introspectResponse.correlation_id ?? correlationId);
|
|
216
|
+
return createSignInJitRequiredResult({
|
|
217
|
+
correlationId: introspectResponse.correlation_id ?? correlationId,
|
|
218
|
+
continuationToken: introspectResponse.continuation_token ?? "",
|
|
219
|
+
authMethods: introspectResponse.methods,
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
async handleMfaRequiredError(error, telemetryManager, correlationId) {
|
|
223
|
+
this.logger.verbose("MFA required for sign in.", correlationId);
|
|
224
|
+
// Call sign-in introspect endpoint to get available MFA methods
|
|
225
|
+
const introspectRequest = {
|
|
226
|
+
continuation_token: error.continuationToken ?? "",
|
|
227
|
+
correlationId: error.correlationId ?? correlationId,
|
|
228
|
+
telemetryManager,
|
|
229
|
+
};
|
|
230
|
+
this.logger.verbose("Calling introspect endpoint for MFA auth methods.", correlationId);
|
|
231
|
+
const introspectResponse = await this.customAuthApiClient.signInApi.requestAuthMethods(introspectRequest);
|
|
232
|
+
this.logger.verbose("Introspect endpoint called for MFA auth methods.", introspectResponse.correlation_id ?? correlationId);
|
|
233
|
+
return createSignInMfaRequiredResult({
|
|
234
|
+
correlationId: introspectResponse.correlation_id ?? correlationId,
|
|
235
|
+
continuationToken: introspectResponse.continuation_token ?? "",
|
|
236
|
+
authMethods: introspectResponse.methods,
|
|
237
|
+
});
|
|
238
|
+
}
|
|
217
239
|
}
|
|
218
240
|
|
|
219
241
|
export { SignInClient };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInClient.mjs","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"sourcesContent":[null],"names":["PublicApiId.SIGN_IN_WITH_CODE_START","PublicApiId.SIGN_IN_WITH_PASSWORD_START","PublicApiId.SIGN_IN_RESEND_CODE","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","PublicApiId.SIGN_IN_SUBMIT_CODE","PublicApiId.SIGN_IN_SUBMIT_PASSWORD","PublicApiId.SIGN_IN_AFTER_SIGN_UP","PublicApiId.SIGN_IN_AFTER_PASSWORD_RESET"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"SignInClient.mjs","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"sourcesContent":[null],"names":["PublicApiId.SIGN_IN_WITH_CODE_START","PublicApiId.SIGN_IN_WITH_PASSWORD_START","PublicApiId.SIGN_IN_RESEND_CODE","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","PublicApiId.SIGN_IN_SUBMIT_CODE","PublicApiId.SIGN_IN_SUBMIT_PASSWORD","PublicApiId.SIGN_IN_AFTER_SIGN_UP","PublicApiId.SIGN_IN_AFTER_PASSWORD_RESET"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;AAsDG,MAAO,YAAa,SAAQ,+BAA+B,CAAA;AAC7D;;;;AAIG;IACH,MAAM,KAAK,CACP,UAA6B,EAAA;AAE7B,QAAA,MAAM,KAAK,GAAG,CAAC,UAAU,CAAC,QAAQ;cAC5BA,uBAAmC;AACrC,cAAEC,2BAAuC,CAAC;QAC9C,MAAM,gBAAgB,GAAG,IAAI,CAAC,gCAAgC,CAAC,KAAK,CAAC,CAAC;QAEtE,IAAI,CAAC,MAAM,CAAC,OAAO,CACf,wCAAwC,EACxC,UAAU,CAAC,aAAa,CAC3B,CAAC;AAEF,QAAA,MAAM,OAAO,GAA0B;YACnC,cAAc,EAAE,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,aAAa,CAAC;YAChE,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,aAAa,EAAE,UAAU,CAAC,aAAa;AACvC,YAAA,gBAAgB,EAAE,gBAAgB;SACrC,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAClB,MAAM,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAE/D,IAAI,CAAC,MAAM,CAAC,OAAO,CACf,uCAAuC,EACvC,UAAU,CAAC,aAAa,CAC3B,CAAC;AAEF,QAAA,MAAM,YAAY,GAA2B;YACzC,cAAc,EAAE,IAAI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I,CAAC,MAAM,CAAC,OAAO,CAAC,2BAA2B,EAAE,aAAa,CAAC,CAAC;;AAGhE,QAAA,MAAM,iBAAiB,GAA4B;AAC/C,YAAA,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,IAAI,EAAE;AACjD,YAAA,aAAa,EAAE,KAAK,CAAC,aAAa,IAAI,aAAa;YACnD,gBAAgB;SACnB,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,OAAO,CACf,mDAAmD,EACnD,aAAa,CAChB,CAAC;AAEF,QAAA,MAAM,kBAAkB,GACpB,MAAM,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,kBAAkB,CACvD,iBAAiB,CACpB,CAAC;AAEN,QAAA,IAAI,CAAC,MAAM,CAAC,OAAO,CACf,kDAAkD,EAClD,kBAAkB,CAAC,cAAc,IAAI,aAAa,CACrD,CAAC;AAEF,QAAA,OAAO,6BAA6B,CAAC;AACjC,YAAA,aAAa,EAAE,kBAAkB,CAAC,cAAc,IAAI,aAAa;AACjE,YAAA,iBAAiB,EAAE,kBAAkB,CAAC,kBAAkB,IAAI,EAAE;YAC9D,WAAW,EAAE,kBAAkB,CAAC,OAAO;AAC1C,SAAA,CAAC,CAAC;KACN;AACJ;;;;"}
|
package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts
CHANGED
|
@@ -25,13 +25,19 @@ export interface SignInJitRequiredResult extends SignInContinuationTokenResult {
|
|
|
25
25
|
type: typeof SIGN_IN_JIT_REQUIRED_RESULT_TYPE;
|
|
26
26
|
authMethods: AuthenticationMethod[];
|
|
27
27
|
}
|
|
28
|
+
export interface SignInMfaRequiredResult extends SignInContinuationTokenResult {
|
|
29
|
+
type: typeof SIGN_IN_MFA_REQUIRED_RESULT_TYPE;
|
|
30
|
+
authMethods: AuthenticationMethod[];
|
|
31
|
+
}
|
|
28
32
|
export declare const SIGN_IN_CODE_SEND_RESULT_TYPE = "SignInCodeSendResult";
|
|
29
33
|
export declare const SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE = "SignInPasswordRequiredResult";
|
|
30
34
|
export declare const SIGN_IN_COMPLETED_RESULT_TYPE = "SignInCompletedResult";
|
|
31
35
|
export declare const SIGN_IN_JIT_REQUIRED_RESULT_TYPE = "SignInJitRequiredResult";
|
|
36
|
+
export declare const SIGN_IN_MFA_REQUIRED_RESULT_TYPE = "SignInMfaRequiredResult";
|
|
32
37
|
export declare function createSignInCompleteResult(input: Omit<SignInCompletedResult, "type">): SignInCompletedResult;
|
|
33
38
|
export declare function createSignInPasswordRequiredResult(input: Omit<SignInPasswordRequiredResult, "type">): SignInPasswordRequiredResult;
|
|
34
39
|
export declare function createSignInCodeSendResult(input: Omit<SignInCodeSendResult, "type">): SignInCodeSendResult;
|
|
35
40
|
export declare function createSignInJitRequiredResult(input: Omit<SignInJitRequiredResult, "type">): SignInJitRequiredResult;
|
|
41
|
+
export declare function createSignInMfaRequiredResult(input: Omit<SignInMfaRequiredResult, "type">): SignInMfaRequiredResult;
|
|
36
42
|
export {};
|
|
37
43
|
//# sourceMappingURL=SignInActionResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInActionResult.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wEAAwE,CAAC;AAE9G,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,6BAA8B,SAAQ,kBAAkB;IAC9D,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC7D,IAAI,EAAE,OAAO,6BAA6B,CAAC;IAC3C,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C;AAED,MAAM,WAAW,4BACb,SAAQ,6BAA6B;IACrC,IAAI,EAAE,OAAO,qCAAqC,CAAC;CACtD;AAED,MAAM,WAAW,oBAAqB,SAAQ,6BAA6B;IACvE,IAAI,EAAE,OAAO,6BAA6B,CAAC;IAC3C,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,uBAAwB,SAAQ,6BAA6B;IAC1E,IAAI,EAAE,OAAO,gCAAgC,CAAC;IAC9C,WAAW,EAAE,oBAAoB,EAAE,CAAC;CACvC;AAED,eAAO,MAAM,6BAA6B,yBAAyB,CAAC;AACpE,eAAO,MAAM,qCAAqC,iCAChB,CAAC;AACnC,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AACrE,eAAO,MAAM,gCAAgC,4BAA4B,CAAC;AAE1E,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAC3C,qBAAqB,CAKvB;AAED,wBAAgB,kCAAkC,CAC9C,KAAK,EAAE,IAAI,CAAC,4BAA4B,EAAE,MAAM,CAAC,GAClD,4BAA4B,CAK9B;AAED,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAC1C,oBAAoB,CAKtB;AAED,wBAAgB,6BAA6B,CACzC,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,MAAM,CAAC,GAC7C,uBAAuB,CAKzB"}
|
|
1
|
+
{"version":3,"file":"SignInActionResult.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wEAAwE,CAAC;AAE9G,UAAU,kBAAkB;IACxB,IAAI,EAAE,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AAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAC1C,oBAAoB,CAKtB;AAED,wBAAgB,6BAA6B,CACzC,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,MAAM,CAAC,GAC7C,uBAAuB,CAKzB;AAED,wBAAgB,6BAA6B,CACzC,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,MAAM,CAAC,GAC7C,uBAAuB,CAKzB"}
|
package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8,6 +8,7 @@ const SIGN_IN_CODE_SEND_RESULT_TYPE = "SignInCodeSendResult";
|
|
|
8
8
|
const SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE = "SignInPasswordRequiredResult";
|
|
9
9
|
const SIGN_IN_COMPLETED_RESULT_TYPE = "SignInCompletedResult";
|
|
10
10
|
const SIGN_IN_JIT_REQUIRED_RESULT_TYPE = "SignInJitRequiredResult";
|
|
11
|
+
const SIGN_IN_MFA_REQUIRED_RESULT_TYPE = "SignInMfaRequiredResult";
|
|
11
12
|
function createSignInCompleteResult(input) {
|
|
12
13
|
return {
|
|
13
14
|
type: SIGN_IN_COMPLETED_RESULT_TYPE,
|
|
@@ -31,7 +32,13 @@ function createSignInJitRequiredResult(input) {
|
|
|
31
32
|
type: SIGN_IN_JIT_REQUIRED_RESULT_TYPE,
|
|
32
33
|
...input,
|
|
33
34
|
};
|
|
35
|
+
}
|
|
36
|
+
function createSignInMfaRequiredResult(input) {
|
|
37
|
+
return {
|
|
38
|
+
type: SIGN_IN_MFA_REQUIRED_RESULT_TYPE,
|
|
39
|
+
...input,
|
|
40
|
+
};
|
|
34
41
|
}
|
|
35
42
|
|
|
36
|
-
export { SIGN_IN_CODE_SEND_RESULT_TYPE, SIGN_IN_COMPLETED_RESULT_TYPE, SIGN_IN_JIT_REQUIRED_RESULT_TYPE, SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCodeSendResult, createSignInCompleteResult, createSignInJitRequiredResult, createSignInPasswordRequiredResult };
|
|
43
|
+
export { SIGN_IN_CODE_SEND_RESULT_TYPE, SIGN_IN_COMPLETED_RESULT_TYPE, SIGN_IN_JIT_REQUIRED_RESULT_TYPE, SIGN_IN_MFA_REQUIRED_RESULT_TYPE, SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCodeSendResult, createSignInCompleteResult, createSignInJitRequiredResult, createSignInMfaRequiredResult, createSignInPasswordRequiredResult };
|
|
37
44
|
//# sourceMappingURL=SignInActionResult.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInActionResult.mjs","sources":["../../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"SignInActionResult.mjs","sources":["../../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AA0CI,MAAM,6BAA6B,GAAG,uBAAuB;AAC7D,MAAM,qCAAqC,GAC9C,+BAA+B;AAC5B,MAAM,6BAA6B,GAAG,wBAAwB;AAC9D,MAAM,gCAAgC,GAAG,0BAA0B;AACnE,MAAM,gCAAgC,GAAG,0BAA0B;AAEpE,SAAU,0BAA0B,CACtC,KAA0C,EAAA;IAE1C,OAAO;AACH,QAAA,IAAI,EAAE,6BAA6B;AACnC,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,kCAAkC,CAC9C,KAAiD,EAAA;IAEjD,OAAO;AACH,QAAA,IAAI,EAAE,qCAAqC;AAC3C,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,0BAA0B,CACtC,KAAyC,EAAA;IAEzC,OAAO;AACH,QAAA,IAAI,EAAE,6BAA6B;AACnC,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,6BAA6B,CACzC,KAA4C,EAAA;IAE5C,OAAO;AACH,QAAA,IAAI,EAAE,gCAAgC;AACtC,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,6BAA6B,CACzC,KAA4C,EAAA;IAE5C,OAAO;AACH,QAAA,IAAI,EAAE,gCAAgC;AACtC,QAAA,GAAG,KAAK;KACX,CAAC;AACN;;;;"}
|
package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { SignUpSubmitAttributesError } from '../error_type/SignUpError.mjs';
|
package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { SignUpSubmitPasswordError } from '../error_type/SignUpError.mjs';
|
package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { InvalidArgumentError } from '../../../core/error/InvalidArgumentError.mjs';
|
|
4
4
|
import { UnexpectedError } from '../../../core/error/UnexpectedError.mjs';
|
package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { UnexpectedError } from '../../../core/error/UnexpectedError.mjs';
|
|
4
4
|
import { SIGN_UP_PASSWORD_REQUIRED_RESULT_TYPE, SIGN_UP_ATTRIBUTES_REQUIRED_RESULT_TYPE, SIGN_UP_COMPLETED_RESULT_TYPE } from '../../interaction_client/result/SignUpActionResult.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
4
|
import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CustomAuthApiError } from '../../core/error/CustomAuthApiError.mjs';
|
|
4
4
|
import { UNSUPPORTED_CHALLENGE_TYPE, ATTRIBUTES_REQUIRED, CREDENTIAL_REQUIRED, INVALID_RESPONSE_BODY, CONTINUATION_TOKEN_MISSING } from '../../core/network_client/custom_auth_api/types/ApiErrorCodes.mjs';
|