@azure/msal-browser 5.13.0 → 5.15.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 +16 -16
- package/dist/app/IPublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +11 -11
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +21 -21
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +3 -3
- 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 +18 -18
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +4 -4
- package/dist/cache/CookieStorage.mjs.map +1 -1
- package/dist/cache/DatabaseStorage.mjs +7 -7
- package/dist/cache/DatabaseStorage.mjs.map +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +6 -6
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +2 -2
- package/dist/cache/SessionStorage.mjs.map +1 -1
- package/dist/cache/TokenCache.mjs +10 -8
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +5 -4
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +16 -17
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.mjs +24 -24
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +7 -7
- package/dist/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/crypto/CryptoOps.mjs +4 -4
- package/dist/crypto/CryptoOps.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +3 -3
- package/dist/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +13 -8
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +2 -2
- package/dist/custom_auth/core/CustomAuthAuthority.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +4 -4
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +4 -4
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs.map +1 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +2 -2
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +2 -2
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +4 -4
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +3 -3
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs.map +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +2 -2
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +2 -2
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
- package/dist/custom_auth/index.mjs +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +3 -3
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +2 -2
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +3 -3
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +2 -2
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +2 -2
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +2 -2
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +2 -2
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +2 -2
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +3 -3
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +2 -2
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +5 -5
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +2 -2
- package/dist/encode/Base64Decode.mjs.map +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +5 -5
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +5 -5
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +20 -10
- package/dist/error/NativeAuthError.mjs.map +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +9 -5
- package/dist/error/NestedAppAuthError.mjs.map +1 -1
- package/dist/event/EventHandler.mjs +7 -6
- package/dist/event/EventHandler.mjs.map +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 +6 -7
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +24 -20
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +14 -14
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +17 -17
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +4 -4
- package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +5 -5
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +3 -3
- package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +6 -6
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +3 -3
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +2 -2
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/log-strings-mapping.json +1200 -1200
- 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 +18 -17
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
- package/dist/navigation/NavigationClient.mjs +2 -2
- package/dist/navigation/NavigationClient.mjs.map +1 -1
- package/dist/network/FetchClient.mjs +7 -7
- package/dist/network/FetchClient.mjs.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +3 -3
- package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +8 -8
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +5 -5
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/response/ResponseHandler.mjs +11 -11
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +4 -4
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/utils/BrowserUtils.mjs +26 -20
- package/dist/utils/BrowserUtils.mjs.map +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +2 -2
- package/lib/custom-auth-path/msal-custom-auth.cjs +969 -866
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +860 -761
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +898 -796
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +898 -796
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +55 -51
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +55 -51
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- package/package.json +5 -6
- package/src/app/IPublicClientApplication.ts +30 -15
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +2 -0
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +8 -2
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +2 -1
- package/src/cache/BrowserCacheManager.ts +19 -7
- package/src/cache/CookieStorage.ts +13 -3
- package/src/cache/DatabaseStorage.ts +12 -6
- package/src/cache/LocalStorage.ts +8 -4
- package/src/cache/SessionStorage.ts +2 -1
- package/src/cache/TokenCache.ts +22 -7
- package/src/config/Configuration.ts +15 -4
- package/src/controllers/NestedAppAuthController.ts +19 -11
- package/src/controllers/StandardController.ts +20 -9
- package/src/crypto/BrowserCrypto.ts +10 -2
- package/src/crypto/CryptoOps.ts +4 -2
- package/src/crypto/PkceGenerator.ts +8 -2
- package/src/custom_auth/controller/CustomAuthStandardController.ts +2 -4
- package/src/custom_auth/core/CustomAuthAuthority.ts +4 -2
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +2 -1
- package/src/encode/Base64Decode.ts +2 -1
- package/src/error/BrowserAuthError.ts +9 -3
- package/src/error/BrowserConfigurationAuthError.ts +9 -3
- package/src/error/NativeAuthError.ts +44 -11
- package/src/error/NestedAppAuthError.ts +14 -4
- package/src/event/EventHandler.ts +2 -1
- package/src/interaction_client/BaseInteractionClient.ts +10 -6
- package/src/interaction_client/PlatformAuthInteractionClient.ts +49 -21
- package/src/interaction_client/PopupClient.ts +14 -8
- package/src/interaction_client/RedirectClient.ts +21 -10
- package/src/interaction_client/SilentAuthCodeClient.ts +5 -3
- package/src/interaction_client/SilentIframeClient.ts +5 -3
- package/src/interaction_client/SilentRefreshClient.ts +3 -2
- package/src/interaction_client/StandardInteractionClient.ts +8 -4
- package/src/interaction_handler/InteractionHandler.ts +4 -2
- package/src/interaction_handler/SilentHandler.ts +4 -1
- package/src/naa/mapping/NestedAppAuthAdapter.ts +43 -14
- package/src/navigation/NavigationClient.ts +1 -0
- package/src/network/FetchClient.ts +14 -6
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +23 -7
- package/src/request/RequestHelpers.ts +6 -3
- package/src/response/ResponseHandler.ts +20 -7
- package/src/utils/BrowserProtocolUtils.ts +11 -3
- package/src/utils/BrowserUtils.ts +44 -17
- package/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/types/cache/CookieStorage.d.ts +1 -1
- package/types/cache/CookieStorage.d.ts.map +1 -1
- package/types/cache/DatabaseStorage.d.ts.map +1 -1
- package/types/cache/LocalStorage.d.ts.map +1 -1
- package/types/cache/SessionStorage.d.ts.map +1 -1
- package/types/cache/TokenCache.d.ts.map +1 -1
- package/types/config/Configuration.d.ts +5 -1
- package/types/config/Configuration.d.ts.map +1 -1
- package/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/types/controllers/StandardController.d.ts.map +1 -1
- package/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/types/crypto/CryptoOps.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/types/encode/Base64Decode.d.ts.map +1 -1
- package/types/error/BrowserAuthError.d.ts +2 -2
- package/types/error/BrowserAuthError.d.ts.map +1 -1
- package/types/error/BrowserConfigurationAuthError.d.ts +2 -2
- package/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/types/error/NativeAuthError.d.ts +2 -2
- package/types/error/NativeAuthError.d.ts.map +1 -1
- package/types/error/NestedAppAuthError.d.ts +2 -2
- package/types/error/NestedAppAuthError.d.ts.map +1 -1
- package/types/event/EventHandler.d.ts.map +1 -1
- package/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/types/navigation/NavigationClient.d.ts.map +1 -1
- package/types/network/FetchClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/types/protocol/Authorize.d.ts.map +1 -1
- package/types/request/RequestHelpers.d.ts.map +1 -1
- package/types/response/ResponseHandler.d.ts +1 -1
- package/types/response/ResponseHandler.d.ts.map +1 -1
- package/types/utils/BrowserProtocolUtils.d.ts +1 -1
- package/types/utils/BrowserProtocolUtils.d.ts.map +1 -1
- package/types/utils/BrowserUtils.d.ts +5 -3
- package/types/utils/BrowserUtils.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.15.0 2026-06-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { RequestParameterBuilder, ProtocolUtils, UrlString, UrlUtils } from '@azure/msal-common/browser';
|
|
4
4
|
export { invoke, invokeAsync } from '@azure/msal-common/browser';
|
|
@@ -64,17 +64,21 @@ function parseAuthResponseFromUrl() {
|
|
|
64
64
|
payload = `${queryContent}${hashContent}`;
|
|
65
65
|
params = new URLSearchParams(payload);
|
|
66
66
|
}
|
|
67
|
+
/*
|
|
68
|
+
* Called by the redirect-bridge entry point before any request context exists,
|
|
69
|
+
* so correlationId is intentionally empty for the throws below.
|
|
70
|
+
*/
|
|
67
71
|
if (!payload || !params) {
|
|
68
|
-
throw createBrowserAuthError(emptyResponse);
|
|
72
|
+
throw createBrowserAuthError(emptyResponse, "");
|
|
69
73
|
}
|
|
70
74
|
const state = params.get("state");
|
|
71
75
|
if (!state) {
|
|
72
|
-
throw createBrowserAuthError(noStateInHash);
|
|
76
|
+
throw createBrowserAuthError(noStateInHash, "");
|
|
73
77
|
}
|
|
74
|
-
const { libraryState } = ProtocolUtils.parseRequestState(base64Decode, state);
|
|
78
|
+
const { libraryState } = ProtocolUtils.parseRequestState(base64Decode, state, "");
|
|
75
79
|
const { id, meta } = libraryState;
|
|
76
80
|
if (!id || !meta) {
|
|
77
|
-
throw createBrowserAuthError(unableToParseState, "missing_library_state");
|
|
81
|
+
throw createBrowserAuthError(unableToParseState, "", "missing_library_state");
|
|
78
82
|
}
|
|
79
83
|
return {
|
|
80
84
|
params,
|
|
@@ -164,10 +168,11 @@ function cancelPendingBridgeResponse(logger, correlationId) {
|
|
|
164
168
|
logger.verbose("18y01k", correlationId);
|
|
165
169
|
clearTimeout(activeBridgeMonitor.timeoutId);
|
|
166
170
|
activeBridgeMonitor.channel.close();
|
|
167
|
-
activeBridgeMonitor.reject(createBrowserAuthError(interactionInProgressCancelled));
|
|
171
|
+
activeBridgeMonitor.reject(createBrowserAuthError(interactionInProgressCancelled, ""));
|
|
168
172
|
activeBridgeMonitor = null;
|
|
169
173
|
}
|
|
170
174
|
}
|
|
175
|
+
/** @internal */
|
|
171
176
|
async function waitForBridgeResponse(timeoutMs, logger, request, performanceClient, experimentalConfig) {
|
|
172
177
|
return new Promise((resolve, reject) => {
|
|
173
178
|
logger.verbose("1rf6em", request.correlationId);
|
|
@@ -176,7 +181,7 @@ async function waitForBridgeResponse(timeoutMs, logger, request, performanceClie
|
|
|
176
181
|
redirectBridgeTimeoutMs: timeoutMs,
|
|
177
182
|
lateResponseExperimentEnabled: experimentalConfig?.iframeTimeoutTelemetry || false,
|
|
178
183
|
}, correlationId);
|
|
179
|
-
const { libraryState } = ProtocolUtils.parseRequestState(base64Decode, request.state || "");
|
|
184
|
+
const { libraryState } = ProtocolUtils.parseRequestState(base64Decode, request.state || "", request.correlationId);
|
|
180
185
|
const channel = new BroadcastChannel(libraryState.id);
|
|
181
186
|
let responseString = undefined;
|
|
182
187
|
let timedOut$1 = false;
|
|
@@ -197,7 +202,7 @@ async function waitForBridgeResponse(timeoutMs, logger, request, performanceClie
|
|
|
197
202
|
else {
|
|
198
203
|
channel.close();
|
|
199
204
|
}
|
|
200
|
-
reject(createBrowserAuthError(timedOut, "redirect_bridge_timeout"));
|
|
205
|
+
reject(createBrowserAuthError(timedOut, "", "redirect_bridge_timeout"));
|
|
201
206
|
}, timeoutMs);
|
|
202
207
|
// Track this monitor so it can be cancelled if needed
|
|
203
208
|
activeBridgeMonitor = {
|
|
@@ -229,7 +234,7 @@ async function waitForBridgeResponse(timeoutMs, logger, request, performanceClie
|
|
|
229
234
|
resolve(responseString);
|
|
230
235
|
}
|
|
231
236
|
else {
|
|
232
|
-
reject(createBrowserAuthError(redirectBridgeEmptyResponse));
|
|
237
|
+
reject(createBrowserAuthError(redirectBridgeEmptyResponse, correlationId));
|
|
233
238
|
}
|
|
234
239
|
};
|
|
235
240
|
});
|
|
@@ -246,8 +251,8 @@ function getCurrentUri() {
|
|
|
246
251
|
/**
|
|
247
252
|
* Gets the homepage url for the current window location.
|
|
248
253
|
*/
|
|
249
|
-
function getHomepage() {
|
|
250
|
-
const currentUrl = new UrlString(window.location.href);
|
|
254
|
+
function getHomepage(correlationId) {
|
|
255
|
+
const currentUrl = new UrlString(window.location.href, correlationId || "");
|
|
251
256
|
const urlComponents = currentUrl.getUrlComponents();
|
|
252
257
|
return `${urlComponents.Protocol}//${urlComponents.HostNameAndPort}/`;
|
|
253
258
|
}
|
|
@@ -259,7 +264,7 @@ function blockReloadInHiddenIframes() {
|
|
|
259
264
|
const isResponseHash = UrlUtils.getDeserializedResponse(window.location.hash);
|
|
260
265
|
// return an error if called from the hidden iframe created by the msal js silent calls
|
|
261
266
|
if (isResponseHash && isInIframe()) {
|
|
262
|
-
throw createBrowserAuthError(blockIframeReload);
|
|
267
|
+
throw createBrowserAuthError(blockIframeReload, "");
|
|
263
268
|
}
|
|
264
269
|
}
|
|
265
270
|
/**
|
|
@@ -270,7 +275,7 @@ function blockReloadInHiddenIframes() {
|
|
|
270
275
|
function blockRedirectInIframe(allowRedirectInIframe) {
|
|
271
276
|
if (isInIframe() && !allowRedirectInIframe) {
|
|
272
277
|
// If we are not in top frame, we shouldn't redirect. This is also handled by the service.
|
|
273
|
-
throw createBrowserAuthError(redirectInIframe);
|
|
278
|
+
throw createBrowserAuthError(redirectInIframe, "");
|
|
274
279
|
}
|
|
275
280
|
}
|
|
276
281
|
/**
|
|
@@ -279,7 +284,7 @@ function blockRedirectInIframe(allowRedirectInIframe) {
|
|
|
279
284
|
function blockAcquireTokenInPopups() {
|
|
280
285
|
// Popups opened by msal popup APIs are given a name that starts with "msal."
|
|
281
286
|
if (isInPopup()) {
|
|
282
|
-
throw createBrowserAuthError(blockNestedPopups);
|
|
287
|
+
throw createBrowserAuthError(blockNestedPopups, "");
|
|
283
288
|
}
|
|
284
289
|
}
|
|
285
290
|
/**
|
|
@@ -288,7 +293,7 @@ function blockAcquireTokenInPopups() {
|
|
|
288
293
|
*/
|
|
289
294
|
function blockNonBrowserEnvironment() {
|
|
290
295
|
if (typeof window === "undefined") {
|
|
291
|
-
throw createBrowserAuthError(nonBrowserEnvironment);
|
|
296
|
+
throw createBrowserAuthError(nonBrowserEnvironment, "");
|
|
292
297
|
}
|
|
293
298
|
}
|
|
294
299
|
/**
|
|
@@ -297,7 +302,7 @@ function blockNonBrowserEnvironment() {
|
|
|
297
302
|
*/
|
|
298
303
|
function blockAPICallsBeforeInitialize(initialized) {
|
|
299
304
|
if (!initialized) {
|
|
300
|
-
throw createBrowserAuthError(uninitializedPublicClientApplication);
|
|
305
|
+
throw createBrowserAuthError(uninitializedPublicClientApplication, "");
|
|
301
306
|
}
|
|
302
307
|
}
|
|
303
308
|
/**
|
|
@@ -315,16 +320,17 @@ function preflightCheck(initialized) {
|
|
|
315
320
|
blockAPICallsBeforeInitialize(initialized);
|
|
316
321
|
}
|
|
317
322
|
/**
|
|
318
|
-
* Helper to validate app
|
|
323
|
+
* Helper to validate app environment before making redirect request
|
|
319
324
|
* @param initialized
|
|
320
325
|
* @param config
|
|
326
|
+
* @internal
|
|
321
327
|
*/
|
|
322
328
|
function redirectPreflightCheck(initialized, config) {
|
|
323
329
|
preflightCheck(initialized);
|
|
324
330
|
blockRedirectInIframe(config.system.allowRedirectInIframe);
|
|
325
331
|
// Block redirects if memory storage is enabled
|
|
326
332
|
if (config.cache.cacheLocation === BrowserCacheLocation.MemoryStorage) {
|
|
327
|
-
throw createBrowserConfigurationAuthError(inMemRedirectUnavailable);
|
|
333
|
+
throw createBrowserConfigurationAuthError(inMemRedirectUnavailable, "");
|
|
328
334
|
}
|
|
329
335
|
}
|
|
330
336
|
/**
|
|
@@ -353,7 +359,7 @@ function preconnect(authority) {
|
|
|
353
359
|
function createGuid() {
|
|
354
360
|
return createNewGuid();
|
|
355
361
|
}
|
|
356
|
-
const
|
|
362
|
+
const buildMergedClaims = RequestParameterBuilder.buildMergedClaims;
|
|
357
363
|
|
|
358
|
-
export {
|
|
364
|
+
export { blockAPICallsBeforeInitialize, blockAcquireTokenInPopups, blockNonBrowserEnvironment, blockRedirectInIframe, blockReloadInHiddenIframes, buildMergedClaims, cancelPendingBridgeResponse, clearAuthResponseFromUrl, clearHash, createGuid, getCurrentUri, getHomepage, isInIframe, isInPopup, parseAuthResponseFromUrl, preconnect, preflightCheck, redirectPreflightCheck, replaceHash, waitForBridgeResponse };
|
|
359
365
|
//# sourceMappingURL=BrowserUtils.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserUtils.mjs","sources":["../../src/utils/BrowserUtils.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.emptyResponse","BrowserAuthErrorCodes.noStateInHash","BrowserAuthErrorCodes.unableToParseState","BrowserAuthErrorCodes.interactionInProgressCancelled","timedOut","BrowserPerformanceEvents.WaitForBridgeLateResponse","BrowserAuthErrorCodes.timedOut","BrowserAuthErrorCodes.blockIframeReload","BrowserAuthErrorCodes.redirectInIframe","BrowserAuthErrorCodes.blockNestedPopups","BrowserAuthErrorCodes.nonBrowserEnvironment","BrowserAuthErrorCodes.uninitializedPublicClientApplication","BrowserConfigurationAuthErrorCodes.inMemRedirectUnavailable","BrowserCrypto.createNewGuid"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;AA+BH;;;;;;;;;;;;;;AAcG;SACa,wBAAwB,GAAA;;AAapC,IAAA,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;AACrC,IAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;;IAGxC,IAAI,iBAAiB,GAAG,KAAK,CAAC;IAC9B,IAAI,kBAAkB,GAAG,KAAK,CAAC;IAC/B,IAAI,OAAO,GAAG,EAAE,CAAC;IACjB,IAAI,MAAM,GAAgC,SAAS,CAAC;AAEpD,IAAA,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QAC/B,MAAM,WAAW,GACb,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;AAC/D,QAAA,MAAM,UAAU,GAAG,IAAI,eAAe,CAAC,WAAW,CAA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uthErrorCodes.emptyResponse","BrowserAuthErrorCodes.noStateInHash","BrowserAuthErrorCodes.unableToParseState","BrowserAuthErrorCodes.interactionInProgressCancelled","timedOut","BrowserPerformanceEvents.WaitForBridgeLateResponse","BrowserAuthErrorCodes.timedOut","BrowserAuthErrorCodes.blockIframeReload","BrowserAuthErrorCodes.redirectInIframe","BrowserAuthErrorCodes.blockNestedPopups","BrowserAuthErrorCodes.nonBrowserEnvironment","BrowserAuthErrorCodes.uninitializedPublicClientApplication","BrowserConfigurationAuthErrorCodes.inMemRedirectUnavailable","BrowserCrypto.createNewGuid"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;AA+BH;;;;;;;;;;;;;;AAcG;SACa,wBAAwB,GAAA;;AAapC,IAAA,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;AACrC,IAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;;IAGxC,IAAI,iBAAiB,GAAG,KAAK,CAAC;IAC9B,IAAI,kBAAkB,GAAG,KAAK,CAAC;IAC/B,IAAI,OAAO,GAAG,EAAE,CAAC;IACjB,IAAI,MAAM,GAAgC,SAAS,CAAC;AAEpD,IAAA,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QAC/B,MAAM,WAAW,GACb,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;AAC/D,QAAA,MAAM,UAAU,GAAG,IAAI,eAAe,CAAC,WAAW,CAAC,CAAC;AACpD,QAAA,IAAI,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;YACzB,iBAAiB,GAAG,IAAI,CAAC;YACzB,OAAO,GAAG,WAAW,CAAC;YACtB,MAAM,GAAG,UAAU,CAAC;AACvB,SAAA;AACJ,KAAA;AAED,IAAA,IAAI,QAAQ,IAAI,QAAQ,CAAC,M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