@azure/msal-browser 5.0.0-beta.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/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.d.ts +7 -5
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +44 -32
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/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.d.ts +7 -5
- package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.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/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/log-strings-mapping.json +2 -2
- 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.d.ts.map +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/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +6 -2
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +12 -9
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts +3 -6
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/PopupRequest.d.ts +12 -24
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +6 -22
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -13
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +0 -21
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.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/log-strings-mapping.json +2 -2
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
- package/dist/redirect-bridge/cache/TokenCache.d.ts +7 -5
- package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -1
- package/dist/redirect-bridge/config/Configuration.mjs +1 -1
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts.map +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts +6 -2
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts +12 -9
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts +3 -6
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/PopupRequest.d.ts +12 -24
- package/dist/redirect-bridge/request/PopupRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/RedirectRequest.d.ts +6 -22
- package/dist/redirect-bridge/request/RedirectRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/SilentRequest.d.ts +33 -13
- package/dist/redirect-bridge/request/SilentRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts +0 -21
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/ClearCacheRequest.d.ts +6 -2
- package/dist/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/request/EndSessionPopupRequest.d.ts +12 -9
- package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/request/EndSessionRequest.d.ts +3 -6
- package/dist/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/request/PopupRequest.d.ts +12 -24
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +6 -22
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/request/SilentRequest.d.ts +33 -13
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +0 -21
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +7 -3
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +5 -3
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +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/log-strings-mapping.json +2 -2
- package/lib/custom-auth-path/msal-custom-auth.cjs +77 -72
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts +7 -5
- package/lib/custom-auth-path/types/cache/TokenCache.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/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +18 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +6 -2
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +12 -9
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +3 -6
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +3 -2
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +12 -24
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +6 -22
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -13
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +0 -21
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/lib/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +128 -106
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +128 -106
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/lib/types/cache/TokenCache.d.ts +7 -5
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts.map +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts +18 -0
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/ClearCacheRequest.d.ts +6 -2
- package/lib/types/request/ClearCacheRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionPopupRequest.d.ts +12 -9
- package/lib/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionRequest.d.ts +3 -6
- package/lib/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/types/request/InitializeApplicationRequest.d.ts +3 -2
- package/lib/types/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/lib/types/request/PopupRequest.d.ts +12 -24
- package/lib/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/types/request/RedirectRequest.d.ts +6 -22
- package/lib/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/types/request/SilentRequest.d.ts +33 -13
- package/lib/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts +0 -21
- package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/cache/TokenCache.ts +143 -95
- package/src/packageMetadata.ts +1 -1
- package/src/request/AuthorizationCodeRequest.ts +18 -0
- package/src/request/ClearCacheRequest.ts +6 -2
- package/src/request/EndSessionPopupRequest.ts +12 -9
- package/src/request/EndSessionRequest.ts +3 -6
- package/src/request/InitializeApplicationRequest.ts +3 -2
- package/src/request/PopupRequest.ts +12 -24
- package/src/request/RedirectRequest.ts +6 -22
- package/src/request/SilentRequest.ts +33 -13
- package/src/request/SsoSilentRequest.ts +0 -21
- package/src/telemetry/BrowserPerformanceEvents.ts +5 -0
- package/src/telemetry/BrowserRootPerformanceEvents.ts +2 -0
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.0.
|
|
1
|
+
/*! @azure/msal-browser v5.0.1 2026-01-16 */
|
|
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 v16.0.
|
|
9
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
// Token renewal offset default in seconds
|
|
239
239
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
240
240
|
|
|
241
|
-
/*! @azure/msal-common v16.0.
|
|
241
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
242
242
|
/*
|
|
243
243
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
244
244
|
* Licensed under the MIT License.
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
const EAR_JWK = "ear_jwk";
|
|
289
289
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
290
290
|
|
|
291
|
-
/*! @azure/msal-common v16.0.
|
|
291
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
292
292
|
/*
|
|
293
293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
294
294
|
* Licensed under the MIT License.
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage$1(code));
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
/*! @azure/msal-common v16.0.
|
|
322
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
323
323
|
|
|
324
324
|
/*
|
|
325
325
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
return new ClientConfigurationError(errorCode);
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
/*! @azure/msal-common v16.0.
|
|
342
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
343
343
|
/*
|
|
344
344
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
345
345
|
* Licensed under the MIT License.
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
/*! @azure/msal-common v16.0.
|
|
439
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
440
440
|
|
|
441
441
|
/*
|
|
442
442
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
/*! @azure/msal-common v16.0.
|
|
462
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
463
463
|
/*
|
|
464
464
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
465
465
|
* Licensed under the MIT License.
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
urlParseError: urlParseError
|
|
514
514
|
});
|
|
515
515
|
|
|
516
|
-
/*! @azure/msal-common v16.0.
|
|
516
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
517
517
|
/*
|
|
518
518
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
519
519
|
* Licensed under the MIT License.
|
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
userCanceled: userCanceled
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
/*! @azure/msal-common v16.0.
|
|
600
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
601
601
|
|
|
602
602
|
/*
|
|
603
603
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
-
/*! @azure/msal-common v16.0.
|
|
795
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
796
796
|
|
|
797
797
|
/*
|
|
798
798
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
1160
1160
|
}
|
|
1161
1161
|
|
|
1162
|
-
/*! @azure/msal-common v16.0.
|
|
1162
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1163
1163
|
|
|
1164
1164
|
/*
|
|
1165
1165
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1268,7 +1268,7 @@
|
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
|
-
/*! @azure/msal-common v16.0.
|
|
1271
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1272
1272
|
|
|
1273
1273
|
/*
|
|
1274
1274
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1307,7 +1307,7 @@
|
|
|
1307
1307
|
},
|
|
1308
1308
|
};
|
|
1309
1309
|
|
|
1310
|
-
/*! @azure/msal-common v16.0.
|
|
1310
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1311
1311
|
/*
|
|
1312
1312
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1313
1313
|
* Licensed under the MIT License.
|
|
@@ -1582,12 +1582,12 @@
|
|
|
1582
1582
|
}
|
|
1583
1583
|
}
|
|
1584
1584
|
|
|
1585
|
-
/*! @azure/msal-common v16.0.
|
|
1585
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1586
1586
|
/* eslint-disable header/header */
|
|
1587
1587
|
const name$1 = "@azure/msal-common";
|
|
1588
|
-
const version$1 = "16.0.
|
|
1588
|
+
const version$1 = "16.0.1";
|
|
1589
1589
|
|
|
1590
|
-
/*! @azure/msal-common v16.0.
|
|
1590
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1591
1591
|
/*
|
|
1592
1592
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1593
1593
|
* Licensed under the MIT License.
|
|
@@ -1607,7 +1607,7 @@
|
|
|
1607
1607
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1608
1608
|
};
|
|
1609
1609
|
|
|
1610
|
-
/*! @azure/msal-common v16.0.
|
|
1610
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1611
1611
|
/*
|
|
1612
1612
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1613
1613
|
* Licensed under the MIT License.
|
|
@@ -1689,7 +1689,7 @@
|
|
|
1689
1689
|
return updatedAccountInfo;
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
|
-
/*! @azure/msal-common v16.0.
|
|
1692
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1693
1693
|
|
|
1694
1694
|
/*
|
|
1695
1695
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1769,7 +1769,7 @@
|
|
|
1769
1769
|
}
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
|
-
/*! @azure/msal-common v16.0.
|
|
1772
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1773
1773
|
|
|
1774
1774
|
/*
|
|
1775
1775
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1926,7 +1926,7 @@
|
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
/*! @azure/msal-common v16.0.
|
|
1929
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1930
1930
|
|
|
1931
1931
|
/*
|
|
1932
1932
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2068,7 +2068,7 @@
|
|
|
2068
2068
|
return null;
|
|
2069
2069
|
}
|
|
2070
2070
|
|
|
2071
|
-
/*! @azure/msal-common v16.0.
|
|
2071
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2072
2072
|
/*
|
|
2073
2073
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2074
2074
|
* Licensed under the MIT License.
|
|
@@ -2076,7 +2076,7 @@
|
|
|
2076
2076
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2077
2077
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2078
2078
|
|
|
2079
|
-
/*! @azure/msal-common v16.0.
|
|
2079
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2080
2080
|
|
|
2081
2081
|
/*
|
|
2082
2082
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2114,7 +2114,7 @@
|
|
|
2114
2114
|
}
|
|
2115
2115
|
}
|
|
2116
2116
|
|
|
2117
|
-
/*! @azure/msal-common v16.0.
|
|
2117
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2118
2118
|
|
|
2119
2119
|
/*
|
|
2120
2120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2152,7 +2152,7 @@
|
|
|
2152
2152
|
};
|
|
2153
2153
|
}
|
|
2154
2154
|
|
|
2155
|
-
/*! @azure/msal-common v16.0.
|
|
2155
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2156
2156
|
/*
|
|
2157
2157
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2158
2158
|
* Licensed under the MIT License.
|
|
@@ -2167,7 +2167,7 @@
|
|
|
2167
2167
|
Ciam: 3,
|
|
2168
2168
|
};
|
|
2169
2169
|
|
|
2170
|
-
/*! @azure/msal-common v16.0.
|
|
2170
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2171
2171
|
/*
|
|
2172
2172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2173
2173
|
* Licensed under the MIT License.
|
|
@@ -2189,7 +2189,7 @@
|
|
|
2189
2189
|
return null;
|
|
2190
2190
|
}
|
|
2191
2191
|
|
|
2192
|
-
/*! @azure/msal-common v16.0.
|
|
2192
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2193
2193
|
/*
|
|
2194
2194
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2195
2195
|
* Licensed under the MIT License.
|
|
@@ -2213,7 +2213,7 @@
|
|
|
2213
2213
|
EAR: "EAR",
|
|
2214
2214
|
};
|
|
2215
2215
|
|
|
2216
|
-
/*! @azure/msal-common v16.0.
|
|
2216
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2217
2217
|
/**
|
|
2218
2218
|
* Returns the AccountInfo interface for this account.
|
|
2219
2219
|
*/
|
|
@@ -2373,7 +2373,7 @@
|
|
|
2373
2373
|
entity.hasOwnProperty("authorityType"));
|
|
2374
2374
|
}
|
|
2375
2375
|
|
|
2376
|
-
/*! @azure/msal-common v16.0.
|
|
2376
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2377
2377
|
|
|
2378
2378
|
/*
|
|
2379
2379
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3470,7 +3470,7 @@
|
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
3472
|
|
|
3473
|
-
/*! @azure/msal-common v16.0.
|
|
3473
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3474
3474
|
/*
|
|
3475
3475
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3476
3476
|
* Licensed under the MIT License.
|
|
@@ -3511,7 +3511,7 @@
|
|
|
3511
3511
|
"upgradedCacheCount",
|
|
3512
3512
|
]);
|
|
3513
3513
|
|
|
3514
|
-
/*! @azure/msal-common v16.0.
|
|
3514
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3515
3515
|
|
|
3516
3516
|
/*
|
|
3517
3517
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3566,7 +3566,7 @@
|
|
|
3566
3566
|
}
|
|
3567
3567
|
}
|
|
3568
3568
|
|
|
3569
|
-
/*! @azure/msal-common v16.0.
|
|
3569
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3570
3570
|
|
|
3571
3571
|
/*
|
|
3572
3572
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3660,7 +3660,7 @@
|
|
|
3660
3660
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3661
3661
|
}
|
|
3662
3662
|
|
|
3663
|
-
/*! @azure/msal-common v16.0.
|
|
3663
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3664
3664
|
|
|
3665
3665
|
/*
|
|
3666
3666
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3679,7 +3679,7 @@
|
|
|
3679
3679
|
}
|
|
3680
3680
|
}
|
|
3681
3681
|
|
|
3682
|
-
/*! @azure/msal-common v16.0.
|
|
3682
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3683
3683
|
/*
|
|
3684
3684
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3685
3685
|
* Licensed under the MIT License.
|
|
@@ -3707,7 +3707,7 @@
|
|
|
3707
3707
|
uxNotAllowed: uxNotAllowed
|
|
3708
3708
|
});
|
|
3709
3709
|
|
|
3710
|
-
/*! @azure/msal-common v16.0.
|
|
3710
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3711
3711
|
|
|
3712
3712
|
/*
|
|
3713
3713
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3773,7 +3773,7 @@
|
|
|
3773
3773
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
3774
3774
|
}
|
|
3775
3775
|
|
|
3776
|
-
/*! @azure/msal-common v16.0.
|
|
3776
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3777
3777
|
|
|
3778
3778
|
/*
|
|
3779
3779
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3841,7 +3841,7 @@
|
|
|
3841
3841
|
}
|
|
3842
3842
|
}
|
|
3843
3843
|
|
|
3844
|
-
/*! @azure/msal-common v16.0.
|
|
3844
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3845
3845
|
/*
|
|
3846
3846
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3847
3847
|
* Licensed under the MIT License.
|
|
@@ -3906,7 +3906,7 @@
|
|
|
3906
3906
|
return cachedAtSec > nowSeconds();
|
|
3907
3907
|
}
|
|
3908
3908
|
|
|
3909
|
-
/*! @azure/msal-common v16.0.
|
|
3909
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3910
3910
|
/*
|
|
3911
3911
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3912
3912
|
* Licensed under the MIT License.
|
|
@@ -3977,7 +3977,7 @@
|
|
|
3977
3977
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
3978
3978
|
const SetUserData = "setUserData";
|
|
3979
3979
|
|
|
3980
|
-
/*! @azure/msal-common v16.0.
|
|
3980
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3981
3981
|
/*
|
|
3982
3982
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3983
3983
|
* Licensed under the MIT License.
|
|
@@ -4072,7 +4072,7 @@
|
|
|
4072
4072
|
};
|
|
4073
4073
|
};
|
|
4074
4074
|
|
|
4075
|
-
/*! @azure/msal-common v16.0.
|
|
4075
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4076
4076
|
|
|
4077
4077
|
/*
|
|
4078
4078
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4152,7 +4152,7 @@
|
|
|
4152
4152
|
}
|
|
4153
4153
|
}
|
|
4154
4154
|
|
|
4155
|
-
/*! @azure/msal-common v16.0.
|
|
4155
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4156
4156
|
/*
|
|
4157
4157
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4158
4158
|
* Licensed under the MIT License.
|
|
@@ -4179,7 +4179,7 @@
|
|
|
4179
4179
|
}
|
|
4180
4180
|
}
|
|
4181
4181
|
|
|
4182
|
-
/*! @azure/msal-common v16.0.
|
|
4182
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4183
4183
|
|
|
4184
4184
|
/*
|
|
4185
4185
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4438,7 +4438,7 @@
|
|
|
4438
4438
|
return metadata.expiresAt <= nowSeconds();
|
|
4439
4439
|
}
|
|
4440
4440
|
|
|
4441
|
-
/*! @azure/msal-common v16.0.
|
|
4441
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4442
4442
|
|
|
4443
4443
|
/*
|
|
4444
4444
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4629,6 +4629,7 @@
|
|
|
4629
4629
|
? parseInt(serverTokenResponse.refresh_token_expires_in, 10)
|
|
4630
4630
|
: serverTokenResponse.refresh_token_expires_in;
|
|
4631
4631
|
rtExpiresOn = reqTimestamp + rtExpiresIn;
|
|
4632
|
+
this.performanceClient?.addFields({ ntwkRtExpiresOnSeconds: rtExpiresOn }, request.correlationId);
|
|
4632
4633
|
}
|
|
4633
4634
|
cachedRefreshToken = createRefreshTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.refresh_token, this.clientId, serverTokenResponse.foci, userAssertionHash, rtExpiresOn);
|
|
4634
4635
|
}
|
|
@@ -4768,7 +4769,7 @@
|
|
|
4768
4769
|
return baseAccount;
|
|
4769
4770
|
}
|
|
4770
4771
|
|
|
4771
|
-
/*! @azure/msal-common v16.0.
|
|
4772
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4772
4773
|
/*
|
|
4773
4774
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4774
4775
|
* Licensed under the MIT License.
|
|
@@ -4778,7 +4779,7 @@
|
|
|
4778
4779
|
UPN: "UPN",
|
|
4779
4780
|
};
|
|
4780
4781
|
|
|
4781
|
-
/*! @azure/msal-common v16.0.
|
|
4782
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4782
4783
|
/*
|
|
4783
4784
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4784
4785
|
* Licensed under the MIT License.
|
|
@@ -4796,7 +4797,7 @@
|
|
|
4796
4797
|
}
|
|
4797
4798
|
}
|
|
4798
4799
|
|
|
4799
|
-
/*! @azure/msal-common v16.0.
|
|
4800
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4800
4801
|
/*
|
|
4801
4802
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4802
4803
|
* Licensed under the MIT License.
|
|
@@ -4817,7 +4818,7 @@
|
|
|
4817
4818
|
};
|
|
4818
4819
|
}
|
|
4819
4820
|
|
|
4820
|
-
/*! @azure/msal-common v16.0.
|
|
4821
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4821
4822
|
|
|
4822
4823
|
/*
|
|
4823
4824
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4903,7 +4904,7 @@
|
|
|
4903
4904
|
}
|
|
4904
4905
|
}
|
|
4905
4906
|
|
|
4906
|
-
/*! @azure/msal-common v16.0.
|
|
4907
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4907
4908
|
|
|
4908
4909
|
/*
|
|
4909
4910
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4934,7 +4935,7 @@
|
|
|
4934
4935
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
4935
4936
|
}
|
|
4936
4937
|
|
|
4937
|
-
/*! @azure/msal-common v16.0.
|
|
4938
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4938
4939
|
|
|
4939
4940
|
/*
|
|
4940
4941
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5048,7 +5049,7 @@
|
|
|
5048
5049
|
return response;
|
|
5049
5050
|
}
|
|
5050
5051
|
|
|
5051
|
-
/*! @azure/msal-common v16.0.
|
|
5052
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5052
5053
|
/*
|
|
5053
5054
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5054
5055
|
* Licensed under the MIT License.
|
|
@@ -5060,7 +5061,7 @@
|
|
|
5060
5061
|
response.hasOwnProperty("jwks_uri"));
|
|
5061
5062
|
}
|
|
5062
5063
|
|
|
5063
|
-
/*! @azure/msal-common v16.0.
|
|
5064
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5064
5065
|
/*
|
|
5065
5066
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5066
5067
|
* Licensed under the MIT License.
|
|
@@ -5070,7 +5071,7 @@
|
|
|
5070
5071
|
response.hasOwnProperty("metadata"));
|
|
5071
5072
|
}
|
|
5072
5073
|
|
|
5073
|
-
/*! @azure/msal-common v16.0.
|
|
5074
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5074
5075
|
/*
|
|
5075
5076
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5076
5077
|
* Licensed under the MIT License.
|
|
@@ -5080,7 +5081,7 @@
|
|
|
5080
5081
|
response.hasOwnProperty("error_description"));
|
|
5081
5082
|
}
|
|
5082
5083
|
|
|
5083
|
-
/*! @azure/msal-common v16.0.
|
|
5084
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5084
5085
|
|
|
5085
5086
|
/*
|
|
5086
5087
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5185,7 +5186,7 @@
|
|
|
5185
5186
|
},
|
|
5186
5187
|
};
|
|
5187
5188
|
|
|
5188
|
-
/*! @azure/msal-common v16.0.
|
|
5189
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5189
5190
|
|
|
5190
5191
|
/*
|
|
5191
5192
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6005,7 +6006,7 @@
|
|
|
6005
6006
|
};
|
|
6006
6007
|
}
|
|
6007
6008
|
|
|
6008
|
-
/*! @azure/msal-common v16.0.
|
|
6009
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6009
6010
|
|
|
6010
6011
|
/*
|
|
6011
6012
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6039,7 +6040,7 @@
|
|
|
6039
6040
|
}
|
|
6040
6041
|
}
|
|
6041
6042
|
|
|
6042
|
-
/*! @azure/msal-common v16.0.
|
|
6043
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6043
6044
|
|
|
6044
6045
|
/*
|
|
6045
6046
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6299,7 +6300,7 @@
|
|
|
6299
6300
|
}
|
|
6300
6301
|
}
|
|
6301
6302
|
|
|
6302
|
-
/*! @azure/msal-common v16.0.
|
|
6303
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6303
6304
|
|
|
6304
6305
|
/*
|
|
6305
6306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6388,11 +6389,16 @@
|
|
|
6388
6389
|
if (!refreshToken) {
|
|
6389
6390
|
throw createInteractionRequiredAuthError(noTokensFound);
|
|
6390
6391
|
}
|
|
6391
|
-
if (refreshToken.expiresOn
|
|
6392
|
-
|
|
6393
|
-
DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS
|
|
6394
|
-
this.performanceClient?.addFields({
|
|
6395
|
-
|
|
6392
|
+
if (refreshToken.expiresOn) {
|
|
6393
|
+
const offset = request.refreshTokenExpirationOffsetSeconds ||
|
|
6394
|
+
DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS;
|
|
6395
|
+
this.performanceClient?.addFields({
|
|
6396
|
+
cacheRtExpiresOnSeconds: Number(refreshToken.expiresOn),
|
|
6397
|
+
rtOffsetSeconds: offset,
|
|
6398
|
+
}, request.correlationId);
|
|
6399
|
+
if (isTokenExpired(refreshToken.expiresOn, offset)) {
|
|
6400
|
+
throw createInteractionRequiredAuthError(refreshTokenExpired);
|
|
6401
|
+
}
|
|
6396
6402
|
}
|
|
6397
6403
|
// attach cached RT size to the current measurement
|
|
6398
6404
|
const refreshTokenRequest = {
|
|
@@ -6410,7 +6416,6 @@
|
|
|
6410
6416
|
}
|
|
6411
6417
|
catch (e) {
|
|
6412
6418
|
if (e instanceof InteractionRequiredAuthError) {
|
|
6413
|
-
this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
|
|
6414
6419
|
if (e.subError === badToken) {
|
|
6415
6420
|
// Remove bad refresh token from cache
|
|
6416
6421
|
this.logger.verbose("1pg3ap", request.correlationId);
|
|
@@ -6520,7 +6525,7 @@
|
|
|
6520
6525
|
}
|
|
6521
6526
|
}
|
|
6522
6527
|
|
|
6523
|
-
/*! @azure/msal-common v16.0.
|
|
6528
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6524
6529
|
|
|
6525
6530
|
/*
|
|
6526
6531
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6629,7 +6634,7 @@
|
|
|
6629
6634
|
}
|
|
6630
6635
|
}
|
|
6631
6636
|
|
|
6632
|
-
/*! @azure/msal-common v16.0.
|
|
6637
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6633
6638
|
|
|
6634
6639
|
/*
|
|
6635
6640
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6644,7 +6649,7 @@
|
|
|
6644
6649
|
},
|
|
6645
6650
|
};
|
|
6646
6651
|
|
|
6647
|
-
/*! @azure/msal-common v16.0.
|
|
6652
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6648
6653
|
|
|
6649
6654
|
/*
|
|
6650
6655
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6868,7 +6873,7 @@
|
|
|
6868
6873
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6869
6874
|
}
|
|
6870
6875
|
|
|
6871
|
-
/*! @azure/msal-common v16.0.
|
|
6876
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6872
6877
|
|
|
6873
6878
|
/*
|
|
6874
6879
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6926,7 +6931,7 @@
|
|
|
6926
6931
|
}
|
|
6927
6932
|
}
|
|
6928
6933
|
|
|
6929
|
-
/*! @azure/msal-common v16.0.
|
|
6934
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6930
6935
|
/*
|
|
6931
6936
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6932
6937
|
* Licensed under the MIT License.
|
|
@@ -6943,7 +6948,7 @@
|
|
|
6943
6948
|
unexpectedError: unexpectedError
|
|
6944
6949
|
});
|
|
6945
6950
|
|
|
6946
|
-
/*! @azure/msal-common v16.0.
|
|
6951
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6947
6952
|
|
|
6948
6953
|
/*
|
|
6949
6954
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7204,7 +7209,7 @@
|
|
|
7204
7209
|
}
|
|
7205
7210
|
}
|
|
7206
7211
|
|
|
7207
|
-
/*! @azure/msal-common v16.0.
|
|
7212
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7208
7213
|
|
|
7209
7214
|
/*
|
|
7210
7215
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7225,7 +7230,7 @@
|
|
|
7225
7230
|
return new JoseHeaderError(code);
|
|
7226
7231
|
}
|
|
7227
7232
|
|
|
7228
|
-
/*! @azure/msal-common v16.0.
|
|
7233
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7229
7234
|
/*
|
|
7230
7235
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7231
7236
|
* Licensed under the MIT License.
|
|
@@ -7233,7 +7238,7 @@
|
|
|
7233
7238
|
const missingKidError = "missing_kid_error";
|
|
7234
7239
|
const missingAlgError = "missing_alg_error";
|
|
7235
7240
|
|
|
7236
|
-
/*! @azure/msal-common v16.0.
|
|
7241
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7237
7242
|
|
|
7238
7243
|
/*
|
|
7239
7244
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7273,7 +7278,7 @@
|
|
|
7273
7278
|
}
|
|
7274
7279
|
}
|
|
7275
7280
|
|
|
7276
|
-
/*! @azure/msal-common v16.0.
|
|
7281
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7277
7282
|
|
|
7278
7283
|
/*
|
|
7279
7284
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8932,7 +8937,11 @@
|
|
|
8932
8937
|
const Encrypt = "encrypt";
|
|
8933
8938
|
const Decrypt = "decrypt";
|
|
8934
8939
|
const GenerateEarKey = "generateEarKey";
|
|
8935
|
-
const DecryptEarResponse = "decryptEarResponse";
|
|
8940
|
+
const DecryptEarResponse = "decryptEarResponse";
|
|
8941
|
+
const LoadAccount = "loadAccount";
|
|
8942
|
+
const LoadIdToken = "loadIdToken";
|
|
8943
|
+
const LoadAccessToken = "loadAccessToken";
|
|
8944
|
+
const LoadRefreshToken = "loadRefreshToken";
|
|
8936
8945
|
|
|
8937
8946
|
/*
|
|
8938
8947
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9539,7 +9548,9 @@
|
|
|
9539
9548
|
// Initialize client application
|
|
9540
9549
|
const InitializeClientApplication = "initializeClientApplication";
|
|
9541
9550
|
// Update cache storage
|
|
9542
|
-
const LocalStorageUpdated = "localStorageUpdated";
|
|
9551
|
+
const LocalStorageUpdated = "localStorageUpdated";
|
|
9552
|
+
// Load external tokens
|
|
9553
|
+
const LoadExternalTokens = "loadExternalTokens";
|
|
9543
9554
|
|
|
9544
9555
|
var BrowserRootPerformanceEvents = /*#__PURE__*/Object.freeze({
|
|
9545
9556
|
__proto__: null,
|
|
@@ -9549,6 +9560,7 @@
|
|
|
9549
9560
|
AcquireTokenRedirect: AcquireTokenRedirect,
|
|
9550
9561
|
AcquireTokenSilent: AcquireTokenSilent,
|
|
9551
9562
|
InitializeClientApplication: InitializeClientApplication,
|
|
9563
|
+
LoadExternalTokens: LoadExternalTokens,
|
|
9552
9564
|
LocalStorageUpdated: LocalStorageUpdated,
|
|
9553
9565
|
SsoSilent: SsoSilent
|
|
9554
9566
|
});
|
|
@@ -10067,7 +10079,7 @@
|
|
|
10067
10079
|
|
|
10068
10080
|
/* eslint-disable header/header */
|
|
10069
10081
|
const name = "@azure/msal-browser";
|
|
10070
|
-
const version = "5.0.
|
|
10082
|
+
const version = "5.0.1";
|
|
10071
10083
|
|
|
10072
10084
|
/*
|
|
10073
10085
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -17879,41 +17891,51 @@
|
|
|
17879
17891
|
*/
|
|
17880
17892
|
/**
|
|
17881
17893
|
* API to load tokens to msal-browser cache.
|
|
17882
|
-
* @param
|
|
17883
|
-
* @param
|
|
17884
|
-
* @param
|
|
17894
|
+
* @param config - Object to configure the MSAL app.
|
|
17895
|
+
* @param request - Silent request containing authority, scopes, and account.
|
|
17896
|
+
* @param response - External token response to load into the cache.
|
|
17897
|
+
* @param options - Options controlling how tokens are loaded into the cache.
|
|
17898
|
+
* @param performanceClient - Optional performance client used for telemetry measurements.
|
|
17885
17899
|
* @returns `AuthenticationResult` for the response that was loaded.
|
|
17886
17900
|
*/
|
|
17887
|
-
async function loadExternalTokens(config, request, response, options) {
|
|
17901
|
+
async function loadExternalTokens(config, request, response, options, performanceClient = new StubPerformanceClient()) {
|
|
17888
17902
|
blockNonBrowserEnvironment();
|
|
17889
17903
|
const browserConfig = buildConfiguration(config, true);
|
|
17890
17904
|
const correlationId = request.correlationId || createNewGuid();
|
|
17891
|
-
const
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
|
|
17909
|
-
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
|
|
17905
|
+
const rootMeasurement = performanceClient.startMeasurement(LoadExternalTokens, correlationId);
|
|
17906
|
+
try {
|
|
17907
|
+
const idTokenClaims = response.id_token
|
|
17908
|
+
? extractTokenClaims(response.id_token, base64Decode)
|
|
17909
|
+
: undefined;
|
|
17910
|
+
const kmsi = isKmsi(idTokenClaims || {});
|
|
17911
|
+
const authorityOptions = {
|
|
17912
|
+
protocolMode: browserConfig.system.protocolMode,
|
|
17913
|
+
knownAuthorities: browserConfig.auth.knownAuthorities,
|
|
17914
|
+
cloudDiscoveryMetadata: browserConfig.auth.cloudDiscoveryMetadata,
|
|
17915
|
+
authorityMetadata: browserConfig.auth.authorityMetadata,
|
|
17916
|
+
};
|
|
17917
|
+
const logger = new Logger(browserConfig.system.loggerOptions || {});
|
|
17918
|
+
const cryptoOps = new CryptoOps(logger, browserConfig.telemetry.client);
|
|
17919
|
+
const storage = new BrowserCacheManager(browserConfig.auth.clientId, browserConfig.cache, cryptoOps, logger, browserConfig.telemetry.client, new EventHandler(logger), buildStaticAuthorityOptions(browserConfig.auth));
|
|
17920
|
+
const authority = request.authority
|
|
17921
|
+
? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), browserConfig.system.networkClient, storage, authorityOptions, logger, request.correlationId || createNewGuid(), browserConfig.telemetry.client)
|
|
17922
|
+
: undefined;
|
|
17923
|
+
const cacheRecordAccount = await invokeAsync(loadAccount, LoadAccount, logger, performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, storage, logger, cryptoOps, idTokenClaims, authority);
|
|
17924
|
+
const idToken = await invokeAsync(loadIdToken, LoadIdToken, logger, performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, kmsi, correlationId, storage, logger, config.auth.clientId);
|
|
17925
|
+
const accessToken = await invokeAsync(loadAccessToken, LoadAccessToken, logger, performanceClient, correlationId)(request, response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, kmsi, options, correlationId, storage, logger, config.auth.clientId);
|
|
17926
|
+
const refreshToken = await invokeAsync(loadRefreshToken, LoadRefreshToken, logger, performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, kmsi, correlationId, storage, logger, config.auth.clientId);
|
|
17927
|
+
rootMeasurement.end({ success: true }, undefined, getAccountInfo(cacheRecordAccount));
|
|
17928
|
+
return generateAuthenticationResult(request, {
|
|
17929
|
+
account: cacheRecordAccount,
|
|
17930
|
+
idToken,
|
|
17931
|
+
accessToken,
|
|
17932
|
+
refreshToken,
|
|
17933
|
+
}, idTokenClaims, authority);
|
|
17934
|
+
}
|
|
17935
|
+
catch (error) {
|
|
17936
|
+
rootMeasurement.end({ success: false }, error);
|
|
17937
|
+
throw error;
|
|
17938
|
+
}
|
|
17917
17939
|
}
|
|
17918
17940
|
/**
|
|
17919
17941
|
* Helper function to load account to msal-browser cache
|