@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.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.0.
|
|
1
|
+
/*! @azure/msal-browser v5.0.1 2026-01-16 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v16.0.
|
|
5
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -234,7 +234,7 @@ const JsonWebTokenTypes$1 = {
|
|
|
234
234
|
// Token renewal offset default in seconds
|
|
235
235
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
236
236
|
|
|
237
|
-
/*! @azure/msal-common v16.0.
|
|
237
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
238
238
|
/*
|
|
239
239
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
240
240
|
* Licensed under the MIT License.
|
|
@@ -284,7 +284,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
284
284
|
const EAR_JWK = "ear_jwk";
|
|
285
285
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
286
286
|
|
|
287
|
-
/*! @azure/msal-common v16.0.
|
|
287
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
288
288
|
/*
|
|
289
289
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
290
290
|
* Licensed under the MIT License.
|
|
@@ -315,7 +315,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
315
315
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage$1(code));
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
/*! @azure/msal-common v16.0.
|
|
318
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
319
319
|
|
|
320
320
|
/*
|
|
321
321
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -335,7 +335,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
335
335
|
return new ClientConfigurationError(errorCode);
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
/*! @azure/msal-common v16.0.
|
|
338
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
339
339
|
/*
|
|
340
340
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
341
341
|
* Licensed under the MIT License.
|
|
@@ -432,7 +432,7 @@ class StringUtils {
|
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
/*! @azure/msal-common v16.0.
|
|
435
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
436
436
|
|
|
437
437
|
/*
|
|
438
438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -455,7 +455,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
455
455
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
/*! @azure/msal-common v16.0.
|
|
458
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
459
459
|
/*
|
|
460
460
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
461
461
|
* Licensed under the MIT License.
|
|
@@ -509,7 +509,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
509
509
|
urlParseError: urlParseError
|
|
510
510
|
});
|
|
511
511
|
|
|
512
|
-
/*! @azure/msal-common v16.0.
|
|
512
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
513
513
|
/*
|
|
514
514
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
515
515
|
* Licensed under the MIT License.
|
|
@@ -593,7 +593,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
593
593
|
userCanceled: userCanceled
|
|
594
594
|
});
|
|
595
595
|
|
|
596
|
-
/*! @azure/msal-common v16.0.
|
|
596
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
597
597
|
|
|
598
598
|
/*
|
|
599
599
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -788,7 +788,7 @@ class ScopeSet {
|
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
790
|
|
|
791
|
-
/*! @azure/msal-common v16.0.
|
|
791
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
792
792
|
|
|
793
793
|
/*
|
|
794
794
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1155,7 +1155,7 @@ function addEARParameters(parameters, jwk) {
|
|
|
1155
1155
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
|
-
/*! @azure/msal-common v16.0.
|
|
1158
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1159
1159
|
|
|
1160
1160
|
/*
|
|
1161
1161
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1264,7 +1264,7 @@ function normalizeUrlForComparison(url) {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
/*! @azure/msal-common v16.0.
|
|
1267
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1268
1268
|
|
|
1269
1269
|
/*
|
|
1270
1270
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1303,7 +1303,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1303
1303
|
},
|
|
1304
1304
|
};
|
|
1305
1305
|
|
|
1306
|
-
/*! @azure/msal-common v16.0.
|
|
1306
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1307
1307
|
/*
|
|
1308
1308
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1309
1309
|
* Licensed under the MIT License.
|
|
@@ -1578,12 +1578,12 @@ class Logger {
|
|
|
1578
1578
|
}
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
|
-
/*! @azure/msal-common v16.0.
|
|
1581
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1582
1582
|
/* eslint-disable header/header */
|
|
1583
1583
|
const name$1 = "@azure/msal-common";
|
|
1584
|
-
const version$1 = "16.0.
|
|
1584
|
+
const version$1 = "16.0.1";
|
|
1585
1585
|
|
|
1586
|
-
/*! @azure/msal-common v16.0.
|
|
1586
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1587
1587
|
/*
|
|
1588
1588
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1589
1589
|
* Licensed under the MIT License.
|
|
@@ -1603,7 +1603,7 @@ const AzureCloudInstance = {
|
|
|
1603
1603
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1604
1604
|
};
|
|
1605
1605
|
|
|
1606
|
-
/*! @azure/msal-common v16.0.
|
|
1606
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1607
1607
|
/*
|
|
1608
1608
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1609
1609
|
* Licensed under the MIT License.
|
|
@@ -1685,7 +1685,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1685
1685
|
return updatedAccountInfo;
|
|
1686
1686
|
}
|
|
1687
1687
|
|
|
1688
|
-
/*! @azure/msal-common v16.0.
|
|
1688
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1689
1689
|
|
|
1690
1690
|
/*
|
|
1691
1691
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1765,7 +1765,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1765
1765
|
}
|
|
1766
1766
|
}
|
|
1767
1767
|
|
|
1768
|
-
/*! @azure/msal-common v16.0.
|
|
1768
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1769
1769
|
|
|
1770
1770
|
/*
|
|
1771
1771
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1922,7 +1922,7 @@ class UrlString {
|
|
|
1922
1922
|
}
|
|
1923
1923
|
}
|
|
1924
1924
|
|
|
1925
|
-
/*! @azure/msal-common v16.0.
|
|
1925
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1926
1926
|
|
|
1927
1927
|
/*
|
|
1928
1928
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2064,7 +2064,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2064
2064
|
return null;
|
|
2065
2065
|
}
|
|
2066
2066
|
|
|
2067
|
-
/*! @azure/msal-common v16.0.
|
|
2067
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2068
2068
|
/*
|
|
2069
2069
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2070
2070
|
* Licensed under the MIT License.
|
|
@@ -2072,7 +2072,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2072
2072
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2073
2073
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2074
2074
|
|
|
2075
|
-
/*! @azure/msal-common v16.0.
|
|
2075
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2076
2076
|
|
|
2077
2077
|
/*
|
|
2078
2078
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2110,7 +2110,7 @@ function createCacheError(e) {
|
|
|
2110
2110
|
}
|
|
2111
2111
|
}
|
|
2112
2112
|
|
|
2113
|
-
/*! @azure/msal-common v16.0.
|
|
2113
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2114
2114
|
|
|
2115
2115
|
/*
|
|
2116
2116
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2148,7 +2148,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2148
2148
|
};
|
|
2149
2149
|
}
|
|
2150
2150
|
|
|
2151
|
-
/*! @azure/msal-common v16.0.
|
|
2151
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2152
2152
|
/*
|
|
2153
2153
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2154
2154
|
* Licensed under the MIT License.
|
|
@@ -2163,7 +2163,7 @@ const AuthorityType = {
|
|
|
2163
2163
|
Ciam: 3,
|
|
2164
2164
|
};
|
|
2165
2165
|
|
|
2166
|
-
/*! @azure/msal-common v16.0.
|
|
2166
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2167
2167
|
/*
|
|
2168
2168
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2169
2169
|
* Licensed under the MIT License.
|
|
@@ -2185,7 +2185,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2185
2185
|
return null;
|
|
2186
2186
|
}
|
|
2187
2187
|
|
|
2188
|
-
/*! @azure/msal-common v16.0.
|
|
2188
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2189
2189
|
/*
|
|
2190
2190
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2191
2191
|
* Licensed under the MIT License.
|
|
@@ -2209,7 +2209,7 @@ const ProtocolMode = {
|
|
|
2209
2209
|
EAR: "EAR",
|
|
2210
2210
|
};
|
|
2211
2211
|
|
|
2212
|
-
/*! @azure/msal-common v16.0.
|
|
2212
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2213
2213
|
/**
|
|
2214
2214
|
* Returns the AccountInfo interface for this account.
|
|
2215
2215
|
*/
|
|
@@ -2369,7 +2369,7 @@ function isAccountEntity(entity) {
|
|
|
2369
2369
|
entity.hasOwnProperty("authorityType"));
|
|
2370
2370
|
}
|
|
2371
2371
|
|
|
2372
|
-
/*! @azure/msal-common v16.0.
|
|
2372
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2373
2373
|
|
|
2374
2374
|
/*
|
|
2375
2375
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3466,7 +3466,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3466
3466
|
}
|
|
3467
3467
|
}
|
|
3468
3468
|
|
|
3469
|
-
/*! @azure/msal-common v16.0.
|
|
3469
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3470
3470
|
/*
|
|
3471
3471
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3472
3472
|
* Licensed under the MIT License.
|
|
@@ -3507,7 +3507,7 @@ const IntFields = new Set([
|
|
|
3507
3507
|
"upgradedCacheCount",
|
|
3508
3508
|
]);
|
|
3509
3509
|
|
|
3510
|
-
/*! @azure/msal-common v16.0.
|
|
3510
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3511
3511
|
|
|
3512
3512
|
/*
|
|
3513
3513
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3562,7 +3562,7 @@ class StubPerformanceClient {
|
|
|
3562
3562
|
}
|
|
3563
3563
|
}
|
|
3564
3564
|
|
|
3565
|
-
/*! @azure/msal-common v16.0.
|
|
3565
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3566
3566
|
|
|
3567
3567
|
/*
|
|
3568
3568
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3656,7 +3656,7 @@ function isOidcProtocolMode(config) {
|
|
|
3656
3656
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3657
3657
|
}
|
|
3658
3658
|
|
|
3659
|
-
/*! @azure/msal-common v16.0.
|
|
3659
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3660
3660
|
|
|
3661
3661
|
/*
|
|
3662
3662
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3675,7 +3675,7 @@ class ServerError extends AuthError {
|
|
|
3675
3675
|
}
|
|
3676
3676
|
}
|
|
3677
3677
|
|
|
3678
|
-
/*! @azure/msal-common v16.0.
|
|
3678
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3679
3679
|
/*
|
|
3680
3680
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3681
3681
|
* Licensed under the MIT License.
|
|
@@ -3703,7 +3703,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
3703
3703
|
uxNotAllowed: uxNotAllowed
|
|
3704
3704
|
});
|
|
3705
3705
|
|
|
3706
|
-
/*! @azure/msal-common v16.0.
|
|
3706
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3707
3707
|
|
|
3708
3708
|
/*
|
|
3709
3709
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3769,7 +3769,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
3769
3769
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
3770
3770
|
}
|
|
3771
3771
|
|
|
3772
|
-
/*! @azure/msal-common v16.0.
|
|
3772
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3773
3773
|
|
|
3774
3774
|
/*
|
|
3775
3775
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3837,7 +3837,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
3837
3837
|
}
|
|
3838
3838
|
}
|
|
3839
3839
|
|
|
3840
|
-
/*! @azure/msal-common v16.0.
|
|
3840
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3841
3841
|
/*
|
|
3842
3842
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3843
3843
|
* Licensed under the MIT License.
|
|
@@ -3902,7 +3902,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
3902
3902
|
return cachedAtSec > nowSeconds();
|
|
3903
3903
|
}
|
|
3904
3904
|
|
|
3905
|
-
/*! @azure/msal-common v16.0.
|
|
3905
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3906
3906
|
/*
|
|
3907
3907
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3908
3908
|
* Licensed under the MIT License.
|
|
@@ -3973,7 +3973,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
3973
3973
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
3974
3974
|
const SetUserData = "setUserData";
|
|
3975
3975
|
|
|
3976
|
-
/*! @azure/msal-common v16.0.
|
|
3976
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3977
3977
|
/*
|
|
3978
3978
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3979
3979
|
* Licensed under the MIT License.
|
|
@@ -4068,7 +4068,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4068
4068
|
};
|
|
4069
4069
|
};
|
|
4070
4070
|
|
|
4071
|
-
/*! @azure/msal-common v16.0.
|
|
4071
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4072
4072
|
|
|
4073
4073
|
/*
|
|
4074
4074
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4148,7 +4148,7 @@ class PopTokenGenerator {
|
|
|
4148
4148
|
}
|
|
4149
4149
|
}
|
|
4150
4150
|
|
|
4151
|
-
/*! @azure/msal-common v16.0.
|
|
4151
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4152
4152
|
/*
|
|
4153
4153
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4154
4154
|
* Licensed under the MIT License.
|
|
@@ -4175,7 +4175,7 @@ class PopTokenGenerator {
|
|
|
4175
4175
|
}
|
|
4176
4176
|
}
|
|
4177
4177
|
|
|
4178
|
-
/*! @azure/msal-common v16.0.
|
|
4178
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4179
4179
|
|
|
4180
4180
|
/*
|
|
4181
4181
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4434,7 +4434,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4434
4434
|
return metadata.expiresAt <= nowSeconds();
|
|
4435
4435
|
}
|
|
4436
4436
|
|
|
4437
|
-
/*! @azure/msal-common v16.0.
|
|
4437
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4438
4438
|
|
|
4439
4439
|
/*
|
|
4440
4440
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4625,6 +4625,7 @@ class ResponseHandler {
|
|
|
4625
4625
|
? parseInt(serverTokenResponse.refresh_token_expires_in, 10)
|
|
4626
4626
|
: serverTokenResponse.refresh_token_expires_in;
|
|
4627
4627
|
rtExpiresOn = reqTimestamp + rtExpiresIn;
|
|
4628
|
+
this.performanceClient?.addFields({ ntwkRtExpiresOnSeconds: rtExpiresOn }, request.correlationId);
|
|
4628
4629
|
}
|
|
4629
4630
|
cachedRefreshToken = createRefreshTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.refresh_token, this.clientId, serverTokenResponse.foci, userAssertionHash, rtExpiresOn);
|
|
4630
4631
|
}
|
|
@@ -4764,7 +4765,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4764
4765
|
return baseAccount;
|
|
4765
4766
|
}
|
|
4766
4767
|
|
|
4767
|
-
/*! @azure/msal-common v16.0.
|
|
4768
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4768
4769
|
/*
|
|
4769
4770
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4770
4771
|
* Licensed under the MIT License.
|
|
@@ -4774,7 +4775,7 @@ const CcsCredentialType = {
|
|
|
4774
4775
|
UPN: "UPN",
|
|
4775
4776
|
};
|
|
4776
4777
|
|
|
4777
|
-
/*! @azure/msal-common v16.0.
|
|
4778
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4778
4779
|
/*
|
|
4779
4780
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4780
4781
|
* Licensed under the MIT License.
|
|
@@ -4792,7 +4793,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4792
4793
|
}
|
|
4793
4794
|
}
|
|
4794
4795
|
|
|
4795
|
-
/*! @azure/msal-common v16.0.
|
|
4796
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4796
4797
|
/*
|
|
4797
4798
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4798
4799
|
* Licensed under the MIT License.
|
|
@@ -4813,7 +4814,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4813
4814
|
};
|
|
4814
4815
|
}
|
|
4815
4816
|
|
|
4816
|
-
/*! @azure/msal-common v16.0.
|
|
4817
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4817
4818
|
|
|
4818
4819
|
/*
|
|
4819
4820
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4899,7 +4900,7 @@ class ThrottlingUtils {
|
|
|
4899
4900
|
}
|
|
4900
4901
|
}
|
|
4901
4902
|
|
|
4902
|
-
/*! @azure/msal-common v16.0.
|
|
4903
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4903
4904
|
|
|
4904
4905
|
/*
|
|
4905
4906
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4930,7 +4931,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4930
4931
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
4931
4932
|
}
|
|
4932
4933
|
|
|
4933
|
-
/*! @azure/msal-common v16.0.
|
|
4934
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4934
4935
|
|
|
4935
4936
|
/*
|
|
4936
4937
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5044,7 +5045,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5044
5045
|
return response;
|
|
5045
5046
|
}
|
|
5046
5047
|
|
|
5047
|
-
/*! @azure/msal-common v16.0.
|
|
5048
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5048
5049
|
/*
|
|
5049
5050
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5050
5051
|
* Licensed under the MIT License.
|
|
@@ -5056,7 +5057,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5056
5057
|
response.hasOwnProperty("jwks_uri"));
|
|
5057
5058
|
}
|
|
5058
5059
|
|
|
5059
|
-
/*! @azure/msal-common v16.0.
|
|
5060
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5060
5061
|
/*
|
|
5061
5062
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5062
5063
|
* Licensed under the MIT License.
|
|
@@ -5066,7 +5067,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5066
5067
|
response.hasOwnProperty("metadata"));
|
|
5067
5068
|
}
|
|
5068
5069
|
|
|
5069
|
-
/*! @azure/msal-common v16.0.
|
|
5070
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5070
5071
|
/*
|
|
5071
5072
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5072
5073
|
* Licensed under the MIT License.
|
|
@@ -5076,7 +5077,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5076
5077
|
response.hasOwnProperty("error_description"));
|
|
5077
5078
|
}
|
|
5078
5079
|
|
|
5079
|
-
/*! @azure/msal-common v16.0.
|
|
5080
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5080
5081
|
|
|
5081
5082
|
/*
|
|
5082
5083
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5181,7 +5182,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5181
5182
|
},
|
|
5182
5183
|
};
|
|
5183
5184
|
|
|
5184
|
-
/*! @azure/msal-common v16.0.
|
|
5185
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5185
5186
|
|
|
5186
5187
|
/*
|
|
5187
5188
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6001,7 +6002,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6001
6002
|
};
|
|
6002
6003
|
}
|
|
6003
6004
|
|
|
6004
|
-
/*! @azure/msal-common v16.0.
|
|
6005
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6005
6006
|
|
|
6006
6007
|
/*
|
|
6007
6008
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6035,7 +6036,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6035
6036
|
}
|
|
6036
6037
|
}
|
|
6037
6038
|
|
|
6038
|
-
/*! @azure/msal-common v16.0.
|
|
6039
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6039
6040
|
|
|
6040
6041
|
/*
|
|
6041
6042
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6295,7 +6296,7 @@ class AuthorizationCodeClient {
|
|
|
6295
6296
|
}
|
|
6296
6297
|
}
|
|
6297
6298
|
|
|
6298
|
-
/*! @azure/msal-common v16.0.
|
|
6299
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6299
6300
|
|
|
6300
6301
|
/*
|
|
6301
6302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6384,11 +6385,16 @@ class RefreshTokenClient {
|
|
|
6384
6385
|
if (!refreshToken) {
|
|
6385
6386
|
throw createInteractionRequiredAuthError(noTokensFound);
|
|
6386
6387
|
}
|
|
6387
|
-
if (refreshToken.expiresOn
|
|
6388
|
-
|
|
6389
|
-
DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS
|
|
6390
|
-
this.performanceClient?.addFields({
|
|
6391
|
-
|
|
6388
|
+
if (refreshToken.expiresOn) {
|
|
6389
|
+
const offset = request.refreshTokenExpirationOffsetSeconds ||
|
|
6390
|
+
DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS;
|
|
6391
|
+
this.performanceClient?.addFields({
|
|
6392
|
+
cacheRtExpiresOnSeconds: Number(refreshToken.expiresOn),
|
|
6393
|
+
rtOffsetSeconds: offset,
|
|
6394
|
+
}, request.correlationId);
|
|
6395
|
+
if (isTokenExpired(refreshToken.expiresOn, offset)) {
|
|
6396
|
+
throw createInteractionRequiredAuthError(refreshTokenExpired);
|
|
6397
|
+
}
|
|
6392
6398
|
}
|
|
6393
6399
|
// attach cached RT size to the current measurement
|
|
6394
6400
|
const refreshTokenRequest = {
|
|
@@ -6406,7 +6412,6 @@ class RefreshTokenClient {
|
|
|
6406
6412
|
}
|
|
6407
6413
|
catch (e) {
|
|
6408
6414
|
if (e instanceof InteractionRequiredAuthError) {
|
|
6409
|
-
this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
|
|
6410
6415
|
if (e.subError === badToken) {
|
|
6411
6416
|
// Remove bad refresh token from cache
|
|
6412
6417
|
this.logger.verbose("1pg3ap", request.correlationId);
|
|
@@ -6516,7 +6521,7 @@ class RefreshTokenClient {
|
|
|
6516
6521
|
}
|
|
6517
6522
|
}
|
|
6518
6523
|
|
|
6519
|
-
/*! @azure/msal-common v16.0.
|
|
6524
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6520
6525
|
|
|
6521
6526
|
/*
|
|
6522
6527
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6625,7 +6630,7 @@ class SilentFlowClient {
|
|
|
6625
6630
|
}
|
|
6626
6631
|
}
|
|
6627
6632
|
|
|
6628
|
-
/*! @azure/msal-common v16.0.
|
|
6633
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6629
6634
|
|
|
6630
6635
|
/*
|
|
6631
6636
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6640,7 +6645,7 @@ const StubbedNetworkModule = {
|
|
|
6640
6645
|
},
|
|
6641
6646
|
};
|
|
6642
6647
|
|
|
6643
|
-
/*! @azure/msal-common v16.0.
|
|
6648
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6644
6649
|
|
|
6645
6650
|
/*
|
|
6646
6651
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6864,7 +6869,7 @@ function extractLoginHint(account) {
|
|
|
6864
6869
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6865
6870
|
}
|
|
6866
6871
|
|
|
6867
|
-
/*! @azure/msal-common v16.0.
|
|
6872
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6868
6873
|
|
|
6869
6874
|
/*
|
|
6870
6875
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6922,7 +6927,7 @@ class AuthenticationHeaderParser {
|
|
|
6922
6927
|
}
|
|
6923
6928
|
}
|
|
6924
6929
|
|
|
6925
|
-
/*! @azure/msal-common v16.0.
|
|
6930
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6926
6931
|
/*
|
|
6927
6932
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6928
6933
|
* Licensed under the MIT License.
|
|
@@ -6939,7 +6944,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6939
6944
|
unexpectedError: unexpectedError
|
|
6940
6945
|
});
|
|
6941
6946
|
|
|
6942
|
-
/*! @azure/msal-common v16.0.
|
|
6947
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6943
6948
|
|
|
6944
6949
|
/*
|
|
6945
6950
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7200,7 +7205,7 @@ class ServerTelemetryManager {
|
|
|
7200
7205
|
}
|
|
7201
7206
|
}
|
|
7202
7207
|
|
|
7203
|
-
/*! @azure/msal-common v16.0.
|
|
7208
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7204
7209
|
|
|
7205
7210
|
/*
|
|
7206
7211
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7221,7 +7226,7 @@ function createJoseHeaderError(code) {
|
|
|
7221
7226
|
return new JoseHeaderError(code);
|
|
7222
7227
|
}
|
|
7223
7228
|
|
|
7224
|
-
/*! @azure/msal-common v16.0.
|
|
7229
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7225
7230
|
/*
|
|
7226
7231
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7227
7232
|
* Licensed under the MIT License.
|
|
@@ -7229,7 +7234,7 @@ function createJoseHeaderError(code) {
|
|
|
7229
7234
|
const missingKidError = "missing_kid_error";
|
|
7230
7235
|
const missingAlgError = "missing_alg_error";
|
|
7231
7236
|
|
|
7232
|
-
/*! @azure/msal-common v16.0.
|
|
7237
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7233
7238
|
|
|
7234
7239
|
/*
|
|
7235
7240
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7269,7 +7274,7 @@ class JoseHeader {
|
|
|
7269
7274
|
}
|
|
7270
7275
|
}
|
|
7271
7276
|
|
|
7272
|
-
/*! @azure/msal-common v16.0.
|
|
7277
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
7273
7278
|
|
|
7274
7279
|
/*
|
|
7275
7280
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8928,7 +8933,11 @@ const UrlEncodeArr = "urlEncodeArr";
|
|
|
8928
8933
|
const Encrypt = "encrypt";
|
|
8929
8934
|
const Decrypt = "decrypt";
|
|
8930
8935
|
const GenerateEarKey = "generateEarKey";
|
|
8931
|
-
const DecryptEarResponse = "decryptEarResponse";
|
|
8936
|
+
const DecryptEarResponse = "decryptEarResponse";
|
|
8937
|
+
const LoadAccount = "loadAccount";
|
|
8938
|
+
const LoadIdToken = "loadIdToken";
|
|
8939
|
+
const LoadAccessToken = "loadAccessToken";
|
|
8940
|
+
const LoadRefreshToken = "loadRefreshToken";
|
|
8932
8941
|
|
|
8933
8942
|
/*
|
|
8934
8943
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9535,7 +9544,9 @@ const SsoSilent = "ssoSilent";
|
|
|
9535
9544
|
// Initialize client application
|
|
9536
9545
|
const InitializeClientApplication = "initializeClientApplication";
|
|
9537
9546
|
// Update cache storage
|
|
9538
|
-
const LocalStorageUpdated = "localStorageUpdated";
|
|
9547
|
+
const LocalStorageUpdated = "localStorageUpdated";
|
|
9548
|
+
// Load external tokens
|
|
9549
|
+
const LoadExternalTokens = "loadExternalTokens";
|
|
9539
9550
|
|
|
9540
9551
|
var BrowserRootPerformanceEvents = /*#__PURE__*/Object.freeze({
|
|
9541
9552
|
__proto__: null,
|
|
@@ -9545,6 +9556,7 @@ var BrowserRootPerformanceEvents = /*#__PURE__*/Object.freeze({
|
|
|
9545
9556
|
AcquireTokenRedirect: AcquireTokenRedirect,
|
|
9546
9557
|
AcquireTokenSilent: AcquireTokenSilent,
|
|
9547
9558
|
InitializeClientApplication: InitializeClientApplication,
|
|
9559
|
+
LoadExternalTokens: LoadExternalTokens,
|
|
9548
9560
|
LocalStorageUpdated: LocalStorageUpdated,
|
|
9549
9561
|
SsoSilent: SsoSilent
|
|
9550
9562
|
});
|
|
@@ -10063,7 +10075,7 @@ const EventType = {
|
|
|
10063
10075
|
|
|
10064
10076
|
/* eslint-disable header/header */
|
|
10065
10077
|
const name = "@azure/msal-browser";
|
|
10066
|
-
const version = "5.0.
|
|
10078
|
+
const version = "5.0.1";
|
|
10067
10079
|
|
|
10068
10080
|
/*
|
|
10069
10081
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -17875,41 +17887,51 @@ const stubbedPublicClientApplication = {
|
|
|
17875
17887
|
*/
|
|
17876
17888
|
/**
|
|
17877
17889
|
* API to load tokens to msal-browser cache.
|
|
17878
|
-
* @param
|
|
17879
|
-
* @param
|
|
17880
|
-
* @param
|
|
17890
|
+
* @param config - Object to configure the MSAL app.
|
|
17891
|
+
* @param request - Silent request containing authority, scopes, and account.
|
|
17892
|
+
* @param response - External token response to load into the cache.
|
|
17893
|
+
* @param options - Options controlling how tokens are loaded into the cache.
|
|
17894
|
+
* @param performanceClient - Optional performance client used for telemetry measurements.
|
|
17881
17895
|
* @returns `AuthenticationResult` for the response that was loaded.
|
|
17882
17896
|
*/
|
|
17883
|
-
async function loadExternalTokens(config, request, response, options) {
|
|
17897
|
+
async function loadExternalTokens(config, request, response, options, performanceClient = new StubPerformanceClient()) {
|
|
17884
17898
|
blockNonBrowserEnvironment();
|
|
17885
17899
|
const browserConfig = buildConfiguration(config, true);
|
|
17886
17900
|
const correlationId = request.correlationId || createNewGuid();
|
|
17887
|
-
const
|
|
17888
|
-
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
|
|
17909
|
-
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
|
|
17901
|
+
const rootMeasurement = performanceClient.startMeasurement(LoadExternalTokens, correlationId);
|
|
17902
|
+
try {
|
|
17903
|
+
const idTokenClaims = response.id_token
|
|
17904
|
+
? extractTokenClaims(response.id_token, base64Decode)
|
|
17905
|
+
: undefined;
|
|
17906
|
+
const kmsi = isKmsi(idTokenClaims || {});
|
|
17907
|
+
const authorityOptions = {
|
|
17908
|
+
protocolMode: browserConfig.system.protocolMode,
|
|
17909
|
+
knownAuthorities: browserConfig.auth.knownAuthorities,
|
|
17910
|
+
cloudDiscoveryMetadata: browserConfig.auth.cloudDiscoveryMetadata,
|
|
17911
|
+
authorityMetadata: browserConfig.auth.authorityMetadata,
|
|
17912
|
+
};
|
|
17913
|
+
const logger = new Logger(browserConfig.system.loggerOptions || {});
|
|
17914
|
+
const cryptoOps = new CryptoOps(logger, browserConfig.telemetry.client);
|
|
17915
|
+
const storage = new BrowserCacheManager(browserConfig.auth.clientId, browserConfig.cache, cryptoOps, logger, browserConfig.telemetry.client, new EventHandler(logger), buildStaticAuthorityOptions(browserConfig.auth));
|
|
17916
|
+
const authority = request.authority
|
|
17917
|
+
? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), browserConfig.system.networkClient, storage, authorityOptions, logger, request.correlationId || createNewGuid(), browserConfig.telemetry.client)
|
|
17918
|
+
: undefined;
|
|
17919
|
+
const cacheRecordAccount = await invokeAsync(loadAccount, LoadAccount, logger, performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, storage, logger, cryptoOps, idTokenClaims, authority);
|
|
17920
|
+
const idToken = await invokeAsync(loadIdToken, LoadIdToken, logger, performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, kmsi, correlationId, storage, logger, config.auth.clientId);
|
|
17921
|
+
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);
|
|
17922
|
+
const refreshToken = await invokeAsync(loadRefreshToken, LoadRefreshToken, logger, performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, kmsi, correlationId, storage, logger, config.auth.clientId);
|
|
17923
|
+
rootMeasurement.end({ success: true }, undefined, getAccountInfo(cacheRecordAccount));
|
|
17924
|
+
return generateAuthenticationResult(request, {
|
|
17925
|
+
account: cacheRecordAccount,
|
|
17926
|
+
idToken,
|
|
17927
|
+
accessToken,
|
|
17928
|
+
refreshToken,
|
|
17929
|
+
}, idTokenClaims, authority);
|
|
17930
|
+
}
|
|
17931
|
+
catch (error) {
|
|
17932
|
+
rootMeasurement.end({ success: false }, error);
|
|
17933
|
+
throw error;
|
|
17934
|
+
}
|
|
17913
17935
|
}
|
|
17914
17936
|
/**
|
|
17915
17937
|
* Helper function to load account to msal-browser cache
|