@azure/msal-browser 4.28.0 → 4.28.2
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.d.ts.map +1 -1
- package/dist/custom-auth-path/protocol/Authorize.mjs +5 -1
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +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.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +5 -1
- package/dist/protocol/Authorize.mjs.map +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 +147 -83
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +147 -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/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/msal-browser.cjs +149 -85
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +149 -85
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +62 -62
- 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/protocol/Authorize.d.ts.map +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
- package/src/protocol/Authorize.ts +14 -0
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.28.
|
|
1
|
+
/*! @azure/msal-browser v4.28.2 2026-02-10 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v15.14.
|
|
9
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
// Token renewal offset default in seconds
|
|
284
284
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
285
285
|
|
|
286
|
-
/*! @azure/msal-common v15.14.
|
|
286
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
287
287
|
/*
|
|
288
288
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
289
289
|
* Licensed under the MIT License.
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
unexpectedError: unexpectedError
|
|
301
301
|
});
|
|
302
302
|
|
|
303
|
-
/*! @azure/msal-common v15.14.
|
|
303
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
304
304
|
|
|
305
305
|
/*
|
|
306
306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
: AuthErrorMessages[code]);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
/*! @azure/msal-common v15.14.
|
|
352
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
353
353
|
/*
|
|
354
354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
355
355
|
* Licensed under the MIT License.
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
userTimeoutReached: userTimeoutReached
|
|
450
450
|
});
|
|
451
451
|
|
|
452
|
-
/*! @azure/msal-common v15.14.
|
|
452
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
453
453
|
|
|
454
454
|
/*
|
|
455
455
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
/*! @azure/msal-common v15.14.
|
|
709
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
710
710
|
|
|
711
711
|
/*
|
|
712
712
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
},
|
|
746
746
|
};
|
|
747
747
|
|
|
748
|
-
/*! @azure/msal-common v15.14.
|
|
748
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
749
749
|
|
|
750
750
|
/*
|
|
751
751
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -936,12 +936,12 @@
|
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
/*! @azure/msal-common v15.14.
|
|
939
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
940
940
|
/* eslint-disable header/header */
|
|
941
941
|
const name$1 = "@azure/msal-common";
|
|
942
|
-
const version$1 = "15.14.
|
|
942
|
+
const version$1 = "15.14.2";
|
|
943
943
|
|
|
944
|
-
/*! @azure/msal-common v15.14.
|
|
944
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
945
945
|
/*
|
|
946
946
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
947
947
|
* Licensed under the MIT License.
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
962
962
|
};
|
|
963
963
|
|
|
964
|
-
/*! @azure/msal-common v15.14.
|
|
964
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
965
965
|
/*
|
|
966
966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
967
967
|
* Licensed under the MIT License.
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
urlParseError: urlParseError
|
|
1020
1020
|
});
|
|
1021
1021
|
|
|
1022
|
-
/*! @azure/msal-common v15.14.
|
|
1022
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1023
1023
|
|
|
1024
1024
|
/*
|
|
1025
1025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1167,7 +1167,7 @@
|
|
|
1167
1167
|
return new ClientConfigurationError(errorCode);
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
|
-
/*! @azure/msal-common v15.14.
|
|
1170
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1171
1171
|
/*
|
|
1172
1172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1173
1173
|
* Licensed under the MIT License.
|
|
@@ -1264,7 +1264,7 @@
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
/*! @azure/msal-common v15.14.
|
|
1267
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1268
1268
|
|
|
1269
1269
|
/*
|
|
1270
1270
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1459,7 +1459,7 @@
|
|
|
1459
1459
|
}
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
|
-
/*! @azure/msal-common v15.14.
|
|
1462
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1463
1463
|
|
|
1464
1464
|
/*
|
|
1465
1465
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1499,7 +1499,7 @@
|
|
|
1499
1499
|
};
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
|
-
/*! @azure/msal-common v15.14.
|
|
1502
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1503
1503
|
/*
|
|
1504
1504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1505
1505
|
* Licensed under the MIT License.
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
return updatedAccountInfo;
|
|
1582
1582
|
}
|
|
1583
1583
|
|
|
1584
|
-
/*! @azure/msal-common v15.14.
|
|
1584
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1585
1585
|
/*
|
|
1586
1586
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1587
1587
|
* Licensed under the MIT License.
|
|
@@ -1596,7 +1596,7 @@
|
|
|
1596
1596
|
Ciam: 3,
|
|
1597
1597
|
};
|
|
1598
1598
|
|
|
1599
|
-
/*! @azure/msal-common v15.14.
|
|
1599
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1600
1600
|
/*
|
|
1601
1601
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1602
1602
|
* Licensed under the MIT License.
|
|
@@ -1618,7 +1618,7 @@
|
|
|
1618
1618
|
return null;
|
|
1619
1619
|
}
|
|
1620
1620
|
|
|
1621
|
-
/*! @azure/msal-common v15.14.
|
|
1621
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1622
1622
|
/*
|
|
1623
1623
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1624
1624
|
* Licensed under the MIT License.
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
EAR: "EAR",
|
|
1643
1643
|
};
|
|
1644
1644
|
|
|
1645
|
-
/*! @azure/msal-common v15.14.
|
|
1645
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1646
1646
|
|
|
1647
1647
|
/*
|
|
1648
1648
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1676,6 +1676,13 @@
|
|
|
1676
1676
|
* Returns the AccountInfo interface for this account.
|
|
1677
1677
|
*/
|
|
1678
1678
|
static getAccountInfo(accountEntity) {
|
|
1679
|
+
const tenantProfiles = accountEntity.tenantProfiles || [];
|
|
1680
|
+
// Ensure at least the home tenant profile exists
|
|
1681
|
+
if (tenantProfiles.length === 0 &&
|
|
1682
|
+
accountEntity.realm &&
|
|
1683
|
+
accountEntity.localAccountId) {
|
|
1684
|
+
tenantProfiles.push(buildTenantProfile(accountEntity.homeAccountId, accountEntity.localAccountId, accountEntity.realm));
|
|
1685
|
+
}
|
|
1679
1686
|
return {
|
|
1680
1687
|
homeAccountId: accountEntity.homeAccountId,
|
|
1681
1688
|
environment: accountEntity.environment,
|
|
@@ -1687,7 +1694,7 @@
|
|
|
1687
1694
|
nativeAccountId: accountEntity.nativeAccountId,
|
|
1688
1695
|
authorityType: accountEntity.authorityType,
|
|
1689
1696
|
// Deserialize tenant profiles array into a Map
|
|
1690
|
-
tenantProfiles: new Map(
|
|
1697
|
+
tenantProfiles: new Map(tenantProfiles.map((tenantProfile) => {
|
|
1691
1698
|
return [tenantProfile.tenantId, tenantProfile];
|
|
1692
1699
|
})),
|
|
1693
1700
|
dataBoundary: accountEntity.dataBoundary,
|
|
@@ -1788,7 +1795,14 @@
|
|
|
1788
1795
|
account.cloudGraphHostName = cloudGraphHostName;
|
|
1789
1796
|
account.msGraphHost = msGraphHost;
|
|
1790
1797
|
// Serialize tenant profiles map into an array
|
|
1791
|
-
|
|
1798
|
+
const tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
|
|
1799
|
+
// Ensure at least the home tenant profile exists
|
|
1800
|
+
if (tenantProfiles.length === 0 &&
|
|
1801
|
+
accountInfo.tenantId &&
|
|
1802
|
+
accountInfo.localAccountId) {
|
|
1803
|
+
tenantProfiles.push(buildTenantProfile(accountInfo.homeAccountId, accountInfo.localAccountId, accountInfo.tenantId, accountInfo.idTokenClaims));
|
|
1804
|
+
}
|
|
1805
|
+
account.tenantProfiles = tenantProfiles;
|
|
1792
1806
|
account.dataBoundary = accountInfo.dataBoundary;
|
|
1793
1807
|
return account;
|
|
1794
1808
|
}
|
|
@@ -1863,7 +1877,7 @@
|
|
|
1863
1877
|
}
|
|
1864
1878
|
}
|
|
1865
1879
|
|
|
1866
|
-
/*! @azure/msal-common v15.14.
|
|
1880
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1867
1881
|
|
|
1868
1882
|
/*
|
|
1869
1883
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1944,7 +1958,7 @@
|
|
|
1944
1958
|
}
|
|
1945
1959
|
}
|
|
1946
1960
|
|
|
1947
|
-
/*! @azure/msal-common v15.14.
|
|
1961
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
1948
1962
|
|
|
1949
1963
|
/*
|
|
1950
1964
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2060,7 +2074,7 @@
|
|
|
2060
2074
|
}
|
|
2061
2075
|
}
|
|
2062
2076
|
|
|
2063
|
-
/*! @azure/msal-common v15.14.
|
|
2077
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
2064
2078
|
|
|
2065
2079
|
/*
|
|
2066
2080
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2224,7 +2238,7 @@
|
|
|
2224
2238
|
}
|
|
2225
2239
|
}
|
|
2226
2240
|
|
|
2227
|
-
/*! @azure/msal-common v15.14.
|
|
2241
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
2228
2242
|
|
|
2229
2243
|
/*
|
|
2230
2244
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2253,6 +2267,27 @@
|
|
|
2253
2267
|
authorization_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",
|
|
2254
2268
|
end_session_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout",
|
|
2255
2269
|
},
|
|
2270
|
+
"login.sovcloud-identity.fr": {
|
|
2271
|
+
token_endpoint: "https://login.sovcloud-identity.fr/{tenantid}/oauth2/v2.0/token",
|
|
2272
|
+
jwks_uri: "https://login.sovcloud-identity.fr/{tenantid}/discovery/v2.0/keys",
|
|
2273
|
+
issuer: "https://login.sovcloud-identity.fr/{tenantid}/v2.0",
|
|
2274
|
+
authorization_endpoint: "https://login.sovcloud-identity.fr/{tenantid}/oauth2/v2.0/authorize",
|
|
2275
|
+
end_session_endpoint: "https://login.sovcloud-identity.fr/{tenantid}/oauth2/v2.0/logout",
|
|
2276
|
+
},
|
|
2277
|
+
"login.sovcloud-identity.de": {
|
|
2278
|
+
token_endpoint: "https://login.sovcloud-identity.de/{tenantid}/oauth2/v2.0/token",
|
|
2279
|
+
jwks_uri: "https://login.sovcloud-identity.de/{tenantid}/discovery/v2.0/keys",
|
|
2280
|
+
issuer: "https://login.sovcloud-identity.de/{tenantid}/v2.0",
|
|
2281
|
+
authorization_endpoint: "https://login.sovcloud-identity.de/{tenantid}/oauth2/v2.0/authorize",
|
|
2282
|
+
end_session_endpoint: "https://login.sovcloud-identity.de/{tenantid}/oauth2/v2.0/logout",
|
|
2283
|
+
},
|
|
2284
|
+
"login.sovcloud-identity.sg": {
|
|
2285
|
+
token_endpoint: "https://login.sovcloud-identity.sg/common/oauth2/v2.0/token",
|
|
2286
|
+
jwks_uri: "https://login.sovcloud-identity.sg/common/discovery/v2.0/keys",
|
|
2287
|
+
issuer: "https://login.sovcloud-identity.sg/{tenantid}/v2.0",
|
|
2288
|
+
authorization_endpoint: "https://login.sovcloud-identity.sg/common/oauth2/v2.0/authorize",
|
|
2289
|
+
end_session_endpoint: "https://login.sovcloud-identity.sg/common/oauth2/v2.0/logout",
|
|
2290
|
+
},
|
|
2256
2291
|
},
|
|
2257
2292
|
instanceDiscoveryMetadata: {
|
|
2258
2293
|
metadata: [
|
|
@@ -2292,6 +2327,21 @@
|
|
|
2292
2327
|
preferred_cache: "login-us.microsoftonline.com",
|
|
2293
2328
|
aliases: ["login-us.microsoftonline.com"],
|
|
2294
2329
|
},
|
|
2330
|
+
{
|
|
2331
|
+
preferred_network: "login.sovcloud-identity.fr",
|
|
2332
|
+
preferred_cache: "login.sovcloud-identity.fr",
|
|
2333
|
+
aliases: ["login.sovcloud-identity.fr"],
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
preferred_network: "login.sovcloud-identity.de",
|
|
2337
|
+
preferred_cache: "login.sovcloud-identity.de",
|
|
2338
|
+
aliases: ["login.sovcloud-identity.de"],
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
preferred_network: "login.sovcloud-identity.sg",
|
|
2342
|
+
preferred_cache: "login.sovcloud-identity.sg",
|
|
2343
|
+
aliases: ["login.sovcloud-identity.sg"],
|
|
2344
|
+
},
|
|
2295
2345
|
],
|
|
2296
2346
|
},
|
|
2297
2347
|
};
|
|
@@ -2363,7 +2413,7 @@
|
|
|
2363
2413
|
return null;
|
|
2364
2414
|
}
|
|
2365
2415
|
|
|
2366
|
-
/*! @azure/msal-common v15.14.
|
|
2416
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
2367
2417
|
/*
|
|
2368
2418
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2369
2419
|
* Licensed under the MIT License.
|
|
@@ -2371,7 +2421,7 @@
|
|
|
2371
2421
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2372
2422
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2373
2423
|
|
|
2374
|
-
/*! @azure/msal-common v15.14.
|
|
2424
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
2375
2425
|
|
|
2376
2426
|
/*
|
|
2377
2427
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2416,7 +2466,7 @@
|
|
|
2416
2466
|
}
|
|
2417
2467
|
}
|
|
2418
2468
|
|
|
2419
|
-
/*! @azure/msal-common v15.14.
|
|
2469
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
2420
2470
|
|
|
2421
2471
|
/*
|
|
2422
2472
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3527,7 +3577,7 @@
|
|
|
3527
3577
|
}
|
|
3528
3578
|
}
|
|
3529
3579
|
|
|
3530
|
-
/*! @azure/msal-common v15.14.
|
|
3580
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
3531
3581
|
/*
|
|
3532
3582
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3533
3583
|
* Licensed under the MIT License.
|
|
@@ -4054,7 +4104,7 @@
|
|
|
4054
4104
|
"upgradedCacheCount",
|
|
4055
4105
|
]);
|
|
4056
4106
|
|
|
4057
|
-
/*! @azure/msal-common v15.14.
|
|
4107
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4058
4108
|
|
|
4059
4109
|
/*
|
|
4060
4110
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4133,7 +4183,7 @@
|
|
|
4133
4183
|
}
|
|
4134
4184
|
}
|
|
4135
4185
|
|
|
4136
|
-
/*! @azure/msal-common v15.14.
|
|
4186
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4137
4187
|
|
|
4138
4188
|
/*
|
|
4139
4189
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4233,7 +4283,7 @@
|
|
|
4233
4283
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4234
4284
|
}
|
|
4235
4285
|
|
|
4236
|
-
/*! @azure/msal-common v15.14.
|
|
4286
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4237
4287
|
/*
|
|
4238
4288
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4239
4289
|
* Licensed under the MIT License.
|
|
@@ -4243,7 +4293,7 @@
|
|
|
4243
4293
|
UPN: "UPN",
|
|
4244
4294
|
};
|
|
4245
4295
|
|
|
4246
|
-
/*! @azure/msal-common v15.14.
|
|
4296
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4247
4297
|
/*
|
|
4248
4298
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4249
4299
|
* Licensed under the MIT License.
|
|
@@ -4293,7 +4343,7 @@
|
|
|
4293
4343
|
const EAR_JWK = "ear_jwk";
|
|
4294
4344
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4295
4345
|
|
|
4296
|
-
/*! @azure/msal-common v15.14.
|
|
4346
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4297
4347
|
|
|
4298
4348
|
/*
|
|
4299
4349
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4673,7 +4723,7 @@
|
|
|
4673
4723
|
});
|
|
4674
4724
|
}
|
|
4675
4725
|
|
|
4676
|
-
/*! @azure/msal-common v15.14.
|
|
4726
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4677
4727
|
/*
|
|
4678
4728
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4679
4729
|
* Licensed under the MIT License.
|
|
@@ -4685,7 +4735,7 @@
|
|
|
4685
4735
|
response.hasOwnProperty("jwks_uri"));
|
|
4686
4736
|
}
|
|
4687
4737
|
|
|
4688
|
-
/*! @azure/msal-common v15.14.
|
|
4738
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4689
4739
|
/*
|
|
4690
4740
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4691
4741
|
* Licensed under the MIT License.
|
|
@@ -4695,7 +4745,7 @@
|
|
|
4695
4745
|
response.hasOwnProperty("metadata"));
|
|
4696
4746
|
}
|
|
4697
4747
|
|
|
4698
|
-
/*! @azure/msal-common v15.14.
|
|
4748
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4699
4749
|
/*
|
|
4700
4750
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4701
4751
|
* Licensed under the MIT License.
|
|
@@ -4705,7 +4755,7 @@
|
|
|
4705
4755
|
response.hasOwnProperty("error_description"));
|
|
4706
4756
|
}
|
|
4707
4757
|
|
|
4708
|
-
/*! @azure/msal-common v15.14.
|
|
4758
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4709
4759
|
/*
|
|
4710
4760
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4711
4761
|
* Licensed under the MIT License.
|
|
@@ -4801,7 +4851,7 @@
|
|
|
4801
4851
|
};
|
|
4802
4852
|
};
|
|
4803
4853
|
|
|
4804
|
-
/*! @azure/msal-common v15.14.
|
|
4854
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4805
4855
|
|
|
4806
4856
|
/*
|
|
4807
4857
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4907,7 +4957,7 @@
|
|
|
4907
4957
|
},
|
|
4908
4958
|
};
|
|
4909
4959
|
|
|
4910
|
-
/*! @azure/msal-common v15.14.
|
|
4960
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4911
4961
|
/*
|
|
4912
4962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4913
4963
|
* Licensed under the MIT License.
|
|
@@ -4972,7 +5022,7 @@
|
|
|
4972
5022
|
return cachedAtSec > nowSeconds();
|
|
4973
5023
|
}
|
|
4974
5024
|
|
|
4975
|
-
/*! @azure/msal-common v15.14.
|
|
5025
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
4976
5026
|
|
|
4977
5027
|
/*
|
|
4978
5028
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5234,7 +5284,7 @@
|
|
|
5234
5284
|
return metadata.expiresAt <= nowSeconds();
|
|
5235
5285
|
}
|
|
5236
5286
|
|
|
5237
|
-
/*! @azure/msal-common v15.14.
|
|
5287
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
5238
5288
|
|
|
5239
5289
|
/*
|
|
5240
5290
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6073,7 +6123,7 @@
|
|
|
6073
6123
|
};
|
|
6074
6124
|
}
|
|
6075
6125
|
|
|
6076
|
-
/*! @azure/msal-common v15.14.
|
|
6126
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6077
6127
|
|
|
6078
6128
|
/*
|
|
6079
6129
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6104,7 +6154,7 @@
|
|
|
6104
6154
|
}
|
|
6105
6155
|
}
|
|
6106
6156
|
|
|
6107
|
-
/*! @azure/msal-common v15.14.
|
|
6157
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6108
6158
|
|
|
6109
6159
|
/*
|
|
6110
6160
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6123,7 +6173,7 @@
|
|
|
6123
6173
|
}
|
|
6124
6174
|
}
|
|
6125
6175
|
|
|
6126
|
-
/*! @azure/msal-common v15.14.
|
|
6176
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6127
6177
|
/*
|
|
6128
6178
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6129
6179
|
* Licensed under the MIT License.
|
|
@@ -6144,7 +6194,7 @@
|
|
|
6144
6194
|
};
|
|
6145
6195
|
}
|
|
6146
6196
|
|
|
6147
|
-
/*! @azure/msal-common v15.14.
|
|
6197
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6148
6198
|
|
|
6149
6199
|
/*
|
|
6150
6200
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6231,7 +6281,7 @@
|
|
|
6231
6281
|
}
|
|
6232
6282
|
}
|
|
6233
6283
|
|
|
6234
|
-
/*! @azure/msal-common v15.14.
|
|
6284
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6235
6285
|
|
|
6236
6286
|
/*
|
|
6237
6287
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6262,7 +6312,7 @@
|
|
|
6262
6312
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6263
6313
|
}
|
|
6264
6314
|
|
|
6265
|
-
/*! @azure/msal-common v15.14.
|
|
6315
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6266
6316
|
|
|
6267
6317
|
/*
|
|
6268
6318
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6410,7 +6460,7 @@
|
|
|
6410
6460
|
}
|
|
6411
6461
|
}
|
|
6412
6462
|
|
|
6413
|
-
/*! @azure/msal-common v15.14.
|
|
6463
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6414
6464
|
/*
|
|
6415
6465
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6416
6466
|
* Licensed under the MIT License.
|
|
@@ -6438,7 +6488,7 @@
|
|
|
6438
6488
|
uxNotAllowed: uxNotAllowed
|
|
6439
6489
|
});
|
|
6440
6490
|
|
|
6441
|
-
/*! @azure/msal-common v15.14.
|
|
6491
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6442
6492
|
|
|
6443
6493
|
/*
|
|
6444
6494
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6528,7 +6578,7 @@
|
|
|
6528
6578
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6529
6579
|
}
|
|
6530
6580
|
|
|
6531
|
-
/*! @azure/msal-common v15.14.
|
|
6581
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6532
6582
|
|
|
6533
6583
|
/*
|
|
6534
6584
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6600,7 +6650,7 @@
|
|
|
6600
6650
|
}
|
|
6601
6651
|
}
|
|
6602
6652
|
|
|
6603
|
-
/*! @azure/msal-common v15.14.
|
|
6653
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6604
6654
|
|
|
6605
6655
|
/*
|
|
6606
6656
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6682,7 +6732,7 @@
|
|
|
6682
6732
|
}
|
|
6683
6733
|
}
|
|
6684
6734
|
|
|
6685
|
-
/*! @azure/msal-common v15.14.
|
|
6735
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6686
6736
|
/*
|
|
6687
6737
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6688
6738
|
* Licensed under the MIT License.
|
|
@@ -6709,7 +6759,7 @@
|
|
|
6709
6759
|
}
|
|
6710
6760
|
}
|
|
6711
6761
|
|
|
6712
|
-
/*! @azure/msal-common v15.14.
|
|
6762
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
6713
6763
|
|
|
6714
6764
|
/*
|
|
6715
6765
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6821,10 +6871,15 @@
|
|
|
6821
6871
|
if (handlingRefreshTokenResponse &&
|
|
6822
6872
|
!forceCacheRefreshTokenResponse &&
|
|
6823
6873
|
cacheRecord.account) {
|
|
6824
|
-
const
|
|
6825
|
-
|
|
6826
|
-
|
|
6874
|
+
const cachedAccounts = this.cacheStorage.getAllAccounts({
|
|
6875
|
+
homeAccountId: cacheRecord.account.homeAccountId,
|
|
6876
|
+
environment: cacheRecord.account.environment,
|
|
6877
|
+
}, request.correlationId);
|
|
6878
|
+
if (cachedAccounts.length < 1) {
|
|
6827
6879
|
this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
|
|
6880
|
+
this.performanceClient?.addFields({
|
|
6881
|
+
acntLoggedOut: true,
|
|
6882
|
+
}, request.correlationId);
|
|
6828
6883
|
return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
|
|
6829
6884
|
}
|
|
6830
6885
|
}
|
|
@@ -7043,7 +7098,7 @@
|
|
|
7043
7098
|
return baseAccount;
|
|
7044
7099
|
}
|
|
7045
7100
|
|
|
7046
|
-
/*! @azure/msal-common v15.14.
|
|
7101
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7047
7102
|
/*
|
|
7048
7103
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7049
7104
|
* Licensed under the MIT License.
|
|
@@ -7061,7 +7116,7 @@
|
|
|
7061
7116
|
}
|
|
7062
7117
|
}
|
|
7063
7118
|
|
|
7064
|
-
/*! @azure/msal-common v15.14.
|
|
7119
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7065
7120
|
|
|
7066
7121
|
/*
|
|
7067
7122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7297,7 +7352,7 @@
|
|
|
7297
7352
|
}
|
|
7298
7353
|
}
|
|
7299
7354
|
|
|
7300
|
-
/*! @azure/msal-common v15.14.
|
|
7355
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7301
7356
|
|
|
7302
7357
|
/*
|
|
7303
7358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7509,7 +7564,7 @@
|
|
|
7509
7564
|
}
|
|
7510
7565
|
}
|
|
7511
7566
|
|
|
7512
|
-
/*! @azure/msal-common v15.14.
|
|
7567
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7513
7568
|
|
|
7514
7569
|
/*
|
|
7515
7570
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7607,7 +7662,7 @@
|
|
|
7607
7662
|
}
|
|
7608
7663
|
}
|
|
7609
7664
|
|
|
7610
|
-
/*! @azure/msal-common v15.14.
|
|
7665
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7611
7666
|
|
|
7612
7667
|
/*
|
|
7613
7668
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7622,7 +7677,7 @@
|
|
|
7622
7677
|
},
|
|
7623
7678
|
};
|
|
7624
7679
|
|
|
7625
|
-
/*! @azure/msal-common v15.14.
|
|
7680
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7626
7681
|
|
|
7627
7682
|
/*
|
|
7628
7683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7846,7 +7901,7 @@
|
|
|
7846
7901
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7847
7902
|
}
|
|
7848
7903
|
|
|
7849
|
-
/*! @azure/msal-common v15.14.
|
|
7904
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7850
7905
|
|
|
7851
7906
|
/*
|
|
7852
7907
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7904,7 +7959,7 @@
|
|
|
7904
7959
|
}
|
|
7905
7960
|
}
|
|
7906
7961
|
|
|
7907
|
-
/*! @azure/msal-common v15.14.
|
|
7962
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
7908
7963
|
|
|
7909
7964
|
/*
|
|
7910
7965
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8167,7 +8222,7 @@
|
|
|
8167
8222
|
}
|
|
8168
8223
|
}
|
|
8169
8224
|
|
|
8170
|
-
/*! @azure/msal-common v15.14.
|
|
8225
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
8171
8226
|
/*
|
|
8172
8227
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8173
8228
|
* Licensed under the MIT License.
|
|
@@ -8175,7 +8230,7 @@
|
|
|
8175
8230
|
const missingKidError = "missing_kid_error";
|
|
8176
8231
|
const missingAlgError = "missing_alg_error";
|
|
8177
8232
|
|
|
8178
|
-
/*! @azure/msal-common v15.14.
|
|
8233
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
8179
8234
|
|
|
8180
8235
|
/*
|
|
8181
8236
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8200,7 +8255,7 @@
|
|
|
8200
8255
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8201
8256
|
}
|
|
8202
8257
|
|
|
8203
|
-
/*! @azure/msal-common v15.14.
|
|
8258
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
8204
8259
|
|
|
8205
8260
|
/*
|
|
8206
8261
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8240,7 +8295,7 @@
|
|
|
8240
8295
|
}
|
|
8241
8296
|
}
|
|
8242
8297
|
|
|
8243
|
-
/*! @azure/msal-common v15.14.
|
|
8298
|
+
/*! @azure/msal-common v15.14.2 2026-02-10 */
|
|
8244
8299
|
|
|
8245
8300
|
/*
|
|
8246
8301
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10381,7 +10436,7 @@
|
|
|
10381
10436
|
|
|
10382
10437
|
/* eslint-disable header/header */
|
|
10383
10438
|
const name = "@azure/msal-browser";
|
|
10384
|
-
const version = "4.28.
|
|
10439
|
+
const version = "4.28.2";
|
|
10385
10440
|
|
|
10386
10441
|
/*
|
|
10387
10442
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -13170,7 +13225,7 @@
|
|
|
13170
13225
|
* @param request
|
|
13171
13226
|
*/
|
|
13172
13227
|
async hydrateCache(result, request) {
|
|
13173
|
-
const idTokenEntity = createIdTokenEntity(result.account
|
|
13228
|
+
const idTokenEntity = createIdTokenEntity(result.account.homeAccountId, result.account.environment, result.idToken, this.clientId, result.tenantId);
|
|
13174
13229
|
let claimsHash;
|
|
13175
13230
|
if (request.claims) {
|
|
13176
13231
|
claimsHash = await this.cryptoImpl.hashString(request.claims);
|
|
@@ -13182,7 +13237,7 @@
|
|
|
13182
13237
|
*
|
|
13183
13238
|
* The next MSAL VFuture should map these both to same value if possible
|
|
13184
13239
|
*/
|
|
13185
|
-
const accessTokenEntity = createAccessTokenEntity(result.account
|
|
13240
|
+
const accessTokenEntity = createAccessTokenEntity(result.account.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
|
|
13186
13241
|
// Access token expiresOn stored in seconds, converting from AuthenticationResult expiresOn stored as Date
|
|
13187
13242
|
result.expiresOn
|
|
13188
13243
|
? toSecondsFromDate(result.expiresOn)
|
|
@@ -14878,6 +14933,8 @@
|
|
|
14878
14933
|
addCodeChallengeParams(parameters, request.codeChallenge, Constants.S256_CODE_CHALLENGE_METHOD);
|
|
14879
14934
|
const queryParams = new Map();
|
|
14880
14935
|
addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
|
|
14936
|
+
// Add correlationId to query params so gateway can propagate it to IDPs
|
|
14937
|
+
addCorrelationId(queryParams, request.correlationId);
|
|
14881
14938
|
const url = getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
|
|
14882
14939
|
return createForm(frame, url, parameters);
|
|
14883
14940
|
}
|
|
@@ -14891,6 +14948,8 @@
|
|
|
14891
14948
|
addPostBodyParameters(parameters, request.authorizePostBodyParameters || {});
|
|
14892
14949
|
const queryParams = new Map();
|
|
14893
14950
|
addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
|
|
14951
|
+
// Add correlationId to query params so gateway can propagate it to IDPs
|
|
14952
|
+
addCorrelationId(queryParams, request.correlationId);
|
|
14894
14953
|
const url = getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
|
|
14895
14954
|
return createForm(frame, url, parameters);
|
|
14896
14955
|
}
|
|
@@ -16907,10 +16966,9 @@
|
|
|
16907
16966
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
16908
16967
|
skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
|
|
16909
16968
|
};
|
|
16910
|
-
const
|
|
16911
|
-
|
|
16912
|
-
|
|
16913
|
-
const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, idTokenClaims, authority);
|
|
16969
|
+
const authorityString = request.authority || this.config.auth.authority;
|
|
16970
|
+
const authority = await createDiscoveredInstance(Authority.generateAuthority(authorityString, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, correlationId, this.performanceClient);
|
|
16971
|
+
const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, authority, idTokenClaims);
|
|
16914
16972
|
const idToken = await invokeAsync(this.loadIdToken.bind(this), PerformanceEvents.LoadIdToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, correlationId, kmsi);
|
|
16915
16973
|
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);
|
|
16916
16974
|
const refreshToken = await invokeAsync(this.loadRefreshToken.bind(this), PerformanceEvents.LoadRefreshToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, correlationId, kmsi);
|
|
@@ -16920,7 +16978,7 @@
|
|
|
16920
16978
|
idToken,
|
|
16921
16979
|
accessToken,
|
|
16922
16980
|
refreshToken,
|
|
16923
|
-
},
|
|
16981
|
+
}, authority, idTokenClaims);
|
|
16924
16982
|
}
|
|
16925
16983
|
catch (error) {
|
|
16926
16984
|
rootMeasurement.end({ success: false }, error);
|
|
@@ -16936,20 +16994,20 @@
|
|
|
16936
16994
|
* @param requestHomeAccountId
|
|
16937
16995
|
* @returns `AccountEntity`
|
|
16938
16996
|
*/
|
|
16939
|
-
async loadAccount(request, clientInfo, correlationId,
|
|
16997
|
+
async loadAccount(request, clientInfo, correlationId, authority, idTokenClaims) {
|
|
16940
16998
|
this.logger.verbose("TokenCache - loading account");
|
|
16941
16999
|
if (request.account) {
|
|
16942
17000
|
const accountEntity = AccountEntity.createFromAccountInfo(request.account);
|
|
16943
17001
|
await this.storage.setAccount(accountEntity, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
|
|
16944
17002
|
return accountEntity;
|
|
16945
17003
|
}
|
|
16946
|
-
else if (!
|
|
16947
|
-
this.logger.error("TokenCache - if an account is not provided on the request,
|
|
17004
|
+
else if (!clientInfo && !idTokenClaims) {
|
|
17005
|
+
this.logger.error("TokenCache - if an account is not provided on the request, clientInfo or idToken must be provided instead.");
|
|
16948
17006
|
throw createBrowserAuthError(unableToLoadToken);
|
|
16949
17007
|
}
|
|
16950
17008
|
const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
|
|
16951
17009
|
const claimsTenantId = idTokenClaims?.tid;
|
|
16952
|
-
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.
|
|
17010
|
+
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.getPreferredCache(), claimsTenantId, undefined, // authCodePayload
|
|
16953
17011
|
undefined, // nativeAccountId
|
|
16954
17012
|
this.logger);
|
|
16955
17013
|
await this.storage.setAccount(cachedAccount, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
|
|
@@ -17021,9 +17079,15 @@
|
|
|
17021
17079
|
this.logger.verbose("TokenCache - no refresh token found in response");
|
|
17022
17080
|
return null;
|
|
17023
17081
|
}
|
|
17082
|
+
const expiresOn = response.refresh_token_expires_in
|
|
17083
|
+
? response.refresh_token_expires_in + nowSeconds()
|
|
17084
|
+
: undefined;
|
|
17085
|
+
this.performanceClient.addFields({
|
|
17086
|
+
extRtExpiresOnSeconds: expiresOn,
|
|
17087
|
+
}, correlationId);
|
|
17024
17088
|
this.logger.verbose("TokenCache - loading refresh token");
|
|
17025
17089
|
const refreshTokenEntity = createRefreshTokenEntity(homeAccountId, environment, response.refresh_token, this.config.auth.clientId, response.foci, undefined, // userAssertionHash
|
|
17026
|
-
|
|
17090
|
+
expiresOn);
|
|
17027
17091
|
await this.storage.setRefreshTokenCredential(refreshTokenEntity, correlationId, kmsi);
|
|
17028
17092
|
return refreshTokenEntity;
|
|
17029
17093
|
}
|
|
@@ -17035,7 +17099,7 @@
|
|
|
17035
17099
|
* @param authority
|
|
17036
17100
|
* @returns `AuthenticationResult`
|
|
17037
17101
|
*/
|
|
17038
|
-
generateAuthenticationResult(request, cacheRecord,
|
|
17102
|
+
generateAuthenticationResult(request, cacheRecord, authority, idTokenClaims) {
|
|
17039
17103
|
let accessToken = "";
|
|
17040
17104
|
let responseScopes = [];
|
|
17041
17105
|
let expiresOn = null;
|