@azure/msal-browser 5.2.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +5 -1
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +5 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/log-strings-mapping.json +2 -2
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.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/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +2 -2
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
- package/dist/redirect-bridge/config/Configuration.mjs +1 -1
- package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.mjs +2 -2
- package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -1
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.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/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +2 -2
- package/lib/custom-auth-path/msal-custom-auth.cjs +112 -90
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.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/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +178 -102
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +178 -102
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.js +11 -28
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- package/lib/types/controllers/StandardController.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/controllers/StandardController.ts +9 -0
- package/src/packageMetadata.ts +1 -1
- package/src/redirect_bridge/index.ts +1 -1
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.4.0 2026-03-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v16.0
|
|
5
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -234,7 +234,7 @@ const JsonWebTokenTypes$1 = {
|
|
|
234
234
|
// Token renewal offset default in seconds
|
|
235
235
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
236
236
|
|
|
237
|
-
/*! @azure/msal-common v16.0
|
|
237
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
238
238
|
/*
|
|
239
239
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
240
240
|
* Licensed under the MIT License.
|
|
@@ -284,7 +284,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
284
284
|
const EAR_JWK = "ear_jwk";
|
|
285
285
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
286
286
|
|
|
287
|
-
/*! @azure/msal-common v16.0
|
|
287
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
288
288
|
/*
|
|
289
289
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
290
290
|
* Licensed under the MIT License.
|
|
@@ -315,7 +315,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
315
315
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage$1(code));
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
/*! @azure/msal-common v16.0
|
|
318
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
319
319
|
|
|
320
320
|
/*
|
|
321
321
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -335,7 +335,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
335
335
|
return new ClientConfigurationError(errorCode);
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
/*! @azure/msal-common v16.0
|
|
338
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
339
339
|
/*
|
|
340
340
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
341
341
|
* Licensed under the MIT License.
|
|
@@ -413,26 +413,9 @@ class StringUtils {
|
|
|
413
413
|
return null;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
/**
|
|
417
|
-
* Tests if a given string matches a given pattern, with support for wildcards and queries.
|
|
418
|
-
* @param pattern Wildcard pattern to string match. Supports "*" for wildcards and "?" for queries
|
|
419
|
-
* @param input String to match against
|
|
420
|
-
*/
|
|
421
|
-
static matchPattern(pattern, input) {
|
|
422
|
-
/**
|
|
423
|
-
* Wildcard support: https://stackoverflow.com/a/3117248/4888559
|
|
424
|
-
* Queries: replaces "?" in string with escaped "\?" for regex test
|
|
425
|
-
*/
|
|
426
|
-
// eslint-disable-next-line security/detect-non-literal-regexp
|
|
427
|
-
const regex = new RegExp(pattern
|
|
428
|
-
.replace(/\\/g, "\\\\")
|
|
429
|
-
.replace(/\*/g, "[^ ]*")
|
|
430
|
-
.replace(/\?/g, "\\?"));
|
|
431
|
-
return regex.test(input);
|
|
432
|
-
}
|
|
433
416
|
}
|
|
434
417
|
|
|
435
|
-
/*! @azure/msal-common v16.0
|
|
418
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
436
419
|
|
|
437
420
|
/*
|
|
438
421
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -455,7 +438,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
455
438
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
456
439
|
}
|
|
457
440
|
|
|
458
|
-
/*! @azure/msal-common v16.0
|
|
441
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
459
442
|
/*
|
|
460
443
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
461
444
|
* Licensed under the MIT License.
|
|
@@ -509,7 +492,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
509
492
|
urlParseError: urlParseError
|
|
510
493
|
});
|
|
511
494
|
|
|
512
|
-
/*! @azure/msal-common v16.0
|
|
495
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
513
496
|
/*
|
|
514
497
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
515
498
|
* Licensed under the MIT License.
|
|
@@ -593,7 +576,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
593
576
|
userCanceled: userCanceled
|
|
594
577
|
});
|
|
595
578
|
|
|
596
|
-
/*! @azure/msal-common v16.0
|
|
579
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
597
580
|
|
|
598
581
|
/*
|
|
599
582
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -788,7 +771,7 @@ class ScopeSet {
|
|
|
788
771
|
}
|
|
789
772
|
}
|
|
790
773
|
|
|
791
|
-
/*! @azure/msal-common v16.0
|
|
774
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
792
775
|
|
|
793
776
|
/*
|
|
794
777
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1155,7 +1138,7 @@ function addEARParameters(parameters, jwk) {
|
|
|
1155
1138
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
1156
1139
|
}
|
|
1157
1140
|
|
|
1158
|
-
/*! @azure/msal-common v16.0
|
|
1141
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1159
1142
|
|
|
1160
1143
|
/*
|
|
1161
1144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1264,7 +1247,7 @@ function normalizeUrlForComparison(url) {
|
|
|
1264
1247
|
}
|
|
1265
1248
|
}
|
|
1266
1249
|
|
|
1267
|
-
/*! @azure/msal-common v16.0
|
|
1250
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1268
1251
|
|
|
1269
1252
|
/*
|
|
1270
1253
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1303,7 +1286,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1303
1286
|
},
|
|
1304
1287
|
};
|
|
1305
1288
|
|
|
1306
|
-
/*! @azure/msal-common v16.0
|
|
1289
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1307
1290
|
/*
|
|
1308
1291
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1309
1292
|
* Licensed under the MIT License.
|
|
@@ -1578,12 +1561,12 @@ class Logger {
|
|
|
1578
1561
|
}
|
|
1579
1562
|
}
|
|
1580
1563
|
|
|
1581
|
-
/*! @azure/msal-common v16.0
|
|
1564
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1582
1565
|
/* eslint-disable header/header */
|
|
1583
1566
|
const name$1 = "@azure/msal-common";
|
|
1584
|
-
const version$1 = "16.0
|
|
1567
|
+
const version$1 = "16.2.0";
|
|
1585
1568
|
|
|
1586
|
-
/*! @azure/msal-common v16.0
|
|
1569
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1587
1570
|
/*
|
|
1588
1571
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1589
1572
|
* Licensed under the MIT License.
|
|
@@ -1603,7 +1586,7 @@ const AzureCloudInstance = {
|
|
|
1603
1586
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1604
1587
|
};
|
|
1605
1588
|
|
|
1606
|
-
/*! @azure/msal-common v16.0
|
|
1589
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1607
1590
|
/*
|
|
1608
1591
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1609
1592
|
* Licensed under the MIT License.
|
|
@@ -1685,7 +1668,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1685
1668
|
return updatedAccountInfo;
|
|
1686
1669
|
}
|
|
1687
1670
|
|
|
1688
|
-
/*! @azure/msal-common v16.0
|
|
1671
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1689
1672
|
|
|
1690
1673
|
/*
|
|
1691
1674
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1765,7 +1748,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1765
1748
|
}
|
|
1766
1749
|
}
|
|
1767
1750
|
|
|
1768
|
-
/*! @azure/msal-common v16.0
|
|
1751
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1769
1752
|
|
|
1770
1753
|
/*
|
|
1771
1754
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1922,7 +1905,7 @@ class UrlString {
|
|
|
1922
1905
|
}
|
|
1923
1906
|
}
|
|
1924
1907
|
|
|
1925
|
-
/*! @azure/msal-common v16.0
|
|
1908
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
1926
1909
|
|
|
1927
1910
|
/*
|
|
1928
1911
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2079,7 +2062,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2079
2062
|
return null;
|
|
2080
2063
|
}
|
|
2081
2064
|
|
|
2082
|
-
/*! @azure/msal-common v16.0
|
|
2065
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2083
2066
|
/*
|
|
2084
2067
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2085
2068
|
* Licensed under the MIT License.
|
|
@@ -2087,7 +2070,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2087
2070
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2088
2071
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2089
2072
|
|
|
2090
|
-
/*! @azure/msal-common v16.0
|
|
2073
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2091
2074
|
|
|
2092
2075
|
/*
|
|
2093
2076
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2125,7 +2108,7 @@ function createCacheError(e) {
|
|
|
2125
2108
|
}
|
|
2126
2109
|
}
|
|
2127
2110
|
|
|
2128
|
-
/*! @azure/msal-common v16.0
|
|
2111
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2129
2112
|
|
|
2130
2113
|
/*
|
|
2131
2114
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2163,7 +2146,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2163
2146
|
};
|
|
2164
2147
|
}
|
|
2165
2148
|
|
|
2166
|
-
/*! @azure/msal-common v16.0
|
|
2149
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2167
2150
|
/*
|
|
2168
2151
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2169
2152
|
* Licensed under the MIT License.
|
|
@@ -2178,7 +2161,7 @@ const AuthorityType = {
|
|
|
2178
2161
|
Ciam: 3,
|
|
2179
2162
|
};
|
|
2180
2163
|
|
|
2181
|
-
/*! @azure/msal-common v16.0
|
|
2164
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2182
2165
|
/*
|
|
2183
2166
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2184
2167
|
* Licensed under the MIT License.
|
|
@@ -2200,7 +2183,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2200
2183
|
return null;
|
|
2201
2184
|
}
|
|
2202
2185
|
|
|
2203
|
-
/*! @azure/msal-common v16.0
|
|
2186
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2204
2187
|
/*
|
|
2205
2188
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2206
2189
|
* Licensed under the MIT License.
|
|
@@ -2224,7 +2207,7 @@ const ProtocolMode = {
|
|
|
2224
2207
|
EAR: "EAR",
|
|
2225
2208
|
};
|
|
2226
2209
|
|
|
2227
|
-
/*! @azure/msal-common v16.0
|
|
2210
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2228
2211
|
/**
|
|
2229
2212
|
* Returns the AccountInfo interface for this account.
|
|
2230
2213
|
*/
|
|
@@ -2399,7 +2382,7 @@ function isAccountEntity(entity) {
|
|
|
2399
2382
|
entity.hasOwnProperty("authorityType"));
|
|
2400
2383
|
}
|
|
2401
2384
|
|
|
2402
|
-
/*! @azure/msal-common v16.0
|
|
2385
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
2403
2386
|
|
|
2404
2387
|
/*
|
|
2405
2388
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3496,7 +3479,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3496
3479
|
}
|
|
3497
3480
|
}
|
|
3498
3481
|
|
|
3499
|
-
/*! @azure/msal-common v16.0
|
|
3482
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3500
3483
|
/*
|
|
3501
3484
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3502
3485
|
* Licensed under the MIT License.
|
|
@@ -3511,6 +3494,12 @@ const PerformanceEventStatus = {
|
|
|
3511
3494
|
InProgress: 1,
|
|
3512
3495
|
Completed: 2,
|
|
3513
3496
|
};
|
|
3497
|
+
/**
|
|
3498
|
+
* Prefix used to mark telemetry field names as dynamic.
|
|
3499
|
+
* Fields with this prefix in addFields/incrementFields calls will be routed
|
|
3500
|
+
* to the PerformanceEvent.ext sub-object.
|
|
3501
|
+
*/
|
|
3502
|
+
const EXT_FIELD_PREFIX = "ext.";
|
|
3514
3503
|
const IntFields = new Set([
|
|
3515
3504
|
"accessTokenSize",
|
|
3516
3505
|
"durationMs",
|
|
@@ -3537,7 +3526,7 @@ const IntFields = new Set([
|
|
|
3537
3526
|
"upgradedCacheCount",
|
|
3538
3527
|
]);
|
|
3539
3528
|
|
|
3540
|
-
/*! @azure/msal-common v16.0
|
|
3529
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3541
3530
|
|
|
3542
3531
|
/*
|
|
3543
3532
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3592,7 +3581,7 @@ class StubPerformanceClient {
|
|
|
3592
3581
|
}
|
|
3593
3582
|
}
|
|
3594
3583
|
|
|
3595
|
-
/*! @azure/msal-common v16.0
|
|
3584
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3596
3585
|
|
|
3597
3586
|
/*
|
|
3598
3587
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3686,7 +3675,7 @@ function isOidcProtocolMode(config) {
|
|
|
3686
3675
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3687
3676
|
}
|
|
3688
3677
|
|
|
3689
|
-
/*! @azure/msal-common v16.0
|
|
3678
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3690
3679
|
|
|
3691
3680
|
/*
|
|
3692
3681
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3705,27 +3694,63 @@ class ServerError extends AuthError {
|
|
|
3705
3694
|
}
|
|
3706
3695
|
}
|
|
3707
3696
|
|
|
3708
|
-
/*! @azure/msal-common v16.0
|
|
3697
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3709
3698
|
/*
|
|
3710
3699
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3711
3700
|
* Licensed under the MIT License.
|
|
3712
3701
|
*/
|
|
3713
|
-
|
|
3702
|
+
/**
|
|
3703
|
+
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
3704
|
+
* @public
|
|
3705
|
+
*/
|
|
3714
3706
|
const noTokensFound = "no_tokens_found";
|
|
3707
|
+
/**
|
|
3708
|
+
* MSAL-defined error code indicating a native account is unavailable on the platform.
|
|
3709
|
+
* @public
|
|
3710
|
+
*/
|
|
3715
3711
|
const nativeAccountUnavailable = "native_account_unavailable";
|
|
3712
|
+
/**
|
|
3713
|
+
* MSAL-defined error code indicating the refresh token has expired and user interaction is needed.
|
|
3714
|
+
* @public
|
|
3715
|
+
*/
|
|
3716
3716
|
const refreshTokenExpired = "refresh_token_expired";
|
|
3717
|
+
/**
|
|
3718
|
+
* MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
|
|
3719
|
+
* @public
|
|
3720
|
+
*/
|
|
3717
3721
|
const uxNotAllowed = "ux_not_allowed";
|
|
3718
|
-
|
|
3722
|
+
/**
|
|
3723
|
+
* Server-originated error code indicating interaction is required to complete the request.
|
|
3724
|
+
* @public
|
|
3725
|
+
*/
|
|
3719
3726
|
const interactionRequired = "interaction_required";
|
|
3727
|
+
/**
|
|
3728
|
+
* Server-originated error code indicating user consent is required.
|
|
3729
|
+
* @public
|
|
3730
|
+
*/
|
|
3720
3731
|
const consentRequired = "consent_required";
|
|
3732
|
+
/**
|
|
3733
|
+
* Server-originated error code indicating user login is required.
|
|
3734
|
+
* @public
|
|
3735
|
+
*/
|
|
3721
3736
|
const loginRequired = "login_required";
|
|
3722
|
-
|
|
3737
|
+
/**
|
|
3738
|
+
* Server-originated error code indicating the token is invalid or corrupted.
|
|
3739
|
+
* @public
|
|
3740
|
+
*/
|
|
3741
|
+
const badToken = "bad_token";
|
|
3742
|
+
/**
|
|
3743
|
+
* Server-originated error code indicating the user is in an interrupted state and interaction is required.
|
|
3744
|
+
* @public
|
|
3745
|
+
*/
|
|
3746
|
+
const interruptedUser = "interrupted_user";
|
|
3723
3747
|
|
|
3724
3748
|
var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
3725
3749
|
__proto__: null,
|
|
3726
3750
|
badToken: badToken,
|
|
3727
3751
|
consentRequired: consentRequired,
|
|
3728
3752
|
interactionRequired: interactionRequired,
|
|
3753
|
+
interruptedUser: interruptedUser,
|
|
3729
3754
|
loginRequired: loginRequired,
|
|
3730
3755
|
nativeAccountUnavailable: nativeAccountUnavailable,
|
|
3731
3756
|
noTokensFound: noTokensFound,
|
|
@@ -3733,7 +3758,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
3733
3758
|
uxNotAllowed: uxNotAllowed
|
|
3734
3759
|
});
|
|
3735
3760
|
|
|
3736
|
-
/*! @azure/msal-common v16.0
|
|
3761
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3737
3762
|
|
|
3738
3763
|
/*
|
|
3739
3764
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3748,6 +3773,7 @@ const InteractionRequiredServerErrorMessage = [
|
|
|
3748
3773
|
loginRequired,
|
|
3749
3774
|
badToken,
|
|
3750
3775
|
uxNotAllowed,
|
|
3776
|
+
interruptedUser,
|
|
3751
3777
|
];
|
|
3752
3778
|
const InteractionRequiredAuthSubErrorMessage = [
|
|
3753
3779
|
"message_only",
|
|
@@ -3757,6 +3783,7 @@ const InteractionRequiredAuthSubErrorMessage = [
|
|
|
3757
3783
|
"consent_required",
|
|
3758
3784
|
"bad_token",
|
|
3759
3785
|
"ux_not_allowed",
|
|
3786
|
+
"interrupted_user",
|
|
3760
3787
|
];
|
|
3761
3788
|
/**
|
|
3762
3789
|
* Error thrown when user interaction is required.
|
|
@@ -3799,7 +3826,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
3799
3826
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
3800
3827
|
}
|
|
3801
3828
|
|
|
3802
|
-
/*! @azure/msal-common v16.0
|
|
3829
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3803
3830
|
|
|
3804
3831
|
/*
|
|
3805
3832
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3867,7 +3894,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
3867
3894
|
}
|
|
3868
3895
|
}
|
|
3869
3896
|
|
|
3870
|
-
/*! @azure/msal-common v16.0
|
|
3897
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3871
3898
|
/*
|
|
3872
3899
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3873
3900
|
* Licensed under the MIT License.
|
|
@@ -3932,7 +3959,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
3932
3959
|
return cachedAtSec > nowSeconds();
|
|
3933
3960
|
}
|
|
3934
3961
|
|
|
3935
|
-
/*! @azure/msal-common v16.0
|
|
3962
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
3936
3963
|
/*
|
|
3937
3964
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3938
3965
|
* Licensed under the MIT License.
|
|
@@ -4003,7 +4030,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
4003
4030
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
4004
4031
|
const SetUserData = "setUserData";
|
|
4005
4032
|
|
|
4006
|
-
/*! @azure/msal-common v16.0
|
|
4033
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4007
4034
|
/*
|
|
4008
4035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4009
4036
|
* Licensed under the MIT License.
|
|
@@ -4026,8 +4053,7 @@ const invoke = (callback, eventName, logger, telemetryClient, correlationId) =>
|
|
|
4026
4053
|
const inProgressEvent = telemetryClient.startMeasurement(eventName, correlationId);
|
|
4027
4054
|
if (correlationId) {
|
|
4028
4055
|
// Track number of times this API is called in a single request
|
|
4029
|
-
|
|
4030
|
-
telemetryClient.incrementFields({ [eventCount]: 1 }, correlationId);
|
|
4056
|
+
telemetryClient.incrementFields({ [`ext.${eventName}CallCount`]: 1 }, correlationId);
|
|
4031
4057
|
}
|
|
4032
4058
|
try {
|
|
4033
4059
|
const result = callback(...args);
|
|
@@ -4071,8 +4097,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4071
4097
|
const inProgressEvent = telemetryClient.startMeasurement(eventName, correlationId);
|
|
4072
4098
|
if (correlationId) {
|
|
4073
4099
|
// Track number of times this API is called in a single request
|
|
4074
|
-
|
|
4075
|
-
telemetryClient.incrementFields({ [eventCount]: 1 }, correlationId);
|
|
4100
|
+
telemetryClient.incrementFields({ [`ext.${eventName}CallCount`]: 1 }, correlationId);
|
|
4076
4101
|
}
|
|
4077
4102
|
return callback(...args)
|
|
4078
4103
|
.then((response) => {
|
|
@@ -4098,7 +4123,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4098
4123
|
};
|
|
4099
4124
|
};
|
|
4100
4125
|
|
|
4101
|
-
/*! @azure/msal-common v16.0
|
|
4126
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4102
4127
|
|
|
4103
4128
|
/*
|
|
4104
4129
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4178,7 +4203,7 @@ class PopTokenGenerator {
|
|
|
4178
4203
|
}
|
|
4179
4204
|
}
|
|
4180
4205
|
|
|
4181
|
-
/*! @azure/msal-common v16.0
|
|
4206
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4182
4207
|
/*
|
|
4183
4208
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4184
4209
|
* Licensed under the MIT License.
|
|
@@ -4205,7 +4230,7 @@ class PopTokenGenerator {
|
|
|
4205
4230
|
}
|
|
4206
4231
|
}
|
|
4207
4232
|
|
|
4208
|
-
/*! @azure/msal-common v16.0
|
|
4233
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4209
4234
|
|
|
4210
4235
|
/*
|
|
4211
4236
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4464,7 +4489,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4464
4489
|
return metadata.expiresAt <= nowSeconds();
|
|
4465
4490
|
}
|
|
4466
4491
|
|
|
4467
|
-
/*! @azure/msal-common v16.0
|
|
4492
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4468
4493
|
|
|
4469
4494
|
/*
|
|
4470
4495
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4800,7 +4825,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4800
4825
|
return baseAccount;
|
|
4801
4826
|
}
|
|
4802
4827
|
|
|
4803
|
-
/*! @azure/msal-common v16.0
|
|
4828
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4804
4829
|
/*
|
|
4805
4830
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4806
4831
|
* Licensed under the MIT License.
|
|
@@ -4810,7 +4835,7 @@ const CcsCredentialType = {
|
|
|
4810
4835
|
UPN: "UPN",
|
|
4811
4836
|
};
|
|
4812
4837
|
|
|
4813
|
-
/*! @azure/msal-common v16.0
|
|
4838
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4814
4839
|
/*
|
|
4815
4840
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4816
4841
|
* Licensed under the MIT License.
|
|
@@ -4828,7 +4853,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4828
4853
|
}
|
|
4829
4854
|
}
|
|
4830
4855
|
|
|
4831
|
-
/*! @azure/msal-common v16.0
|
|
4856
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4832
4857
|
/*
|
|
4833
4858
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4834
4859
|
* Licensed under the MIT License.
|
|
@@ -4849,7 +4874,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4849
4874
|
};
|
|
4850
4875
|
}
|
|
4851
4876
|
|
|
4852
|
-
/*! @azure/msal-common v16.0
|
|
4877
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4853
4878
|
|
|
4854
4879
|
/*
|
|
4855
4880
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4935,7 +4960,7 @@ class ThrottlingUtils {
|
|
|
4935
4960
|
}
|
|
4936
4961
|
}
|
|
4937
4962
|
|
|
4938
|
-
/*! @azure/msal-common v16.0
|
|
4963
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4939
4964
|
|
|
4940
4965
|
/*
|
|
4941
4966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4966,7 +4991,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4966
4991
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
4967
4992
|
}
|
|
4968
4993
|
|
|
4969
|
-
/*! @azure/msal-common v16.0
|
|
4994
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4970
4995
|
|
|
4971
4996
|
/*
|
|
4972
4997
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5080,7 +5105,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5080
5105
|
return response;
|
|
5081
5106
|
}
|
|
5082
5107
|
|
|
5083
|
-
/*! @azure/msal-common v16.0
|
|
5108
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5084
5109
|
/*
|
|
5085
5110
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5086
5111
|
* Licensed under the MIT License.
|
|
@@ -5092,7 +5117,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5092
5117
|
response.hasOwnProperty("jwks_uri"));
|
|
5093
5118
|
}
|
|
5094
5119
|
|
|
5095
|
-
/*! @azure/msal-common v16.0
|
|
5120
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5096
5121
|
/*
|
|
5097
5122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5098
5123
|
* Licensed under the MIT License.
|
|
@@ -5102,7 +5127,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5102
5127
|
response.hasOwnProperty("metadata"));
|
|
5103
5128
|
}
|
|
5104
5129
|
|
|
5105
|
-
/*! @azure/msal-common v16.0
|
|
5130
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5106
5131
|
/*
|
|
5107
5132
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5108
5133
|
* Licensed under the MIT License.
|
|
@@ -5112,7 +5137,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5112
5137
|
response.hasOwnProperty("error_description"));
|
|
5113
5138
|
}
|
|
5114
5139
|
|
|
5115
|
-
/*! @azure/msal-common v16.0
|
|
5140
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5116
5141
|
|
|
5117
5142
|
/*
|
|
5118
5143
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5217,7 +5242,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5217
5242
|
},
|
|
5218
5243
|
};
|
|
5219
5244
|
|
|
5220
|
-
/*! @azure/msal-common v16.0
|
|
5245
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5221
5246
|
|
|
5222
5247
|
/*
|
|
5223
5248
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6037,7 +6062,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6037
6062
|
};
|
|
6038
6063
|
}
|
|
6039
6064
|
|
|
6040
|
-
/*! @azure/msal-common v16.0
|
|
6065
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6041
6066
|
|
|
6042
6067
|
/*
|
|
6043
6068
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6071,7 +6096,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6071
6096
|
}
|
|
6072
6097
|
}
|
|
6073
6098
|
|
|
6074
|
-
/*! @azure/msal-common v16.0
|
|
6099
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6075
6100
|
|
|
6076
6101
|
/*
|
|
6077
6102
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6331,7 +6356,7 @@ class AuthorizationCodeClient {
|
|
|
6331
6356
|
}
|
|
6332
6357
|
}
|
|
6333
6358
|
|
|
6334
|
-
/*! @azure/msal-common v16.0
|
|
6359
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6335
6360
|
|
|
6336
6361
|
/*
|
|
6337
6362
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6556,7 +6581,7 @@ class RefreshTokenClient {
|
|
|
6556
6581
|
}
|
|
6557
6582
|
}
|
|
6558
6583
|
|
|
6559
|
-
/*! @azure/msal-common v16.0
|
|
6584
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6560
6585
|
|
|
6561
6586
|
/*
|
|
6562
6587
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6665,7 +6690,7 @@ class SilentFlowClient {
|
|
|
6665
6690
|
}
|
|
6666
6691
|
}
|
|
6667
6692
|
|
|
6668
|
-
/*! @azure/msal-common v16.0
|
|
6693
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6669
6694
|
|
|
6670
6695
|
/*
|
|
6671
6696
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6680,7 +6705,7 @@ const StubbedNetworkModule = {
|
|
|
6680
6705
|
},
|
|
6681
6706
|
};
|
|
6682
6707
|
|
|
6683
|
-
/*! @azure/msal-common v16.0
|
|
6708
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6684
6709
|
|
|
6685
6710
|
/*
|
|
6686
6711
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6904,7 +6929,7 @@ function extractLoginHint(account) {
|
|
|
6904
6929
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6905
6930
|
}
|
|
6906
6931
|
|
|
6907
|
-
/*! @azure/msal-common v16.0
|
|
6932
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6908
6933
|
|
|
6909
6934
|
/*
|
|
6910
6935
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6962,7 +6987,7 @@ class AuthenticationHeaderParser {
|
|
|
6962
6987
|
}
|
|
6963
6988
|
}
|
|
6964
6989
|
|
|
6965
|
-
/*! @azure/msal-common v16.0
|
|
6990
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6966
6991
|
/*
|
|
6967
6992
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6968
6993
|
* Licensed under the MIT License.
|
|
@@ -6979,7 +7004,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6979
7004
|
unexpectedError: unexpectedError
|
|
6980
7005
|
});
|
|
6981
7006
|
|
|
6982
|
-
/*! @azure/msal-common v16.0
|
|
7007
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6983
7008
|
|
|
6984
7009
|
/*
|
|
6985
7010
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7240,7 +7265,7 @@ class ServerTelemetryManager {
|
|
|
7240
7265
|
}
|
|
7241
7266
|
}
|
|
7242
7267
|
|
|
7243
|
-
/*! @azure/msal-common v16.0
|
|
7268
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
7244
7269
|
|
|
7245
7270
|
/*
|
|
7246
7271
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7261,7 +7286,7 @@ function createJoseHeaderError(code) {
|
|
|
7261
7286
|
return new JoseHeaderError(code);
|
|
7262
7287
|
}
|
|
7263
7288
|
|
|
7264
|
-
/*! @azure/msal-common v16.0
|
|
7289
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
7265
7290
|
/*
|
|
7266
7291
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7267
7292
|
* Licensed under the MIT License.
|
|
@@ -7269,7 +7294,7 @@ function createJoseHeaderError(code) {
|
|
|
7269
7294
|
const missingKidError = "missing_kid_error";
|
|
7270
7295
|
const missingAlgError = "missing_alg_error";
|
|
7271
7296
|
|
|
7272
|
-
/*! @azure/msal-common v16.0
|
|
7297
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
7273
7298
|
|
|
7274
7299
|
/*
|
|
7275
7300
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7309,7 +7334,7 @@ class JoseHeader {
|
|
|
7309
7334
|
}
|
|
7310
7335
|
}
|
|
7311
7336
|
|
|
7312
|
-
/*! @azure/msal-common v16.0
|
|
7337
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
7313
7338
|
|
|
7314
7339
|
/*
|
|
7315
7340
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7608,9 +7633,13 @@ class PerformanceClient {
|
|
|
7608
7633
|
if (error) {
|
|
7609
7634
|
addError(error, this.logger, rootEvent);
|
|
7610
7635
|
}
|
|
7611
|
-
// Add sub-measurement attribute to root event.
|
|
7636
|
+
// Add sub-measurement attribute to root event's ext field.
|
|
7612
7637
|
if (!isRoot) {
|
|
7613
|
-
rootEvent
|
|
7638
|
+
rootEvent.ext = {
|
|
7639
|
+
...rootEvent.ext,
|
|
7640
|
+
...event.ext,
|
|
7641
|
+
};
|
|
7642
|
+
rootEvent.ext[event.name + "DurationMs"] = Math.floor(event.durationMs);
|
|
7614
7643
|
return { ...rootEvent };
|
|
7615
7644
|
}
|
|
7616
7645
|
if (isRoot &&
|
|
@@ -7656,10 +7685,32 @@ class PerformanceClient {
|
|
|
7656
7685
|
addFields(fields, correlationId) {
|
|
7657
7686
|
const event = this.eventsByCorrelationId.get(correlationId);
|
|
7658
7687
|
if (event) {
|
|
7659
|
-
|
|
7688
|
+
const staticFields = {};
|
|
7689
|
+
const dynamicFields = {};
|
|
7690
|
+
for (const key in fields) {
|
|
7691
|
+
if (key.startsWith(EXT_FIELD_PREFIX)) {
|
|
7692
|
+
const dynamicKey = key.slice(EXT_FIELD_PREFIX.length);
|
|
7693
|
+
const value = fields[key];
|
|
7694
|
+
if (typeof value === "string" ||
|
|
7695
|
+
typeof value === "number") {
|
|
7696
|
+
dynamicFields[dynamicKey] = value;
|
|
7697
|
+
}
|
|
7698
|
+
}
|
|
7699
|
+
else {
|
|
7700
|
+
staticFields[key] = fields[key];
|
|
7701
|
+
}
|
|
7702
|
+
}
|
|
7703
|
+
const updatedEvent = {
|
|
7660
7704
|
...event,
|
|
7661
|
-
...
|
|
7662
|
-
}
|
|
7705
|
+
...staticFields,
|
|
7706
|
+
};
|
|
7707
|
+
if (Object.keys(dynamicFields).length) {
|
|
7708
|
+
updatedEvent.ext = {
|
|
7709
|
+
...updatedEvent.ext,
|
|
7710
|
+
...dynamicFields,
|
|
7711
|
+
};
|
|
7712
|
+
}
|
|
7713
|
+
this.eventsByCorrelationId.set(correlationId, updatedEvent);
|
|
7663
7714
|
}
|
|
7664
7715
|
else {
|
|
7665
7716
|
this.logger.trace("0thl6s", correlationId);
|
|
@@ -7674,13 +7725,32 @@ class PerformanceClient {
|
|
|
7674
7725
|
const event = this.eventsByCorrelationId.get(correlationId);
|
|
7675
7726
|
if (event) {
|
|
7676
7727
|
for (const counter in fields) {
|
|
7677
|
-
if (
|
|
7678
|
-
event
|
|
7728
|
+
if (counter.startsWith(EXT_FIELD_PREFIX)) {
|
|
7729
|
+
event.ext = event.ext || {};
|
|
7730
|
+
// Route to ext sub-object
|
|
7731
|
+
const dynamicKey = counter.slice(EXT_FIELD_PREFIX.length);
|
|
7732
|
+
const currentValue = event.ext[dynamicKey];
|
|
7733
|
+
if (currentValue === undefined) {
|
|
7734
|
+
event.ext[dynamicKey] = 0;
|
|
7735
|
+
}
|
|
7736
|
+
else if (isNaN(Number(currentValue))) {
|
|
7737
|
+
return;
|
|
7738
|
+
}
|
|
7739
|
+
event.ext[dynamicKey] =
|
|
7740
|
+
(Number(event.ext[dynamicKey]) || 0) +
|
|
7741
|
+
(fields[counter] ?? 0);
|
|
7679
7742
|
}
|
|
7680
|
-
else
|
|
7681
|
-
|
|
7743
|
+
else {
|
|
7744
|
+
/* eslint-disable custom-msal/no-dynamic-telemetry-fields -- internal dispatching of static fields by name */
|
|
7745
|
+
if (!event.hasOwnProperty(counter)) {
|
|
7746
|
+
event[counter] = 0;
|
|
7747
|
+
}
|
|
7748
|
+
else if (isNaN(Number(event[counter]))) {
|
|
7749
|
+
return;
|
|
7750
|
+
}
|
|
7751
|
+
event[counter] += fields[counter];
|
|
7752
|
+
/* eslint-enable custom-msal/no-dynamic-telemetry-fields */
|
|
7682
7753
|
}
|
|
7683
|
-
event[counter] += fields[counter];
|
|
7684
7754
|
}
|
|
7685
7755
|
}
|
|
7686
7756
|
else {
|
|
@@ -7773,9 +7843,11 @@ class PerformanceClient {
|
|
|
7773
7843
|
*/
|
|
7774
7844
|
truncateIntegralFields(event) {
|
|
7775
7845
|
this.intFields.forEach((key) => {
|
|
7846
|
+
/* eslint-disable custom-msal/no-dynamic-telemetry-fields -- internal truncation of known integer fields */
|
|
7776
7847
|
if (key in event && typeof event[key] === "number") {
|
|
7777
7848
|
event[key] = Math.floor(event[key]);
|
|
7778
7849
|
}
|
|
7850
|
+
/* eslint-enable custom-msal/no-dynamic-telemetry-fields */
|
|
7779
7851
|
});
|
|
7780
7852
|
}
|
|
7781
7853
|
/**
|
|
@@ -10135,7 +10207,7 @@ const EventType = {
|
|
|
10135
10207
|
|
|
10136
10208
|
/* eslint-disable header/header */
|
|
10137
10209
|
const name = "@azure/msal-browser";
|
|
10138
|
-
const version = "5.
|
|
10210
|
+
const version = "5.4.0";
|
|
10139
10211
|
|
|
10140
10212
|
/*
|
|
10141
10213
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -16342,6 +16414,10 @@ class StandardController {
|
|
|
16342
16414
|
const result = this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy).catch(async (refreshTokenError) => {
|
|
16343
16415
|
const shouldTryToResolveSilently = checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheLookupPolicy);
|
|
16344
16416
|
if (shouldTryToResolveSilently) {
|
|
16417
|
+
const silentRefreshReason = `${refreshTokenError.errorCode}${refreshTokenError.subError
|
|
16418
|
+
? `|${refreshTokenError.subError}`
|
|
16419
|
+
: ""}`;
|
|
16420
|
+
this.performanceClient.addFields({ silentRefreshReason }, request.correlationId);
|
|
16345
16421
|
if (!this.activeIframeRequest) {
|
|
16346
16422
|
let _resolve;
|
|
16347
16423
|
// Always set the active request tracker immediately after checking it to prevent races
|