@azure/msal-browser 4.28.0 → 4.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +3 -3
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +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.map +1 -1
- package/dist/cache/TokenCache.mjs +18 -13
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +3 -3
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +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.map +1 -1
- package/dist/custom-auth-path/cache/TokenCache.mjs +18 -13
- package/dist/custom-auth-path/cache/TokenCache.mjs.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +107 -83
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +107 -83
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- 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/msal-browser.cjs +109 -85
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +109 -85
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +60 -60
- 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/package.json +2 -2
- package/src/cache/BrowserCacheManager.ts +3 -3
- package/src/cache/TokenCache.ts +37 -25
- package/src/packageMetadata.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.28.
|
|
1
|
+
/*! @azure/msal-browser v4.28.1 2026-01-17 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.14.
|
|
5
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -276,7 +276,7 @@ const JsonWebTokenTypes = {
|
|
|
276
276
|
// Token renewal offset default in seconds
|
|
277
277
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
278
278
|
|
|
279
|
-
/*! @azure/msal-common v15.14.
|
|
279
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
280
280
|
/*
|
|
281
281
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
282
282
|
* Licensed under the MIT License.
|
|
@@ -287,7 +287,7 @@ const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
|
287
287
|
const unexpectedError = "unexpected_error";
|
|
288
288
|
const postRequestFailed$1 = "post_request_failed";
|
|
289
289
|
|
|
290
|
-
/*! @azure/msal-common v15.14.
|
|
290
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
291
291
|
|
|
292
292
|
/*
|
|
293
293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -322,7 +322,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
322
322
|
: AuthErrorMessages[code]);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
/*! @azure/msal-common v15.14.
|
|
325
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
326
326
|
/*
|
|
327
327
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
328
328
|
* Licensed under the MIT License.
|
|
@@ -373,7 +373,7 @@ const methodNotImplemented = "method_not_implemented";
|
|
|
373
373
|
const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
|
|
374
374
|
const platformBrokerError = "platform_broker_error";
|
|
375
375
|
|
|
376
|
-
/*! @azure/msal-common v15.14.
|
|
376
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
377
377
|
|
|
378
378
|
/*
|
|
379
379
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -448,7 +448,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
448
448
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
/*! @azure/msal-common v15.14.
|
|
451
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
452
452
|
|
|
453
453
|
/*
|
|
454
454
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -487,7 +487,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
487
487
|
},
|
|
488
488
|
};
|
|
489
489
|
|
|
490
|
-
/*! @azure/msal-common v15.14.
|
|
490
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
491
491
|
|
|
492
492
|
/*
|
|
493
493
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -678,12 +678,12 @@ class Logger {
|
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
/*! @azure/msal-common v15.14.
|
|
681
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
682
682
|
/* eslint-disable header/header */
|
|
683
683
|
const name$1 = "@azure/msal-common";
|
|
684
|
-
const version$1 = "15.14.
|
|
684
|
+
const version$1 = "15.14.1";
|
|
685
685
|
|
|
686
|
-
/*! @azure/msal-common v15.14.
|
|
686
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
687
687
|
/*
|
|
688
688
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
689
689
|
* Licensed under the MIT License.
|
|
@@ -692,7 +692,7 @@ const AzureCloudInstance = {
|
|
|
692
692
|
// AzureCloudInstance is not specified.
|
|
693
693
|
None: "none"};
|
|
694
694
|
|
|
695
|
-
/*! @azure/msal-common v15.14.
|
|
695
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
696
696
|
/*
|
|
697
697
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
698
698
|
* Licensed under the MIT License.
|
|
@@ -722,7 +722,7 @@ const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
|
722
722
|
const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
723
723
|
const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration";
|
|
724
724
|
|
|
725
|
-
/*! @azure/msal-common v15.14.
|
|
725
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
726
726
|
|
|
727
727
|
/*
|
|
728
728
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -768,7 +768,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
768
768
|
return new ClientConfigurationError(errorCode);
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
/*! @azure/msal-common v15.14.
|
|
771
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
772
772
|
/*
|
|
773
773
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
774
774
|
* Licensed under the MIT License.
|
|
@@ -865,7 +865,7 @@ class StringUtils {
|
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
867
|
|
|
868
|
-
/*! @azure/msal-common v15.14.
|
|
868
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
869
869
|
|
|
870
870
|
/*
|
|
871
871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1060,7 +1060,7 @@ class ScopeSet {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
|
|
1063
|
-
/*! @azure/msal-common v15.14.
|
|
1063
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1064
1064
|
|
|
1065
1065
|
/*
|
|
1066
1066
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1100,7 +1100,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1100
1100
|
};
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
/*! @azure/msal-common v15.14.
|
|
1103
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1104
1104
|
/*
|
|
1105
1105
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1106
1106
|
* Licensed under the MIT License.
|
|
@@ -1182,7 +1182,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1182
1182
|
return updatedAccountInfo;
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
/*! @azure/msal-common v15.14.
|
|
1185
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1186
1186
|
/*
|
|
1187
1187
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1188
1188
|
* Licensed under the MIT License.
|
|
@@ -1197,7 +1197,7 @@ const AuthorityType = {
|
|
|
1197
1197
|
Ciam: 3,
|
|
1198
1198
|
};
|
|
1199
1199
|
|
|
1200
|
-
/*! @azure/msal-common v15.14.
|
|
1200
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1201
1201
|
/*
|
|
1202
1202
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1203
1203
|
* Licensed under the MIT License.
|
|
@@ -1219,7 +1219,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
1219
1219
|
return null;
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
|
-
/*! @azure/msal-common v15.14.
|
|
1222
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1223
1223
|
/*
|
|
1224
1224
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1225
1225
|
* Licensed under the MIT License.
|
|
@@ -1243,7 +1243,7 @@ const ProtocolMode = {
|
|
|
1243
1243
|
EAR: "EAR",
|
|
1244
1244
|
};
|
|
1245
1245
|
|
|
1246
|
-
/*! @azure/msal-common v15.14.
|
|
1246
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1247
1247
|
|
|
1248
1248
|
/*
|
|
1249
1249
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1277,6 +1277,13 @@ class AccountEntity {
|
|
|
1277
1277
|
* Returns the AccountInfo interface for this account.
|
|
1278
1278
|
*/
|
|
1279
1279
|
static getAccountInfo(accountEntity) {
|
|
1280
|
+
const tenantProfiles = accountEntity.tenantProfiles || [];
|
|
1281
|
+
// Ensure at least the home tenant profile exists
|
|
1282
|
+
if (tenantProfiles.length === 0 &&
|
|
1283
|
+
accountEntity.realm &&
|
|
1284
|
+
accountEntity.localAccountId) {
|
|
1285
|
+
tenantProfiles.push(buildTenantProfile(accountEntity.homeAccountId, accountEntity.localAccountId, accountEntity.realm));
|
|
1286
|
+
}
|
|
1280
1287
|
return {
|
|
1281
1288
|
homeAccountId: accountEntity.homeAccountId,
|
|
1282
1289
|
environment: accountEntity.environment,
|
|
@@ -1288,7 +1295,7 @@ class AccountEntity {
|
|
|
1288
1295
|
nativeAccountId: accountEntity.nativeAccountId,
|
|
1289
1296
|
authorityType: accountEntity.authorityType,
|
|
1290
1297
|
// Deserialize tenant profiles array into a Map
|
|
1291
|
-
tenantProfiles: new Map(
|
|
1298
|
+
tenantProfiles: new Map(tenantProfiles.map((tenantProfile) => {
|
|
1292
1299
|
return [tenantProfile.tenantId, tenantProfile];
|
|
1293
1300
|
})),
|
|
1294
1301
|
dataBoundary: accountEntity.dataBoundary,
|
|
@@ -1389,7 +1396,14 @@ class AccountEntity {
|
|
|
1389
1396
|
account.cloudGraphHostName = cloudGraphHostName;
|
|
1390
1397
|
account.msGraphHost = msGraphHost;
|
|
1391
1398
|
// Serialize tenant profiles map into an array
|
|
1392
|
-
|
|
1399
|
+
const tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
|
|
1400
|
+
// Ensure at least the home tenant profile exists
|
|
1401
|
+
if (tenantProfiles.length === 0 &&
|
|
1402
|
+
accountInfo.tenantId &&
|
|
1403
|
+
accountInfo.localAccountId) {
|
|
1404
|
+
tenantProfiles.push(buildTenantProfile(accountInfo.homeAccountId, accountInfo.localAccountId, accountInfo.tenantId, accountInfo.idTokenClaims));
|
|
1405
|
+
}
|
|
1406
|
+
account.tenantProfiles = tenantProfiles;
|
|
1393
1407
|
account.dataBoundary = accountInfo.dataBoundary;
|
|
1394
1408
|
return account;
|
|
1395
1409
|
}
|
|
@@ -1464,7 +1478,7 @@ class AccountEntity {
|
|
|
1464
1478
|
}
|
|
1465
1479
|
}
|
|
1466
1480
|
|
|
1467
|
-
/*! @azure/msal-common v15.14.
|
|
1481
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1468
1482
|
|
|
1469
1483
|
/*
|
|
1470
1484
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1545,7 +1559,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1545
1559
|
}
|
|
1546
1560
|
}
|
|
1547
1561
|
|
|
1548
|
-
/*! @azure/msal-common v15.14.
|
|
1562
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1549
1563
|
|
|
1550
1564
|
/*
|
|
1551
1565
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1661,7 +1675,7 @@ function normalizeUrlForComparison(url) {
|
|
|
1661
1675
|
}
|
|
1662
1676
|
}
|
|
1663
1677
|
|
|
1664
|
-
/*! @azure/msal-common v15.14.
|
|
1678
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1665
1679
|
|
|
1666
1680
|
/*
|
|
1667
1681
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1825,7 +1839,7 @@ class UrlString {
|
|
|
1825
1839
|
}
|
|
1826
1840
|
}
|
|
1827
1841
|
|
|
1828
|
-
/*! @azure/msal-common v15.14.
|
|
1842
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1829
1843
|
|
|
1830
1844
|
/*
|
|
1831
1845
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1964,7 +1978,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1964
1978
|
return null;
|
|
1965
1979
|
}
|
|
1966
1980
|
|
|
1967
|
-
/*! @azure/msal-common v15.14.
|
|
1981
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1968
1982
|
/*
|
|
1969
1983
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1970
1984
|
* Licensed under the MIT License.
|
|
@@ -1972,7 +1986,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1972
1986
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
1973
1987
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
1974
1988
|
|
|
1975
|
-
/*! @azure/msal-common v15.14.
|
|
1989
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1976
1990
|
|
|
1977
1991
|
/*
|
|
1978
1992
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2017,7 +2031,7 @@ function createCacheError(e) {
|
|
|
2017
2031
|
}
|
|
2018
2032
|
}
|
|
2019
2033
|
|
|
2020
|
-
/*! @azure/msal-common v15.14.
|
|
2034
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2021
2035
|
|
|
2022
2036
|
/*
|
|
2023
2037
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3127,7 +3141,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3127
3141
|
}
|
|
3128
3142
|
}
|
|
3129
3143
|
|
|
3130
|
-
/*! @azure/msal-common v15.14.
|
|
3144
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3131
3145
|
/*
|
|
3132
3146
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3133
3147
|
* Licensed under the MIT License.
|
|
@@ -3399,7 +3413,7 @@ const PerformanceEvents = {
|
|
|
3399
3413
|
const PerformanceEventStatus = {
|
|
3400
3414
|
InProgress: 1};
|
|
3401
3415
|
|
|
3402
|
-
/*! @azure/msal-common v15.14.
|
|
3416
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3403
3417
|
|
|
3404
3418
|
/*
|
|
3405
3419
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3478,7 +3492,7 @@ class StubPerformanceClient {
|
|
|
3478
3492
|
}
|
|
3479
3493
|
}
|
|
3480
3494
|
|
|
3481
|
-
/*! @azure/msal-common v15.14.
|
|
3495
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3482
3496
|
|
|
3483
3497
|
/*
|
|
3484
3498
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3578,7 +3592,7 @@ function isOidcProtocolMode(config) {
|
|
|
3578
3592
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3579
3593
|
}
|
|
3580
3594
|
|
|
3581
|
-
/*! @azure/msal-common v15.14.
|
|
3595
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3582
3596
|
/*
|
|
3583
3597
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3584
3598
|
* Licensed under the MIT License.
|
|
@@ -3588,7 +3602,7 @@ const CcsCredentialType = {
|
|
|
3588
3602
|
UPN: "UPN",
|
|
3589
3603
|
};
|
|
3590
3604
|
|
|
3591
|
-
/*! @azure/msal-common v15.14.
|
|
3605
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3592
3606
|
/*
|
|
3593
3607
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3594
3608
|
* Licensed under the MIT License.
|
|
@@ -3638,7 +3652,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
3638
3652
|
const EAR_JWK = "ear_jwk";
|
|
3639
3653
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
3640
3654
|
|
|
3641
|
-
/*! @azure/msal-common v15.14.
|
|
3655
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3642
3656
|
|
|
3643
3657
|
/*
|
|
3644
3658
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4018,7 +4032,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
|
|
|
4018
4032
|
});
|
|
4019
4033
|
}
|
|
4020
4034
|
|
|
4021
|
-
/*! @azure/msal-common v15.14.
|
|
4035
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4022
4036
|
/*
|
|
4023
4037
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4024
4038
|
* Licensed under the MIT License.
|
|
@@ -4030,7 +4044,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4030
4044
|
response.hasOwnProperty("jwks_uri"));
|
|
4031
4045
|
}
|
|
4032
4046
|
|
|
4033
|
-
/*! @azure/msal-common v15.14.
|
|
4047
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4034
4048
|
/*
|
|
4035
4049
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4036
4050
|
* Licensed under the MIT License.
|
|
@@ -4040,7 +4054,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4040
4054
|
response.hasOwnProperty("metadata"));
|
|
4041
4055
|
}
|
|
4042
4056
|
|
|
4043
|
-
/*! @azure/msal-common v15.14.
|
|
4057
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4044
4058
|
/*
|
|
4045
4059
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4046
4060
|
* Licensed under the MIT License.
|
|
@@ -4050,7 +4064,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4050
4064
|
response.hasOwnProperty("error_description"));
|
|
4051
4065
|
}
|
|
4052
4066
|
|
|
4053
|
-
/*! @azure/msal-common v15.14.
|
|
4067
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4054
4068
|
/*
|
|
4055
4069
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4056
4070
|
* Licensed under the MIT License.
|
|
@@ -4146,7 +4160,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4146
4160
|
};
|
|
4147
4161
|
};
|
|
4148
4162
|
|
|
4149
|
-
/*! @azure/msal-common v15.14.
|
|
4163
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4150
4164
|
|
|
4151
4165
|
/*
|
|
4152
4166
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4252,7 +4266,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
4252
4266
|
},
|
|
4253
4267
|
};
|
|
4254
4268
|
|
|
4255
|
-
/*! @azure/msal-common v15.14.
|
|
4269
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4256
4270
|
/*
|
|
4257
4271
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4258
4272
|
* Licensed under the MIT License.
|
|
@@ -4317,7 +4331,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
4317
4331
|
return cachedAtSec > nowSeconds();
|
|
4318
4332
|
}
|
|
4319
4333
|
|
|
4320
|
-
/*! @azure/msal-common v15.14.
|
|
4334
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4321
4335
|
|
|
4322
4336
|
/*
|
|
4323
4337
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4579,7 +4593,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4579
4593
|
return metadata.expiresAt <= nowSeconds();
|
|
4580
4594
|
}
|
|
4581
4595
|
|
|
4582
|
-
/*! @azure/msal-common v15.14.
|
|
4596
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4583
4597
|
|
|
4584
4598
|
/*
|
|
4585
4599
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5418,7 +5432,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5418
5432
|
};
|
|
5419
5433
|
}
|
|
5420
5434
|
|
|
5421
|
-
/*! @azure/msal-common v15.14.
|
|
5435
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5422
5436
|
|
|
5423
5437
|
/*
|
|
5424
5438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5449,7 +5463,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
5449
5463
|
}
|
|
5450
5464
|
}
|
|
5451
5465
|
|
|
5452
|
-
/*! @azure/msal-common v15.14.
|
|
5466
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5453
5467
|
|
|
5454
5468
|
/*
|
|
5455
5469
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5468,7 +5482,7 @@ class ServerError extends AuthError {
|
|
|
5468
5482
|
}
|
|
5469
5483
|
}
|
|
5470
5484
|
|
|
5471
|
-
/*! @azure/msal-common v15.14.
|
|
5485
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5472
5486
|
/*
|
|
5473
5487
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5474
5488
|
* Licensed under the MIT License.
|
|
@@ -5489,7 +5503,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5489
5503
|
};
|
|
5490
5504
|
}
|
|
5491
5505
|
|
|
5492
|
-
/*! @azure/msal-common v15.14.
|
|
5506
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5493
5507
|
|
|
5494
5508
|
/*
|
|
5495
5509
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5576,7 +5590,7 @@ class ThrottlingUtils {
|
|
|
5576
5590
|
}
|
|
5577
5591
|
}
|
|
5578
5592
|
|
|
5579
|
-
/*! @azure/msal-common v15.14.
|
|
5593
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5580
5594
|
|
|
5581
5595
|
/*
|
|
5582
5596
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5607,7 +5621,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5607
5621
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5608
5622
|
}
|
|
5609
5623
|
|
|
5610
|
-
/*! @azure/msal-common v15.14.
|
|
5624
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5611
5625
|
|
|
5612
5626
|
/*
|
|
5613
5627
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5755,7 +5769,7 @@ class BaseClient {
|
|
|
5755
5769
|
}
|
|
5756
5770
|
}
|
|
5757
5771
|
|
|
5758
|
-
/*! @azure/msal-common v15.14.
|
|
5772
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5759
5773
|
/*
|
|
5760
5774
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5761
5775
|
* Licensed under the MIT License.
|
|
@@ -5771,7 +5785,7 @@ const consentRequired = "consent_required";
|
|
|
5771
5785
|
const loginRequired = "login_required";
|
|
5772
5786
|
const badToken = "bad_token";
|
|
5773
5787
|
|
|
5774
|
-
/*! @azure/msal-common v15.14.
|
|
5788
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5775
5789
|
|
|
5776
5790
|
/*
|
|
5777
5791
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5843,7 +5857,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
5843
5857
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
5844
5858
|
}
|
|
5845
5859
|
|
|
5846
|
-
/*! @azure/msal-common v15.14.
|
|
5860
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5847
5861
|
|
|
5848
5862
|
/*
|
|
5849
5863
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5915,7 +5929,7 @@ class ProtocolUtils {
|
|
|
5915
5929
|
}
|
|
5916
5930
|
}
|
|
5917
5931
|
|
|
5918
|
-
/*! @azure/msal-common v15.14.
|
|
5932
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5919
5933
|
|
|
5920
5934
|
/*
|
|
5921
5935
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5997,7 +6011,7 @@ class PopTokenGenerator {
|
|
|
5997
6011
|
}
|
|
5998
6012
|
}
|
|
5999
6013
|
|
|
6000
|
-
/*! @azure/msal-common v15.14.
|
|
6014
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6001
6015
|
/*
|
|
6002
6016
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6003
6017
|
* Licensed under the MIT License.
|
|
@@ -6024,7 +6038,7 @@ class PopTokenGenerator {
|
|
|
6024
6038
|
}
|
|
6025
6039
|
}
|
|
6026
6040
|
|
|
6027
|
-
/*! @azure/msal-common v15.14.
|
|
6041
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6028
6042
|
|
|
6029
6043
|
/*
|
|
6030
6044
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6136,10 +6150,15 @@ class ResponseHandler {
|
|
|
6136
6150
|
if (handlingRefreshTokenResponse &&
|
|
6137
6151
|
!forceCacheRefreshTokenResponse &&
|
|
6138
6152
|
cacheRecord.account) {
|
|
6139
|
-
const
|
|
6140
|
-
|
|
6141
|
-
|
|
6153
|
+
const cachedAccounts = this.cacheStorage.getAllAccounts({
|
|
6154
|
+
homeAccountId: cacheRecord.account.homeAccountId,
|
|
6155
|
+
environment: cacheRecord.account.environment,
|
|
6156
|
+
}, request.correlationId);
|
|
6157
|
+
if (cachedAccounts.length < 1) {
|
|
6142
6158
|
this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
|
|
6159
|
+
this.performanceClient?.addFields({
|
|
6160
|
+
acntLoggedOut: true,
|
|
6161
|
+
}, request.correlationId);
|
|
6143
6162
|
return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
|
|
6144
6163
|
}
|
|
6145
6164
|
}
|
|
@@ -6358,7 +6377,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6358
6377
|
return baseAccount;
|
|
6359
6378
|
}
|
|
6360
6379
|
|
|
6361
|
-
/*! @azure/msal-common v15.14.
|
|
6380
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6362
6381
|
/*
|
|
6363
6382
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6364
6383
|
* Licensed under the MIT License.
|
|
@@ -6376,7 +6395,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
6376
6395
|
}
|
|
6377
6396
|
}
|
|
6378
6397
|
|
|
6379
|
-
/*! @azure/msal-common v15.14.
|
|
6398
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6380
6399
|
|
|
6381
6400
|
/*
|
|
6382
6401
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6612,7 +6631,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
6612
6631
|
}
|
|
6613
6632
|
}
|
|
6614
6633
|
|
|
6615
|
-
/*! @azure/msal-common v15.14.
|
|
6634
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6616
6635
|
|
|
6617
6636
|
/*
|
|
6618
6637
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6824,7 +6843,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
6824
6843
|
}
|
|
6825
6844
|
}
|
|
6826
6845
|
|
|
6827
|
-
/*! @azure/msal-common v15.14.
|
|
6846
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6828
6847
|
|
|
6829
6848
|
/*
|
|
6830
6849
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6922,7 +6941,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
6922
6941
|
}
|
|
6923
6942
|
}
|
|
6924
6943
|
|
|
6925
|
-
/*! @azure/msal-common v15.14.
|
|
6944
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6926
6945
|
|
|
6927
6946
|
/*
|
|
6928
6947
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6937,7 +6956,7 @@ const StubbedNetworkModule = {
|
|
|
6937
6956
|
},
|
|
6938
6957
|
};
|
|
6939
6958
|
|
|
6940
|
-
/*! @azure/msal-common v15.14.
|
|
6959
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6941
6960
|
|
|
6942
6961
|
/*
|
|
6943
6962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7161,7 +7180,7 @@ function extractLoginHint(account) {
|
|
|
7161
7180
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7162
7181
|
}
|
|
7163
7182
|
|
|
7164
|
-
/*! @azure/msal-common v15.14.
|
|
7183
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7165
7184
|
|
|
7166
7185
|
/*
|
|
7167
7186
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7424,7 +7443,7 @@ class ServerTelemetryManager {
|
|
|
7424
7443
|
}
|
|
7425
7444
|
}
|
|
7426
7445
|
|
|
7427
|
-
/*! @azure/msal-common v15.14.
|
|
7446
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7428
7447
|
/*
|
|
7429
7448
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7430
7449
|
* Licensed under the MIT License.
|
|
@@ -7432,7 +7451,7 @@ class ServerTelemetryManager {
|
|
|
7432
7451
|
const missingKidError = "missing_kid_error";
|
|
7433
7452
|
const missingAlgError = "missing_alg_error";
|
|
7434
7453
|
|
|
7435
|
-
/*! @azure/msal-common v15.14.
|
|
7454
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7436
7455
|
|
|
7437
7456
|
/*
|
|
7438
7457
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7457,7 +7476,7 @@ function createJoseHeaderError(code) {
|
|
|
7457
7476
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
7458
7477
|
}
|
|
7459
7478
|
|
|
7460
|
-
/*! @azure/msal-common v15.14.
|
|
7479
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7461
7480
|
|
|
7462
7481
|
/*
|
|
7463
7482
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7892,7 +7911,7 @@ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
|
|
|
7892
7911
|
|
|
7893
7912
|
/* eslint-disable header/header */
|
|
7894
7913
|
const name = "@azure/msal-browser";
|
|
7895
|
-
const version = "4.28.
|
|
7914
|
+
const version = "4.28.1";
|
|
7896
7915
|
|
|
7897
7916
|
/*
|
|
7898
7917
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -16032,7 +16051,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
16032
16051
|
* @param request
|
|
16033
16052
|
*/
|
|
16034
16053
|
async hydrateCache(result, request) {
|
|
16035
|
-
const idTokenEntity = createIdTokenEntity(result.account
|
|
16054
|
+
const idTokenEntity = createIdTokenEntity(result.account.homeAccountId, result.account.environment, result.idToken, this.clientId, result.tenantId);
|
|
16036
16055
|
let claimsHash;
|
|
16037
16056
|
if (request.claims) {
|
|
16038
16057
|
claimsHash = await this.cryptoImpl.hashString(request.claims);
|
|
@@ -16044,7 +16063,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
16044
16063
|
*
|
|
16045
16064
|
* The next MSAL VFuture should map these both to same value if possible
|
|
16046
16065
|
*/
|
|
16047
|
-
const accessTokenEntity = createAccessTokenEntity(result.account
|
|
16066
|
+
const accessTokenEntity = createAccessTokenEntity(result.account.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
|
|
16048
16067
|
// Access token expiresOn stored in seconds, converting from AuthenticationResult expiresOn stored as Date
|
|
16049
16068
|
result.expiresOn
|
|
16050
16069
|
? toSecondsFromDate(result.expiresOn)
|
|
@@ -19647,10 +19666,9 @@ class TokenCache {
|
|
|
19647
19666
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
19648
19667
|
skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
|
|
19649
19668
|
};
|
|
19650
|
-
const
|
|
19651
|
-
|
|
19652
|
-
|
|
19653
|
-
const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, idTokenClaims, authority);
|
|
19669
|
+
const authorityString = request.authority || this.config.auth.authority;
|
|
19670
|
+
const authority = await createDiscoveredInstance(Authority.generateAuthority(authorityString, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, correlationId, this.performanceClient);
|
|
19671
|
+
const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, authority, idTokenClaims);
|
|
19654
19672
|
const idToken = await invokeAsync(this.loadIdToken.bind(this), PerformanceEvents.LoadIdToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, correlationId, kmsi);
|
|
19655
19673
|
const accessToken = await invokeAsync(this.loadAccessToken.bind(this), PerformanceEvents.LoadAccessToken, this.logger, this.performanceClient, correlationId)(request, response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, options, correlationId, kmsi);
|
|
19656
19674
|
const refreshToken = await invokeAsync(this.loadRefreshToken.bind(this), PerformanceEvents.LoadRefreshToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, correlationId, kmsi);
|
|
@@ -19660,7 +19678,7 @@ class TokenCache {
|
|
|
19660
19678
|
idToken,
|
|
19661
19679
|
accessToken,
|
|
19662
19680
|
refreshToken,
|
|
19663
|
-
},
|
|
19681
|
+
}, authority, idTokenClaims);
|
|
19664
19682
|
}
|
|
19665
19683
|
catch (error) {
|
|
19666
19684
|
rootMeasurement.end({ success: false }, error);
|
|
@@ -19676,20 +19694,20 @@ class TokenCache {
|
|
|
19676
19694
|
* @param requestHomeAccountId
|
|
19677
19695
|
* @returns `AccountEntity`
|
|
19678
19696
|
*/
|
|
19679
|
-
async loadAccount(request, clientInfo, correlationId,
|
|
19697
|
+
async loadAccount(request, clientInfo, correlationId, authority, idTokenClaims) {
|
|
19680
19698
|
this.logger.verbose("TokenCache - loading account");
|
|
19681
19699
|
if (request.account) {
|
|
19682
19700
|
const accountEntity = AccountEntity.createFromAccountInfo(request.account);
|
|
19683
19701
|
await this.storage.setAccount(accountEntity, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
|
|
19684
19702
|
return accountEntity;
|
|
19685
19703
|
}
|
|
19686
|
-
else if (!
|
|
19687
|
-
this.logger.error("TokenCache - if an account is not provided on the request,
|
|
19704
|
+
else if (!clientInfo && !idTokenClaims) {
|
|
19705
|
+
this.logger.error("TokenCache - if an account is not provided on the request, clientInfo or idToken must be provided instead.");
|
|
19688
19706
|
throw createBrowserAuthError(unableToLoadToken);
|
|
19689
19707
|
}
|
|
19690
19708
|
const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
|
|
19691
19709
|
const claimsTenantId = idTokenClaims?.tid;
|
|
19692
|
-
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.
|
|
19710
|
+
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.getPreferredCache(), claimsTenantId, undefined, // authCodePayload
|
|
19693
19711
|
undefined, // nativeAccountId
|
|
19694
19712
|
this.logger);
|
|
19695
19713
|
await this.storage.setAccount(cachedAccount, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
|
|
@@ -19761,9 +19779,15 @@ class TokenCache {
|
|
|
19761
19779
|
this.logger.verbose("TokenCache - no refresh token found in response");
|
|
19762
19780
|
return null;
|
|
19763
19781
|
}
|
|
19782
|
+
const expiresOn = response.refresh_token_expires_in
|
|
19783
|
+
? response.refresh_token_expires_in + nowSeconds()
|
|
19784
|
+
: undefined;
|
|
19785
|
+
this.performanceClient.addFields({
|
|
19786
|
+
extRtExpiresOnSeconds: expiresOn,
|
|
19787
|
+
}, correlationId);
|
|
19764
19788
|
this.logger.verbose("TokenCache - loading refresh token");
|
|
19765
19789
|
const refreshTokenEntity = createRefreshTokenEntity(homeAccountId, environment, response.refresh_token, this.config.auth.clientId, response.foci, undefined, // userAssertionHash
|
|
19766
|
-
|
|
19790
|
+
expiresOn);
|
|
19767
19791
|
await this.storage.setRefreshTokenCredential(refreshTokenEntity, correlationId, kmsi);
|
|
19768
19792
|
return refreshTokenEntity;
|
|
19769
19793
|
}
|
|
@@ -19775,7 +19799,7 @@ class TokenCache {
|
|
|
19775
19799
|
* @param authority
|
|
19776
19800
|
* @returns `AuthenticationResult`
|
|
19777
19801
|
*/
|
|
19778
|
-
generateAuthenticationResult(request, cacheRecord,
|
|
19802
|
+
generateAuthenticationResult(request, cacheRecord, authority, idTokenClaims) {
|
|
19779
19803
|
let accessToken = "";
|
|
19780
19804
|
let responseScopes = [];
|
|
19781
19805
|
let expiresOn = null;
|