@azure/msal-browser 4.21.0 → 4.21.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/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.mjs +1 -1
- package/dist/controllers/StandardController.mjs +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/StandardController.mjs +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 +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +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 +5 -0
- 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 +8 -1
- 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/error/CustomAuthApiError.d.ts +2 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +5 -3
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +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 +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +5 -5
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +8 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
- 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 +8 -1
- 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.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +8 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +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/ApiSuberrors.mjs +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.mjs +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.d.ts +0 -15
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -22
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +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.d.ts +0 -10
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -15
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +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/SignInSubmitCredentialResult.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.mjs +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.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -36
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +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/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 +1 -1
- package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
- package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
- 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/SignupApiClient.d.ts +3 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.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.mjs +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 +102 -142
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
- 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/error/CustomAuthApiError.d.ts +2 -1
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
- 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/SignupApiClient.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/msal-browser.cjs +66 -66
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +66 -66
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +60 -60
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
- package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
- package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
- 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/SignupApiClient.d.ts +3 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
- package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
- package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +1 -1
- package/src/custom_auth/configuration/CustomAuthConfiguration.ts +1 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +2 -1
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +8 -0
- package/src/custom_auth/core/error/CustomAuthApiError.ts +3 -2
- package/src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts +4 -1
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +8 -4
- package/src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts +16 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +16 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts +16 -0
- package/src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts +1 -25
- package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +1 -17
- package/src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts +1 -41
- package/src/packageMetadata.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.21.
|
|
1
|
+
/*! @azure/msal-browser v4.21.1 2025-08-27 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -276,7 +276,7 @@ const JsonWebTokenTypes = {
|
|
|
276
276
|
// Token renewal offset default in seconds
|
|
277
277
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
278
278
|
|
|
279
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
279
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
280
280
|
/*
|
|
281
281
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
282
282
|
* Licensed under the MIT License.
|
|
@@ -287,7 +287,7 @@ const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
|
287
287
|
const unexpectedError = "unexpected_error";
|
|
288
288
|
const postRequestFailed$1 = "post_request_failed";
|
|
289
289
|
|
|
290
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
290
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
291
291
|
|
|
292
292
|
/*
|
|
293
293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -322,7 +322,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
322
322
|
: AuthErrorMessages[code]);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
325
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
326
326
|
/*
|
|
327
327
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
328
328
|
* Licensed under the MIT License.
|
|
@@ -372,7 +372,7 @@ const missingTenantIdError = "missing_tenant_id_error";
|
|
|
372
372
|
const methodNotImplemented = "method_not_implemented";
|
|
373
373
|
const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
|
|
374
374
|
|
|
375
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
375
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
376
376
|
|
|
377
377
|
/*
|
|
378
378
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -446,7 +446,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
446
446
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
449
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
450
450
|
|
|
451
451
|
/*
|
|
452
452
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -485,7 +485,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
485
485
|
},
|
|
486
486
|
};
|
|
487
487
|
|
|
488
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
488
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
489
489
|
|
|
490
490
|
/*
|
|
491
491
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -676,12 +676,12 @@ class Logger {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
679
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
680
680
|
/* eslint-disable header/header */
|
|
681
681
|
const name$1 = "@azure/msal-common";
|
|
682
682
|
const version$1 = "15.12.0";
|
|
683
683
|
|
|
684
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
684
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
685
685
|
/*
|
|
686
686
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
687
687
|
* Licensed under the MIT License.
|
|
@@ -690,7 +690,7 @@ const AzureCloudInstance = {
|
|
|
690
690
|
// AzureCloudInstance is not specified.
|
|
691
691
|
None: "none"};
|
|
692
692
|
|
|
693
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
693
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
694
694
|
/*
|
|
695
695
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
696
696
|
* Licensed under the MIT License.
|
|
@@ -719,7 +719,7 @@ const authorityMismatch = "authority_mismatch";
|
|
|
719
719
|
const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
720
720
|
const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
721
721
|
|
|
722
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
722
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
723
723
|
|
|
724
724
|
/*
|
|
725
725
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -764,7 +764,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
764
764
|
return new ClientConfigurationError(errorCode);
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
767
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
768
768
|
/*
|
|
769
769
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
770
770
|
* Licensed under the MIT License.
|
|
@@ -861,7 +861,7 @@ class StringUtils {
|
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
864
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
865
865
|
|
|
866
866
|
/*
|
|
867
867
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1056,7 +1056,7 @@ class ScopeSet {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1059
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1060
1060
|
/*
|
|
1061
1061
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1062
1062
|
* Licensed under the MIT License.
|
|
@@ -1138,7 +1138,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1138
1138
|
return updatedAccountInfo;
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
1141
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1141
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1142
1142
|
|
|
1143
1143
|
/*
|
|
1144
1144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1199,7 +1199,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
1201
|
|
|
1202
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1202
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1203
1203
|
|
|
1204
1204
|
/*
|
|
1205
1205
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1315,7 +1315,7 @@ function normalizeUrlForComparison(url) {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
}
|
|
1317
1317
|
|
|
1318
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1318
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1319
1319
|
|
|
1320
1320
|
/*
|
|
1321
1321
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1479,7 +1479,7 @@ class UrlString {
|
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1482
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1483
1483
|
|
|
1484
1484
|
/*
|
|
1485
1485
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1618,7 +1618,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1618
1618
|
return null;
|
|
1619
1619
|
}
|
|
1620
1620
|
|
|
1621
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1621
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1622
1622
|
/*
|
|
1623
1623
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1624
1624
|
* Licensed under the MIT License.
|
|
@@ -1626,7 +1626,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1626
1626
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
1627
1627
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
1628
1628
|
|
|
1629
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1629
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1630
1630
|
|
|
1631
1631
|
/*
|
|
1632
1632
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1671,7 +1671,7 @@ function createCacheError(e) {
|
|
|
1671
1671
|
}
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
1674
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
1675
1675
|
|
|
1676
1676
|
/*
|
|
1677
1677
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2779,7 +2779,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
2779
2779
|
}
|
|
2780
2780
|
}
|
|
2781
2781
|
|
|
2782
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
2782
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
2783
2783
|
/*
|
|
2784
2784
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2785
2785
|
* Licensed under the MIT License.
|
|
@@ -2803,7 +2803,7 @@ const ProtocolMode = {
|
|
|
2803
2803
|
EAR: "EAR",
|
|
2804
2804
|
};
|
|
2805
2805
|
|
|
2806
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
2806
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
2807
2807
|
/*
|
|
2808
2808
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2809
2809
|
* Licensed under the MIT License.
|
|
@@ -3070,7 +3070,7 @@ const PerformanceEvents = {
|
|
|
3070
3070
|
const PerformanceEventStatus = {
|
|
3071
3071
|
InProgress: 1};
|
|
3072
3072
|
|
|
3073
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3073
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3074
3074
|
|
|
3075
3075
|
/*
|
|
3076
3076
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3149,7 +3149,7 @@ class StubPerformanceClient {
|
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
3151
3151
|
|
|
3152
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3152
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3153
3153
|
|
|
3154
3154
|
/*
|
|
3155
3155
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3249,7 +3249,7 @@ function isOidcProtocolMode(config) {
|
|
|
3249
3249
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3250
3250
|
}
|
|
3251
3251
|
|
|
3252
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3252
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3253
3253
|
/*
|
|
3254
3254
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3255
3255
|
* Licensed under the MIT License.
|
|
@@ -3259,7 +3259,7 @@ const CcsCredentialType = {
|
|
|
3259
3259
|
UPN: "UPN",
|
|
3260
3260
|
};
|
|
3261
3261
|
|
|
3262
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3262
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3263
3263
|
|
|
3264
3264
|
/*
|
|
3265
3265
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3299,7 +3299,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
3299
3299
|
};
|
|
3300
3300
|
}
|
|
3301
3301
|
|
|
3302
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3302
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3303
3303
|
/*
|
|
3304
3304
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3305
3305
|
* Licensed under the MIT License.
|
|
@@ -3349,7 +3349,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
3349
3349
|
const EAR_JWK = "ear_jwk";
|
|
3350
3350
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
3351
3351
|
|
|
3352
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3352
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3353
3353
|
|
|
3354
3354
|
/*
|
|
3355
3355
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3729,7 +3729,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
|
|
|
3729
3729
|
});
|
|
3730
3730
|
}
|
|
3731
3731
|
|
|
3732
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3732
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3733
3733
|
/*
|
|
3734
3734
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3735
3735
|
* Licensed under the MIT License.
|
|
@@ -3744,7 +3744,7 @@ const AuthorityType = {
|
|
|
3744
3744
|
Ciam: 3,
|
|
3745
3745
|
};
|
|
3746
3746
|
|
|
3747
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3747
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3748
3748
|
/*
|
|
3749
3749
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3750
3750
|
* Licensed under the MIT License.
|
|
@@ -3756,7 +3756,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
3756
3756
|
response.hasOwnProperty("jwks_uri"));
|
|
3757
3757
|
}
|
|
3758
3758
|
|
|
3759
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3759
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3760
3760
|
/*
|
|
3761
3761
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3762
3762
|
* Licensed under the MIT License.
|
|
@@ -3766,7 +3766,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
3766
3766
|
response.hasOwnProperty("metadata"));
|
|
3767
3767
|
}
|
|
3768
3768
|
|
|
3769
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3769
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3770
3770
|
/*
|
|
3771
3771
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3772
3772
|
* Licensed under the MIT License.
|
|
@@ -3776,7 +3776,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
3776
3776
|
response.hasOwnProperty("error_description"));
|
|
3777
3777
|
}
|
|
3778
3778
|
|
|
3779
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3779
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3780
3780
|
/*
|
|
3781
3781
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3782
3782
|
* Licensed under the MIT License.
|
|
@@ -3872,7 +3872,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
3872
3872
|
};
|
|
3873
3873
|
};
|
|
3874
3874
|
|
|
3875
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3875
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3876
3876
|
|
|
3877
3877
|
/*
|
|
3878
3878
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3978,7 +3978,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
3978
3978
|
},
|
|
3979
3979
|
};
|
|
3980
3980
|
|
|
3981
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
3981
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
3982
3982
|
/*
|
|
3983
3983
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3984
3984
|
* Licensed under the MIT License.
|
|
@@ -4043,7 +4043,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
4043
4043
|
return cachedAtSec > nowSeconds();
|
|
4044
4044
|
}
|
|
4045
4045
|
|
|
4046
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
4046
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
4047
4047
|
|
|
4048
4048
|
/*
|
|
4049
4049
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4305,7 +4305,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4305
4305
|
return metadata.expiresAt <= nowSeconds();
|
|
4306
4306
|
}
|
|
4307
4307
|
|
|
4308
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
4308
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
4309
4309
|
|
|
4310
4310
|
/*
|
|
4311
4311
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5144,7 +5144,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5144
5144
|
};
|
|
5145
5145
|
}
|
|
5146
5146
|
|
|
5147
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5147
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5148
5148
|
|
|
5149
5149
|
/*
|
|
5150
5150
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5175,7 +5175,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
5175
5175
|
}
|
|
5176
5176
|
}
|
|
5177
5177
|
|
|
5178
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5178
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5179
5179
|
|
|
5180
5180
|
/*
|
|
5181
5181
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5194,7 +5194,7 @@ class ServerError extends AuthError {
|
|
|
5194
5194
|
}
|
|
5195
5195
|
}
|
|
5196
5196
|
|
|
5197
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5197
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5198
5198
|
/*
|
|
5199
5199
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5200
5200
|
* Licensed under the MIT License.
|
|
@@ -5215,7 +5215,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5215
5215
|
};
|
|
5216
5216
|
}
|
|
5217
5217
|
|
|
5218
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5218
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5219
5219
|
|
|
5220
5220
|
/*
|
|
5221
5221
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5302,7 +5302,7 @@ class ThrottlingUtils {
|
|
|
5302
5302
|
}
|
|
5303
5303
|
}
|
|
5304
5304
|
|
|
5305
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5305
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5306
5306
|
|
|
5307
5307
|
/*
|
|
5308
5308
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5333,7 +5333,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5333
5333
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5334
5334
|
}
|
|
5335
5335
|
|
|
5336
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5336
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5337
5337
|
|
|
5338
5338
|
/*
|
|
5339
5339
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5481,7 +5481,7 @@ class BaseClient {
|
|
|
5481
5481
|
}
|
|
5482
5482
|
}
|
|
5483
5483
|
|
|
5484
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5484
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5485
5485
|
/*
|
|
5486
5486
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5487
5487
|
* Licensed under the MIT License.
|
|
@@ -5503,7 +5503,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
5503
5503
|
return null;
|
|
5504
5504
|
}
|
|
5505
5505
|
|
|
5506
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5506
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5507
5507
|
|
|
5508
5508
|
/*
|
|
5509
5509
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5718,7 +5718,7 @@ class AccountEntity {
|
|
|
5718
5718
|
}
|
|
5719
5719
|
}
|
|
5720
5720
|
|
|
5721
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5721
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5722
5722
|
/*
|
|
5723
5723
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5724
5724
|
* Licensed under the MIT License.
|
|
@@ -5734,7 +5734,7 @@ const consentRequired = "consent_required";
|
|
|
5734
5734
|
const loginRequired = "login_required";
|
|
5735
5735
|
const badToken = "bad_token";
|
|
5736
5736
|
|
|
5737
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5737
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5738
5738
|
|
|
5739
5739
|
/*
|
|
5740
5740
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5806,7 +5806,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
5806
5806
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
5807
5807
|
}
|
|
5808
5808
|
|
|
5809
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5809
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5810
5810
|
|
|
5811
5811
|
/*
|
|
5812
5812
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5878,7 +5878,7 @@ class ProtocolUtils {
|
|
|
5878
5878
|
}
|
|
5879
5879
|
}
|
|
5880
5880
|
|
|
5881
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5881
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5882
5882
|
|
|
5883
5883
|
/*
|
|
5884
5884
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5960,7 +5960,7 @@ class PopTokenGenerator {
|
|
|
5960
5960
|
}
|
|
5961
5961
|
}
|
|
5962
5962
|
|
|
5963
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5963
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5964
5964
|
/*
|
|
5965
5965
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5966
5966
|
* Licensed under the MIT License.
|
|
@@ -5987,7 +5987,7 @@ class PopTokenGenerator {
|
|
|
5987
5987
|
}
|
|
5988
5988
|
}
|
|
5989
5989
|
|
|
5990
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
5990
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
5991
5991
|
|
|
5992
5992
|
/*
|
|
5993
5993
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6318,7 +6318,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6318
6318
|
return baseAccount;
|
|
6319
6319
|
}
|
|
6320
6320
|
|
|
6321
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
6321
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
6322
6322
|
/*
|
|
6323
6323
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6324
6324
|
* Licensed under the MIT License.
|
|
@@ -6336,7 +6336,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
6336
6336
|
}
|
|
6337
6337
|
}
|
|
6338
6338
|
|
|
6339
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
6339
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
6340
6340
|
|
|
6341
6341
|
/*
|
|
6342
6342
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6571,7 +6571,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
6571
6571
|
}
|
|
6572
6572
|
}
|
|
6573
6573
|
|
|
6574
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
6574
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
6575
6575
|
|
|
6576
6576
|
/*
|
|
6577
6577
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6780,7 +6780,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
6780
6780
|
}
|
|
6781
6781
|
}
|
|
6782
6782
|
|
|
6783
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
6783
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
6784
6784
|
|
|
6785
6785
|
/*
|
|
6786
6786
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6878,7 +6878,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
6878
6878
|
}
|
|
6879
6879
|
}
|
|
6880
6880
|
|
|
6881
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
6881
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
6882
6882
|
|
|
6883
6883
|
/*
|
|
6884
6884
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6893,7 +6893,7 @@ const StubbedNetworkModule = {
|
|
|
6893
6893
|
},
|
|
6894
6894
|
};
|
|
6895
6895
|
|
|
6896
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
6896
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
6897
6897
|
|
|
6898
6898
|
/*
|
|
6899
6899
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7117,7 +7117,7 @@ function extractLoginHint(account) {
|
|
|
7117
7117
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7118
7118
|
}
|
|
7119
7119
|
|
|
7120
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
7120
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
7121
7121
|
|
|
7122
7122
|
/*
|
|
7123
7123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7380,7 +7380,7 @@ class ServerTelemetryManager {
|
|
|
7380
7380
|
}
|
|
7381
7381
|
}
|
|
7382
7382
|
|
|
7383
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
7383
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
7384
7384
|
/*
|
|
7385
7385
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7386
7386
|
* Licensed under the MIT License.
|
|
@@ -7388,7 +7388,7 @@ class ServerTelemetryManager {
|
|
|
7388
7388
|
const missingKidError = "missing_kid_error";
|
|
7389
7389
|
const missingAlgError = "missing_alg_error";
|
|
7390
7390
|
|
|
7391
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
7391
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
7392
7392
|
|
|
7393
7393
|
/*
|
|
7394
7394
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7413,7 +7413,7 @@ function createJoseHeaderError(code) {
|
|
|
7413
7413
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
7414
7414
|
}
|
|
7415
7415
|
|
|
7416
|
-
/*! @azure/msal-common v15.12.0 2025-08-
|
|
7416
|
+
/*! @azure/msal-common v15.12.0 2025-08-27 */
|
|
7417
7417
|
|
|
7418
7418
|
/*
|
|
7419
7419
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7553,8 +7553,10 @@ class AuthFlowResultBase {
|
|
|
7553
7553
|
* Error when no required authentication method by Microsoft Entra is supported
|
|
7554
7554
|
*/
|
|
7555
7555
|
class RedirectError extends CustomAuthError {
|
|
7556
|
-
constructor(correlationId) {
|
|
7557
|
-
super("redirect",
|
|
7556
|
+
constructor(correlationId, redirectReason) {
|
|
7557
|
+
super("redirect", redirectReason ||
|
|
7558
|
+
"Redirect Error, a fallback to the browser-delegated authentication is needed. Use loginPopup instead.", correlationId);
|
|
7559
|
+
this.redirectReason = redirectReason;
|
|
7558
7560
|
Object.setPrototypeOf(this, RedirectError.prototype);
|
|
7559
7561
|
}
|
|
7560
7562
|
}
|
|
@@ -7735,6 +7737,13 @@ class AuthActionErrorBase extends AuthFlowErrorBase {
|
|
|
7735
7737
|
isTokenExpired() {
|
|
7736
7738
|
return this.isTokenExpiredError();
|
|
7737
7739
|
}
|
|
7740
|
+
/**
|
|
7741
|
+
* Check if client app supports the challenge type configured in Entra.
|
|
7742
|
+
* @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
|
|
7743
|
+
*/
|
|
7744
|
+
isRedirectRequired() {
|
|
7745
|
+
return this.isRedirectError();
|
|
7746
|
+
}
|
|
7738
7747
|
}
|
|
7739
7748
|
|
|
7740
7749
|
/*
|
|
@@ -7811,7 +7820,7 @@ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
|
|
|
7811
7820
|
|
|
7812
7821
|
/* eslint-disable header/header */
|
|
7813
7822
|
const name = "@azure/msal-browser";
|
|
7814
|
-
const version = "4.21.
|
|
7823
|
+
const version = "4.21.1";
|
|
7815
7824
|
|
|
7816
7825
|
/*
|
|
7817
7826
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7984,13 +7993,6 @@ class SignInError extends AuthActionErrorBase {
|
|
|
7984
7993
|
isUnsupportedChallengeType() {
|
|
7985
7994
|
return this.isUnsupportedChallengeTypeError();
|
|
7986
7995
|
}
|
|
7987
|
-
/**
|
|
7988
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
7989
|
-
* @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
|
|
7990
|
-
*/
|
|
7991
|
-
isRedirectRequired() {
|
|
7992
|
-
return this.isRedirectError();
|
|
7993
|
-
}
|
|
7994
7996
|
}
|
|
7995
7997
|
class SignInSubmitPasswordError extends AuthActionErrorBase {
|
|
7996
7998
|
/**
|
|
@@ -8011,13 +8013,6 @@ class SignInSubmitCodeError extends AuthActionErrorBase {
|
|
|
8011
8013
|
}
|
|
8012
8014
|
}
|
|
8013
8015
|
class SignInResendCodeError extends AuthActionErrorBase {
|
|
8014
|
-
/**
|
|
8015
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
8016
|
-
* @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
|
|
8017
|
-
*/
|
|
8018
|
-
isRedirectRequired() {
|
|
8019
|
-
return this.isRedirectError();
|
|
8020
|
-
}
|
|
8021
8016
|
}
|
|
8022
8017
|
|
|
8023
8018
|
/*
|
|
@@ -8631,13 +8626,6 @@ class SignUpError extends AuthActionErrorBase {
|
|
|
8631
8626
|
isUnsupportedChallengeType() {
|
|
8632
8627
|
return this.isUnsupportedChallengeTypeError();
|
|
8633
8628
|
}
|
|
8634
|
-
/**
|
|
8635
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
8636
|
-
* @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
|
|
8637
|
-
*/
|
|
8638
|
-
isRedirectRequired() {
|
|
8639
|
-
return this.isRedirectError();
|
|
8640
|
-
}
|
|
8641
8629
|
}
|
|
8642
8630
|
class SignUpSubmitPasswordError extends AuthActionErrorBase {
|
|
8643
8631
|
/**
|
|
@@ -8647,13 +8635,6 @@ class SignUpSubmitPasswordError extends AuthActionErrorBase {
|
|
|
8647
8635
|
isInvalidPassword() {
|
|
8648
8636
|
return (this.isPasswordIncorrectError() || this.isInvalidNewPasswordError());
|
|
8649
8637
|
}
|
|
8650
|
-
/**
|
|
8651
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
8652
|
-
* @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
|
|
8653
|
-
*/
|
|
8654
|
-
isRedirectRequired() {
|
|
8655
|
-
return this.isRedirectError();
|
|
8656
|
-
}
|
|
8657
8638
|
}
|
|
8658
8639
|
class SignUpSubmitCodeError extends AuthActionErrorBase {
|
|
8659
8640
|
/**
|
|
@@ -8663,13 +8644,6 @@ class SignUpSubmitCodeError extends AuthActionErrorBase {
|
|
|
8663
8644
|
isInvalidCode() {
|
|
8664
8645
|
return this.isInvalidCodeError();
|
|
8665
8646
|
}
|
|
8666
|
-
/**
|
|
8667
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
8668
|
-
* @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
|
|
8669
|
-
*/
|
|
8670
|
-
isRedirectRequired() {
|
|
8671
|
-
return this.isRedirectError();
|
|
8672
|
-
}
|
|
8673
8647
|
}
|
|
8674
8648
|
class SignUpSubmitAttributesError extends AuthActionErrorBase {
|
|
8675
8649
|
/**
|
|
@@ -8686,22 +8660,8 @@ class SignUpSubmitAttributesError extends AuthActionErrorBase {
|
|
|
8686
8660
|
isAttributesValidationFailed() {
|
|
8687
8661
|
return this.isAttributeValidationFailedError();
|
|
8688
8662
|
}
|
|
8689
|
-
/**
|
|
8690
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
8691
|
-
* @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
|
|
8692
|
-
*/
|
|
8693
|
-
isRedirectRequired() {
|
|
8694
|
-
return this.isRedirectError();
|
|
8695
|
-
}
|
|
8696
8663
|
}
|
|
8697
8664
|
class SignUpResendCodeError extends AuthActionErrorBase {
|
|
8698
|
-
/**
|
|
8699
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
8700
|
-
* @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
|
|
8701
|
-
*/
|
|
8702
|
-
isRedirectRequired() {
|
|
8703
|
-
return this.isRedirectError();
|
|
8704
|
-
}
|
|
8705
8665
|
}
|
|
8706
8666
|
|
|
8707
8667
|
/*
|
|
@@ -10901,13 +10861,6 @@ class ResetPasswordError extends AuthActionErrorBase {
|
|
|
10901
10861
|
isUnsupportedChallengeType() {
|
|
10902
10862
|
return this.isUnsupportedChallengeTypeError();
|
|
10903
10863
|
}
|
|
10904
|
-
/**
|
|
10905
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
10906
|
-
* @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
|
|
10907
|
-
*/
|
|
10908
|
-
isRedirectRequired() {
|
|
10909
|
-
return this.isRedirectError();
|
|
10910
|
-
}
|
|
10911
10864
|
}
|
|
10912
10865
|
class ResetPasswordSubmitPasswordError extends AuthActionErrorBase {
|
|
10913
10866
|
/**
|
|
@@ -10937,22 +10890,8 @@ class ResetPasswordSubmitCodeError extends AuthActionErrorBase {
|
|
|
10937
10890
|
isInvalidCode() {
|
|
10938
10891
|
return this.isInvalidCodeError();
|
|
10939
10892
|
}
|
|
10940
|
-
/**
|
|
10941
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
10942
|
-
* @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
|
|
10943
|
-
*/
|
|
10944
|
-
isRedirectRequired() {
|
|
10945
|
-
return this.isRedirectError();
|
|
10946
|
-
}
|
|
10947
10893
|
}
|
|
10948
10894
|
class ResetPasswordResendCodeError extends AuthActionErrorBase {
|
|
10949
|
-
/**
|
|
10950
|
-
* Check if client app supports the challenge type configured in Entra.
|
|
10951
|
-
* @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
|
|
10952
|
-
*/
|
|
10953
|
-
isRedirectRequired() {
|
|
10954
|
-
return this.isRedirectError();
|
|
10955
|
-
}
|
|
10956
10895
|
}
|
|
10957
10896
|
|
|
10958
10897
|
/*
|
|
@@ -11712,7 +11651,7 @@ class BaseApiClient {
|
|
|
11712
11651
|
// Ensure the response doesn't have redirect challenge type
|
|
11713
11652
|
if (typeof responseData === "object" &&
|
|
11714
11653
|
responseData.challenge_type === ChallengeType.REDIRECT) {
|
|
11715
|
-
throw new RedirectError(correlationId);
|
|
11654
|
+
throw new RedirectError(correlationId, responseData.redirect_reason);
|
|
11716
11655
|
}
|
|
11717
11656
|
return {
|
|
11718
11657
|
...responseData,
|
|
@@ -11736,6 +11675,10 @@ class BaseApiClient {
|
|
|
11736
11675
|
* Licensed under the MIT License.
|
|
11737
11676
|
*/
|
|
11738
11677
|
class ResetPasswordApiClient extends BaseApiClient {
|
|
11678
|
+
constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities) {
|
|
11679
|
+
super(customAuthApiBaseUrl, clientId, httpClient);
|
|
11680
|
+
this.capabilities = capabilities;
|
|
11681
|
+
}
|
|
11739
11682
|
/**
|
|
11740
11683
|
* Start the password reset flow
|
|
11741
11684
|
*/
|
|
@@ -11743,6 +11686,9 @@ class ResetPasswordApiClient extends BaseApiClient {
|
|
|
11743
11686
|
const result = await this.request(RESET_PWD_START, {
|
|
11744
11687
|
challenge_type: params.challenge_type,
|
|
11745
11688
|
username: params.username,
|
|
11689
|
+
...(this.capabilities && {
|
|
11690
|
+
capabilities: this.capabilities,
|
|
11691
|
+
}),
|
|
11746
11692
|
}, params.telemetryManager, params.correlationId);
|
|
11747
11693
|
this.ensureContinuationTokenIsValid(result.continuation_token, params.correlationId);
|
|
11748
11694
|
return result;
|
|
@@ -11813,6 +11759,10 @@ class ResetPasswordApiClient extends BaseApiClient {
|
|
|
11813
11759
|
* Licensed under the MIT License.
|
|
11814
11760
|
*/
|
|
11815
11761
|
class SignupApiClient extends BaseApiClient {
|
|
11762
|
+
constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities) {
|
|
11763
|
+
super(customAuthApiBaseUrl, clientId, httpClient);
|
|
11764
|
+
this.capabilities = capabilities;
|
|
11765
|
+
}
|
|
11816
11766
|
/**
|
|
11817
11767
|
* Start the sign-up flow
|
|
11818
11768
|
*/
|
|
@@ -11824,6 +11774,9 @@ class SignupApiClient extends BaseApiClient {
|
|
|
11824
11774
|
attributes: JSON.stringify(params.attributes),
|
|
11825
11775
|
}),
|
|
11826
11776
|
challenge_type: params.challenge_type,
|
|
11777
|
+
...(this.capabilities && {
|
|
11778
|
+
capabilities: this.capabilities,
|
|
11779
|
+
}),
|
|
11827
11780
|
}, params.telemetryManager, params.correlationId);
|
|
11828
11781
|
this.ensureContinuationTokenIsValid(result.continuation_token, params.correlationId);
|
|
11829
11782
|
return result;
|
|
@@ -11876,6 +11829,10 @@ class SignupApiClient extends BaseApiClient {
|
|
|
11876
11829
|
* Licensed under the MIT License.
|
|
11877
11830
|
*/
|
|
11878
11831
|
class SignInApiClient extends BaseApiClient {
|
|
11832
|
+
constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities) {
|
|
11833
|
+
super(customAuthApiBaseUrl, clientId, httpClient);
|
|
11834
|
+
this.capabilities = capabilities;
|
|
11835
|
+
}
|
|
11879
11836
|
/**
|
|
11880
11837
|
* Initiates the sign-in flow
|
|
11881
11838
|
* @param username User's email
|
|
@@ -11885,6 +11842,9 @@ class SignInApiClient extends BaseApiClient {
|
|
|
11885
11842
|
const result = await this.request(SIGNIN_INITIATE, {
|
|
11886
11843
|
username: params.username,
|
|
11887
11844
|
challenge_type: params.challenge_type,
|
|
11845
|
+
...(this.capabilities && {
|
|
11846
|
+
capabilities: this.capabilities,
|
|
11847
|
+
}),
|
|
11888
11848
|
}, params.telemetryManager, params.correlationId);
|
|
11889
11849
|
this.ensureContinuationTokenIsValid(result.continuation_token, params.correlationId);
|
|
11890
11850
|
return result;
|
|
@@ -11982,10 +11942,10 @@ class SignInApiClient extends BaseApiClient {
|
|
|
11982
11942
|
* Licensed under the MIT License.
|
|
11983
11943
|
*/
|
|
11984
11944
|
class CustomAuthApiClient {
|
|
11985
|
-
constructor(customAuthApiBaseUrl, clientId, httpClient) {
|
|
11986
|
-
this.signInApi = new SignInApiClient(customAuthApiBaseUrl, clientId, httpClient);
|
|
11987
|
-
this.signUpApi = new SignupApiClient(customAuthApiBaseUrl, clientId, httpClient);
|
|
11988
|
-
this.resetPasswordApi = new ResetPasswordApiClient(customAuthApiBaseUrl, clientId, httpClient);
|
|
11945
|
+
constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities) {
|
|
11946
|
+
this.signInApi = new SignInApiClient(customAuthApiBaseUrl, clientId, httpClient, capabilities);
|
|
11947
|
+
this.signUpApi = new SignupApiClient(customAuthApiBaseUrl, clientId, httpClient, capabilities);
|
|
11948
|
+
this.resetPasswordApi = new ResetPasswordApiClient(customAuthApiBaseUrl, clientId, httpClient, capabilities);
|
|
11989
11949
|
}
|
|
11990
11950
|
}
|
|
11991
11951
|
|
|
@@ -19816,7 +19776,7 @@ class CustomAuthStandardController extends StandardController {
|
|
|
19816
19776
|
this.customAuthConfig = operatingContext.getCustomAuthConfig();
|
|
19817
19777
|
this.authority = new CustomAuthAuthority(this.customAuthConfig.auth.authority, this.customAuthConfig, this.networkClient, this.browserStorage, this.logger, this.customAuthConfig.customAuth?.authApiProxyUrl);
|
|
19818
19778
|
const interactionClientFactory = new CustomAuthInterationClientFactory(this.customAuthConfig, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, customAuthApiClient ??
|
|
19819
|
-
new CustomAuthApiClient(this.authority.getCustomAuthApiDomain(), this.customAuthConfig.auth.clientId, new FetchHttpClient(this.logger)), this.authority);
|
|
19779
|
+
new CustomAuthApiClient(this.authority.getCustomAuthApiDomain(), this.customAuthConfig.auth.clientId, new FetchHttpClient(this.logger), this.customAuthConfig.customAuth?.capabilities?.join(" ")), this.authority);
|
|
19820
19780
|
this.signInClient = interactionClientFactory.create(SignInClient);
|
|
19821
19781
|
this.signUpClient = interactionClientFactory.create(SignUpClient);
|
|
19822
19782
|
this.resetPasswordClient =
|