@azure/msal-browser 4.26.2 → 4.27.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.d.ts +2 -8
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +11 -25
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +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 +2 -3
- package/dist/cache/CacheKeys.mjs.map +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.d.ts +4 -0
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +2 -1
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +2 -2
- 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.d.ts +2 -8
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +9 -23
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +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 +2 -3
- package/dist/custom-auth-path/cache/CacheKeys.mjs.map +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.d.ts +4 -0
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +2 -1
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +2 -2
- 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 +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/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.mjs +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/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +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.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- 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 +1 -1
- 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.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- 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.mjs +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.mjs +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/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.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.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.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/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/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 +76 -86
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +4 -0
- package/lib/custom-auth-path/types/config/Configuration.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 +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/msal-browser.cjs +85 -90
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +85 -90
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +66 -66
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +4 -0
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +21 -23
- package/src/config/Configuration.ts +5 -0
- package/src/controllers/StandardController.ts +2 -1
- package/src/packageMetadata.ts +1 -1
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.27.0 2025-12-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v15.13.
|
|
9
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
// Token renewal offset default in seconds
|
|
284
284
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
285
285
|
|
|
286
|
-
/*! @azure/msal-common v15.13.
|
|
286
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
287
287
|
/*
|
|
288
288
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
289
289
|
* Licensed under the MIT License.
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
unexpectedError: unexpectedError
|
|
301
301
|
});
|
|
302
302
|
|
|
303
|
-
/*! @azure/msal-common v15.13.
|
|
303
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
304
304
|
|
|
305
305
|
/*
|
|
306
306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
: AuthErrorMessages[code]);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
/*! @azure/msal-common v15.13.
|
|
352
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
353
353
|
/*
|
|
354
354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
355
355
|
* Licensed under the MIT License.
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
userTimeoutReached: userTimeoutReached
|
|
450
450
|
});
|
|
451
451
|
|
|
452
|
-
/*! @azure/msal-common v15.13.
|
|
452
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
453
453
|
|
|
454
454
|
/*
|
|
455
455
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
/*! @azure/msal-common v15.13.
|
|
709
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
710
710
|
|
|
711
711
|
/*
|
|
712
712
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
},
|
|
746
746
|
};
|
|
747
747
|
|
|
748
|
-
/*! @azure/msal-common v15.13.
|
|
748
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
749
749
|
|
|
750
750
|
/*
|
|
751
751
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -936,12 +936,12 @@
|
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
/*! @azure/msal-common v15.13.
|
|
939
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
940
940
|
/* eslint-disable header/header */
|
|
941
941
|
const name$1 = "@azure/msal-common";
|
|
942
|
-
const version$1 = "15.13.
|
|
942
|
+
const version$1 = "15.13.3";
|
|
943
943
|
|
|
944
|
-
/*! @azure/msal-common v15.13.
|
|
944
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
945
945
|
/*
|
|
946
946
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
947
947
|
* Licensed under the MIT License.
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
962
962
|
};
|
|
963
963
|
|
|
964
|
-
/*! @azure/msal-common v15.13.
|
|
964
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
965
965
|
/*
|
|
966
966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
967
967
|
* Licensed under the MIT License.
|
|
@@ -988,7 +988,8 @@
|
|
|
988
988
|
const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
|
|
989
989
|
const authorityMismatch = "authority_mismatch";
|
|
990
990
|
const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
991
|
-
const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
991
|
+
const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
992
|
+
const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration";
|
|
992
993
|
|
|
993
994
|
var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
994
995
|
__proto__: null,
|
|
@@ -1004,6 +1005,7 @@
|
|
|
1004
1005
|
invalidClaims: invalidClaims,
|
|
1005
1006
|
invalidCloudDiscoveryMetadata: invalidCloudDiscoveryMetadata,
|
|
1006
1007
|
invalidCodeChallengeMethod: invalidCodeChallengeMethod,
|
|
1008
|
+
invalidPlatformBrokerConfiguration: invalidPlatformBrokerConfiguration,
|
|
1007
1009
|
invalidRequestMethodForEAR: invalidRequestMethodForEAR,
|
|
1008
1010
|
logoutRequestEmpty: logoutRequestEmpty,
|
|
1009
1011
|
missingNonceAuthenticationHeader: missingNonceAuthenticationHeader,
|
|
@@ -1017,7 +1019,7 @@
|
|
|
1017
1019
|
urlParseError: urlParseError
|
|
1018
1020
|
});
|
|
1019
1021
|
|
|
1020
|
-
/*! @azure/msal-common v15.13.
|
|
1022
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1021
1023
|
|
|
1022
1024
|
/*
|
|
1023
1025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1047,6 +1049,7 @@
|
|
|
1047
1049
|
[authorityMismatch]: "Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority.",
|
|
1048
1050
|
[invalidAuthorizePostBodyParameters]: "Invalid authorize post body parameters provided. If you are using authorizePostBodyParameters, the request method must be POST. Please check the request method and parameters.",
|
|
1049
1051
|
[invalidRequestMethodForEAR]: "Invalid request method for EAR protocol mode. The request method cannot be GET when using EAR protocol mode. Please change the request method to POST.",
|
|
1052
|
+
[invalidPlatformBrokerConfiguration]: "Invalid platform broker configuration. `allowPlatformBrokerWithDOM` can only be enabled when `allowPlatformBroker` is enabled.",
|
|
1050
1053
|
};
|
|
1051
1054
|
/**
|
|
1052
1055
|
* ClientConfigurationErrorMessage class containing string constants used by error codes and messages.
|
|
@@ -1145,6 +1148,10 @@
|
|
|
1145
1148
|
code: invalidRequestMethodForEAR,
|
|
1146
1149
|
desc: ClientConfigurationErrorMessages[invalidRequestMethodForEAR],
|
|
1147
1150
|
},
|
|
1151
|
+
invalidPlatformBrokerConfiguration: {
|
|
1152
|
+
code: invalidPlatformBrokerConfiguration,
|
|
1153
|
+
desc: ClientConfigurationErrorMessages[invalidPlatformBrokerConfiguration],
|
|
1154
|
+
},
|
|
1148
1155
|
};
|
|
1149
1156
|
/**
|
|
1150
1157
|
* Error thrown when there is an error in configuration of the MSAL.js library.
|
|
@@ -1160,7 +1167,7 @@
|
|
|
1160
1167
|
return new ClientConfigurationError(errorCode);
|
|
1161
1168
|
}
|
|
1162
1169
|
|
|
1163
|
-
/*! @azure/msal-common v15.13.
|
|
1170
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1164
1171
|
/*
|
|
1165
1172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1166
1173
|
* Licensed under the MIT License.
|
|
@@ -1257,7 +1264,7 @@
|
|
|
1257
1264
|
}
|
|
1258
1265
|
}
|
|
1259
1266
|
|
|
1260
|
-
/*! @azure/msal-common v15.13.
|
|
1267
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1261
1268
|
|
|
1262
1269
|
/*
|
|
1263
1270
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1452,7 +1459,7 @@
|
|
|
1452
1459
|
}
|
|
1453
1460
|
}
|
|
1454
1461
|
|
|
1455
|
-
/*! @azure/msal-common v15.13.
|
|
1462
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1456
1463
|
|
|
1457
1464
|
/*
|
|
1458
1465
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1492,7 +1499,7 @@
|
|
|
1492
1499
|
};
|
|
1493
1500
|
}
|
|
1494
1501
|
|
|
1495
|
-
/*! @azure/msal-common v15.13.
|
|
1502
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1496
1503
|
/*
|
|
1497
1504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1498
1505
|
* Licensed under the MIT License.
|
|
@@ -1574,7 +1581,7 @@
|
|
|
1574
1581
|
return updatedAccountInfo;
|
|
1575
1582
|
}
|
|
1576
1583
|
|
|
1577
|
-
/*! @azure/msal-common v15.13.
|
|
1584
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1578
1585
|
/*
|
|
1579
1586
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1580
1587
|
* Licensed under the MIT License.
|
|
@@ -1589,7 +1596,7 @@
|
|
|
1589
1596
|
Ciam: 3,
|
|
1590
1597
|
};
|
|
1591
1598
|
|
|
1592
|
-
/*! @azure/msal-common v15.13.
|
|
1599
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1593
1600
|
/*
|
|
1594
1601
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1595
1602
|
* Licensed under the MIT License.
|
|
@@ -1611,7 +1618,7 @@
|
|
|
1611
1618
|
return null;
|
|
1612
1619
|
}
|
|
1613
1620
|
|
|
1614
|
-
/*! @azure/msal-common v15.13.
|
|
1621
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1615
1622
|
/*
|
|
1616
1623
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1617
1624
|
* Licensed under the MIT License.
|
|
@@ -1635,7 +1642,7 @@
|
|
|
1635
1642
|
EAR: "EAR",
|
|
1636
1643
|
};
|
|
1637
1644
|
|
|
1638
|
-
/*! @azure/msal-common v15.13.
|
|
1645
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1639
1646
|
|
|
1640
1647
|
/*
|
|
1641
1648
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1856,7 +1863,7 @@
|
|
|
1856
1863
|
}
|
|
1857
1864
|
}
|
|
1858
1865
|
|
|
1859
|
-
/*! @azure/msal-common v15.13.
|
|
1866
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1860
1867
|
|
|
1861
1868
|
/*
|
|
1862
1869
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1937,7 +1944,7 @@
|
|
|
1937
1944
|
}
|
|
1938
1945
|
}
|
|
1939
1946
|
|
|
1940
|
-
/*! @azure/msal-common v15.13.
|
|
1947
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
1941
1948
|
|
|
1942
1949
|
/*
|
|
1943
1950
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2053,7 +2060,7 @@
|
|
|
2053
2060
|
}
|
|
2054
2061
|
}
|
|
2055
2062
|
|
|
2056
|
-
/*! @azure/msal-common v15.13.
|
|
2063
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
2057
2064
|
|
|
2058
2065
|
/*
|
|
2059
2066
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2217,7 +2224,7 @@
|
|
|
2217
2224
|
}
|
|
2218
2225
|
}
|
|
2219
2226
|
|
|
2220
|
-
/*! @azure/msal-common v15.13.
|
|
2227
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
2221
2228
|
|
|
2222
2229
|
/*
|
|
2223
2230
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2356,7 +2363,7 @@
|
|
|
2356
2363
|
return null;
|
|
2357
2364
|
}
|
|
2358
2365
|
|
|
2359
|
-
/*! @azure/msal-common v15.13.
|
|
2366
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
2360
2367
|
/*
|
|
2361
2368
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2362
2369
|
* Licensed under the MIT License.
|
|
@@ -2364,7 +2371,7 @@
|
|
|
2364
2371
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2365
2372
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2366
2373
|
|
|
2367
|
-
/*! @azure/msal-common v15.13.
|
|
2374
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
2368
2375
|
|
|
2369
2376
|
/*
|
|
2370
2377
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2409,7 +2416,7 @@
|
|
|
2409
2416
|
}
|
|
2410
2417
|
}
|
|
2411
2418
|
|
|
2412
|
-
/*! @azure/msal-common v15.13.
|
|
2419
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
2413
2420
|
|
|
2414
2421
|
/*
|
|
2415
2422
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3519,7 +3526,7 @@
|
|
|
3519
3526
|
}
|
|
3520
3527
|
}
|
|
3521
3528
|
|
|
3522
|
-
/*! @azure/msal-common v15.13.
|
|
3529
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
3523
3530
|
/*
|
|
3524
3531
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3525
3532
|
* Licensed under the MIT License.
|
|
@@ -4041,7 +4048,7 @@
|
|
|
4041
4048
|
"upgradedCacheCount",
|
|
4042
4049
|
]);
|
|
4043
4050
|
|
|
4044
|
-
/*! @azure/msal-common v15.13.
|
|
4051
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4045
4052
|
|
|
4046
4053
|
/*
|
|
4047
4054
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4120,7 +4127,7 @@
|
|
|
4120
4127
|
}
|
|
4121
4128
|
}
|
|
4122
4129
|
|
|
4123
|
-
/*! @azure/msal-common v15.13.
|
|
4130
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4124
4131
|
|
|
4125
4132
|
/*
|
|
4126
4133
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4220,7 +4227,7 @@
|
|
|
4220
4227
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4221
4228
|
}
|
|
4222
4229
|
|
|
4223
|
-
/*! @azure/msal-common v15.13.
|
|
4230
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4224
4231
|
/*
|
|
4225
4232
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4226
4233
|
* Licensed under the MIT License.
|
|
@@ -4230,7 +4237,7 @@
|
|
|
4230
4237
|
UPN: "UPN",
|
|
4231
4238
|
};
|
|
4232
4239
|
|
|
4233
|
-
/*! @azure/msal-common v15.13.
|
|
4240
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4234
4241
|
/*
|
|
4235
4242
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4236
4243
|
* Licensed under the MIT License.
|
|
@@ -4280,7 +4287,7 @@
|
|
|
4280
4287
|
const EAR_JWK = "ear_jwk";
|
|
4281
4288
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4282
4289
|
|
|
4283
|
-
/*! @azure/msal-common v15.13.
|
|
4290
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4284
4291
|
|
|
4285
4292
|
/*
|
|
4286
4293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4660,7 +4667,7 @@
|
|
|
4660
4667
|
});
|
|
4661
4668
|
}
|
|
4662
4669
|
|
|
4663
|
-
/*! @azure/msal-common v15.13.
|
|
4670
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4664
4671
|
/*
|
|
4665
4672
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4666
4673
|
* Licensed under the MIT License.
|
|
@@ -4672,7 +4679,7 @@
|
|
|
4672
4679
|
response.hasOwnProperty("jwks_uri"));
|
|
4673
4680
|
}
|
|
4674
4681
|
|
|
4675
|
-
/*! @azure/msal-common v15.13.
|
|
4682
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4676
4683
|
/*
|
|
4677
4684
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4678
4685
|
* Licensed under the MIT License.
|
|
@@ -4682,7 +4689,7 @@
|
|
|
4682
4689
|
response.hasOwnProperty("metadata"));
|
|
4683
4690
|
}
|
|
4684
4691
|
|
|
4685
|
-
/*! @azure/msal-common v15.13.
|
|
4692
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4686
4693
|
/*
|
|
4687
4694
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4688
4695
|
* Licensed under the MIT License.
|
|
@@ -4692,7 +4699,7 @@
|
|
|
4692
4699
|
response.hasOwnProperty("error_description"));
|
|
4693
4700
|
}
|
|
4694
4701
|
|
|
4695
|
-
/*! @azure/msal-common v15.13.
|
|
4702
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4696
4703
|
/*
|
|
4697
4704
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4698
4705
|
* Licensed under the MIT License.
|
|
@@ -4788,7 +4795,7 @@
|
|
|
4788
4795
|
};
|
|
4789
4796
|
};
|
|
4790
4797
|
|
|
4791
|
-
/*! @azure/msal-common v15.13.
|
|
4798
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4792
4799
|
|
|
4793
4800
|
/*
|
|
4794
4801
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4894,7 +4901,7 @@
|
|
|
4894
4901
|
},
|
|
4895
4902
|
};
|
|
4896
4903
|
|
|
4897
|
-
/*! @azure/msal-common v15.13.
|
|
4904
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4898
4905
|
/*
|
|
4899
4906
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4900
4907
|
* Licensed under the MIT License.
|
|
@@ -4959,7 +4966,7 @@
|
|
|
4959
4966
|
return cachedAtSec > nowSeconds();
|
|
4960
4967
|
}
|
|
4961
4968
|
|
|
4962
|
-
/*! @azure/msal-common v15.13.
|
|
4969
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
4963
4970
|
|
|
4964
4971
|
/*
|
|
4965
4972
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5221,7 +5228,7 @@
|
|
|
5221
5228
|
return metadata.expiresAt <= nowSeconds();
|
|
5222
5229
|
}
|
|
5223
5230
|
|
|
5224
|
-
/*! @azure/msal-common v15.13.
|
|
5231
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
5225
5232
|
|
|
5226
5233
|
/*
|
|
5227
5234
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6060,7 +6067,7 @@
|
|
|
6060
6067
|
};
|
|
6061
6068
|
}
|
|
6062
6069
|
|
|
6063
|
-
/*! @azure/msal-common v15.13.
|
|
6070
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6064
6071
|
|
|
6065
6072
|
/*
|
|
6066
6073
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6091,7 +6098,7 @@
|
|
|
6091
6098
|
}
|
|
6092
6099
|
}
|
|
6093
6100
|
|
|
6094
|
-
/*! @azure/msal-common v15.13.
|
|
6101
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6095
6102
|
|
|
6096
6103
|
/*
|
|
6097
6104
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6110,7 +6117,7 @@
|
|
|
6110
6117
|
}
|
|
6111
6118
|
}
|
|
6112
6119
|
|
|
6113
|
-
/*! @azure/msal-common v15.13.
|
|
6120
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6114
6121
|
/*
|
|
6115
6122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6116
6123
|
* Licensed under the MIT License.
|
|
@@ -6131,7 +6138,7 @@
|
|
|
6131
6138
|
};
|
|
6132
6139
|
}
|
|
6133
6140
|
|
|
6134
|
-
/*! @azure/msal-common v15.13.
|
|
6141
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6135
6142
|
|
|
6136
6143
|
/*
|
|
6137
6144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6218,7 +6225,7 @@
|
|
|
6218
6225
|
}
|
|
6219
6226
|
}
|
|
6220
6227
|
|
|
6221
|
-
/*! @azure/msal-common v15.13.
|
|
6228
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6222
6229
|
|
|
6223
6230
|
/*
|
|
6224
6231
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6249,7 +6256,7 @@
|
|
|
6249
6256
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6250
6257
|
}
|
|
6251
6258
|
|
|
6252
|
-
/*! @azure/msal-common v15.13.
|
|
6259
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6253
6260
|
|
|
6254
6261
|
/*
|
|
6255
6262
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6397,7 +6404,7 @@
|
|
|
6397
6404
|
}
|
|
6398
6405
|
}
|
|
6399
6406
|
|
|
6400
|
-
/*! @azure/msal-common v15.13.
|
|
6407
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6401
6408
|
/*
|
|
6402
6409
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6403
6410
|
* Licensed under the MIT License.
|
|
@@ -6425,7 +6432,7 @@
|
|
|
6425
6432
|
uxNotAllowed: uxNotAllowed
|
|
6426
6433
|
});
|
|
6427
6434
|
|
|
6428
|
-
/*! @azure/msal-common v15.13.
|
|
6435
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6429
6436
|
|
|
6430
6437
|
/*
|
|
6431
6438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6515,7 +6522,7 @@
|
|
|
6515
6522
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6516
6523
|
}
|
|
6517
6524
|
|
|
6518
|
-
/*! @azure/msal-common v15.13.
|
|
6525
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6519
6526
|
|
|
6520
6527
|
/*
|
|
6521
6528
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6587,7 +6594,7 @@
|
|
|
6587
6594
|
}
|
|
6588
6595
|
}
|
|
6589
6596
|
|
|
6590
|
-
/*! @azure/msal-common v15.13.
|
|
6597
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6591
6598
|
|
|
6592
6599
|
/*
|
|
6593
6600
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6669,7 +6676,7 @@
|
|
|
6669
6676
|
}
|
|
6670
6677
|
}
|
|
6671
6678
|
|
|
6672
|
-
/*! @azure/msal-common v15.13.
|
|
6679
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6673
6680
|
/*
|
|
6674
6681
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6675
6682
|
* Licensed under the MIT License.
|
|
@@ -6696,7 +6703,7 @@
|
|
|
6696
6703
|
}
|
|
6697
6704
|
}
|
|
6698
6705
|
|
|
6699
|
-
/*! @azure/msal-common v15.13.
|
|
6706
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
6700
6707
|
|
|
6701
6708
|
/*
|
|
6702
6709
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7027,7 +7034,7 @@
|
|
|
7027
7034
|
return baseAccount;
|
|
7028
7035
|
}
|
|
7029
7036
|
|
|
7030
|
-
/*! @azure/msal-common v15.13.
|
|
7037
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7031
7038
|
/*
|
|
7032
7039
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7033
7040
|
* Licensed under the MIT License.
|
|
@@ -7045,7 +7052,7 @@
|
|
|
7045
7052
|
}
|
|
7046
7053
|
}
|
|
7047
7054
|
|
|
7048
|
-
/*! @azure/msal-common v15.13.
|
|
7055
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7049
7056
|
|
|
7050
7057
|
/*
|
|
7051
7058
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7280,7 +7287,7 @@
|
|
|
7280
7287
|
}
|
|
7281
7288
|
}
|
|
7282
7289
|
|
|
7283
|
-
/*! @azure/msal-common v15.13.
|
|
7290
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7284
7291
|
|
|
7285
7292
|
/*
|
|
7286
7293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7489,7 +7496,7 @@
|
|
|
7489
7496
|
}
|
|
7490
7497
|
}
|
|
7491
7498
|
|
|
7492
|
-
/*! @azure/msal-common v15.13.
|
|
7499
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7493
7500
|
|
|
7494
7501
|
/*
|
|
7495
7502
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7587,7 +7594,7 @@
|
|
|
7587
7594
|
}
|
|
7588
7595
|
}
|
|
7589
7596
|
|
|
7590
|
-
/*! @azure/msal-common v15.13.
|
|
7597
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7591
7598
|
|
|
7592
7599
|
/*
|
|
7593
7600
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7602,7 +7609,7 @@
|
|
|
7602
7609
|
},
|
|
7603
7610
|
};
|
|
7604
7611
|
|
|
7605
|
-
/*! @azure/msal-common v15.13.
|
|
7612
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7606
7613
|
|
|
7607
7614
|
/*
|
|
7608
7615
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7826,7 +7833,7 @@
|
|
|
7826
7833
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7827
7834
|
}
|
|
7828
7835
|
|
|
7829
|
-
/*! @azure/msal-common v15.13.
|
|
7836
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7830
7837
|
|
|
7831
7838
|
/*
|
|
7832
7839
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7884,7 +7891,7 @@
|
|
|
7884
7891
|
}
|
|
7885
7892
|
}
|
|
7886
7893
|
|
|
7887
|
-
/*! @azure/msal-common v15.13.
|
|
7894
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
7888
7895
|
|
|
7889
7896
|
/*
|
|
7890
7897
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8147,7 +8154,7 @@
|
|
|
8147
8154
|
}
|
|
8148
8155
|
}
|
|
8149
8156
|
|
|
8150
|
-
/*! @azure/msal-common v15.13.
|
|
8157
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
8151
8158
|
/*
|
|
8152
8159
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8153
8160
|
* Licensed under the MIT License.
|
|
@@ -8155,7 +8162,7 @@
|
|
|
8155
8162
|
const missingKidError = "missing_kid_error";
|
|
8156
8163
|
const missingAlgError = "missing_alg_error";
|
|
8157
8164
|
|
|
8158
|
-
/*! @azure/msal-common v15.13.
|
|
8165
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
8159
8166
|
|
|
8160
8167
|
/*
|
|
8161
8168
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8180,7 +8187,7 @@
|
|
|
8180
8187
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8181
8188
|
}
|
|
8182
8189
|
|
|
8183
|
-
/*! @azure/msal-common v15.13.
|
|
8190
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
8184
8191
|
|
|
8185
8192
|
/*
|
|
8186
8193
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8220,7 +8227,7 @@
|
|
|
8220
8227
|
}
|
|
8221
8228
|
}
|
|
8222
8229
|
|
|
8223
|
-
/*! @azure/msal-common v15.13.
|
|
8230
|
+
/*! @azure/msal-common v15.13.3 2025-12-04 */
|
|
8224
8231
|
|
|
8225
8232
|
/*
|
|
8226
8233
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10290,6 +10297,7 @@
|
|
|
10290
10297
|
asyncPopups: false,
|
|
10291
10298
|
allowRedirectInIframe: false,
|
|
10292
10299
|
allowPlatformBroker: false,
|
|
10300
|
+
allowPlatformBrokerWithDOM: false,
|
|
10293
10301
|
nativeBrokerHandshakeTimeout: userInputSystem?.nativeBrokerHandshakeTimeout ||
|
|
10294
10302
|
DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS,
|
|
10295
10303
|
pollIntervalMilliseconds: BrowserConstants.DEFAULT_POLL_INTERVAL_MS,
|
|
@@ -10336,7 +10344,7 @@
|
|
|
10336
10344
|
|
|
10337
10345
|
/* eslint-disable header/header */
|
|
10338
10346
|
const name = "@azure/msal-browser";
|
|
10339
|
-
const version = "4.
|
|
10347
|
+
const version = "4.27.0";
|
|
10340
10348
|
|
|
10341
10349
|
/*
|
|
10342
10350
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10350,7 +10358,6 @@
|
|
|
10350
10358
|
const LOG_LEVEL_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.level`;
|
|
10351
10359
|
const LOG_PII_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.pii`;
|
|
10352
10360
|
const BROWSER_PERF_ENABLED_KEY = `${PREFIX}.${BROWSER_PREFIX}.performance.enabled`;
|
|
10353
|
-
const PLATFORM_AUTH_DOM_SUPPORT = `${PREFIX}.${BROWSER_PREFIX}.platform.auth.dom`;
|
|
10354
10361
|
const VERSION_CACHE_KEY = `${PREFIX}.version`;
|
|
10355
10362
|
const ACCOUNT_KEYS = "account.keys";
|
|
10356
10363
|
const TOKEN_KEYS = "token.keys";
|
|
@@ -15433,7 +15440,7 @@
|
|
|
15433
15440
|
* @param perfClient
|
|
15434
15441
|
* @returns
|
|
15435
15442
|
*/
|
|
15436
|
-
async function isPlatformBrokerAvailable(loggerOptions, perfClient, correlationId) {
|
|
15443
|
+
async function isPlatformBrokerAvailable(loggerOptions, perfClient, correlationId, domConfig) {
|
|
15437
15444
|
const logger = new Logger(loggerOptions || {}, name, version);
|
|
15438
15445
|
logger.trace("isPlatformBrokerAvailable called");
|
|
15439
15446
|
const performanceClient = perfClient || new StubPerformanceClient();
|
|
@@ -15441,11 +15448,10 @@
|
|
|
15441
15448
|
logger.trace("Non-browser environment detected, returning false");
|
|
15442
15449
|
return false;
|
|
15443
15450
|
}
|
|
15444
|
-
return !!(await getPlatformAuthProvider(logger, performanceClient, correlationId || createNewGuid()));
|
|
15451
|
+
return !!(await getPlatformAuthProvider(logger, performanceClient, correlationId || createNewGuid(), undefined, domConfig));
|
|
15445
15452
|
}
|
|
15446
|
-
async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout) {
|
|
15453
|
+
async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout, enablePlatformBrokerDOMSupport) {
|
|
15447
15454
|
logger.trace("getPlatformAuthProvider called", correlationId);
|
|
15448
|
-
const enablePlatformBrokerDOMSupport = isDomEnabledForPlatformAuth();
|
|
15449
15455
|
logger.trace("Has client allowed platform auth via DOM API: " +
|
|
15450
15456
|
enablePlatformBrokerDOMSupport);
|
|
15451
15457
|
let platformAuthProvider;
|
|
@@ -15470,22 +15476,6 @@
|
|
|
15470
15476
|
}
|
|
15471
15477
|
return platformAuthProvider;
|
|
15472
15478
|
}
|
|
15473
|
-
/**
|
|
15474
|
-
* Returns true if the DOM API support for platform auth is enabled in session storage
|
|
15475
|
-
* @returns boolean
|
|
15476
|
-
* @deprecated
|
|
15477
|
-
*/
|
|
15478
|
-
function isDomEnabledForPlatformAuth() {
|
|
15479
|
-
let sessionStorage;
|
|
15480
|
-
try {
|
|
15481
|
-
sessionStorage = window[BrowserCacheLocation.SessionStorage];
|
|
15482
|
-
// Mute errors if it's a non-browser environment or cookies are blocked.
|
|
15483
|
-
return sessionStorage?.getItem(PLATFORM_AUTH_DOM_SUPPORT) === "true";
|
|
15484
|
-
}
|
|
15485
|
-
catch (e) {
|
|
15486
|
-
return false;
|
|
15487
|
-
}
|
|
15488
|
-
}
|
|
15489
15479
|
/**
|
|
15490
15480
|
* Returns boolean indicating whether or not the request should attempt to use native broker
|
|
15491
15481
|
* @param logger
|
|
@@ -15495,6 +15485,11 @@
|
|
|
15495
15485
|
*/
|
|
15496
15486
|
function isPlatformAuthAllowed(config, logger, platformAuthProvider, authenticationScheme) {
|
|
15497
15487
|
logger.trace("isPlatformAuthAllowed called");
|
|
15488
|
+
// throw an error if allowPlatformBroker is not enabled and allowPlatformBrokerWithDOM is enabled
|
|
15489
|
+
if (!config.system.allowPlatformBroker &&
|
|
15490
|
+
config.system.allowPlatformBrokerWithDOM) {
|
|
15491
|
+
throw createClientConfigurationError(invalidPlatformBrokerConfiguration);
|
|
15492
|
+
}
|
|
15498
15493
|
if (!config.system.allowPlatformBroker) {
|
|
15499
15494
|
logger.trace("isPlatformAuthAllowed: allowPlatformBroker is not enabled, returning false");
|
|
15500
15495
|
// Developer disabled WAM
|
|
@@ -17247,7 +17242,7 @@
|
|
|
17247
17242
|
if (allowPlatformBroker) {
|
|
17248
17243
|
try {
|
|
17249
17244
|
// check if platform authentication is available via DOM or browser extension and create relevant handlers
|
|
17250
|
-
this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout);
|
|
17245
|
+
this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout, this.config.system.allowPlatformBrokerWithDOM);
|
|
17251
17246
|
}
|
|
17252
17247
|
catch (e) {
|
|
17253
17248
|
this.logger.verbose(e);
|