@azure/msal-browser 5.6.1 → 5.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +9 -9
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.d.ts +13 -1
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +9 -2
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts +4 -2
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +56 -19
- 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/cache/TokenCache.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.d.ts +13 -1
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +9 -2
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +4 -2
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +56 -19
- 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/index.d.ts +1 -1
- package/dist/custom-auth-path/index.d.ts.map +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.d.ts +10 -10
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +8 -8
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +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.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +21 -8
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +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.d.ts +6 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +12 -2
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/custom-auth-path/log-strings-mapping.json +23 -3
- 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/redirect_bridge/index.d.ts.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/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +5 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +9 -3
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts +2 -2
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +27 -3
- package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +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.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +8 -8
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +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.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +21 -8
- package/dist/interaction_client/SilentIframeClient.mjs.map +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.d.ts +6 -0
- package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +12 -2
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/log-strings-mapping.json +31 -11
- 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/cache/TokenCache.d.ts.map +1 -1
- package/dist/redirect-bridge/config/Configuration.d.ts +13 -1
- package/dist/redirect-bridge/config/Configuration.d.ts.map +1 -1
- package/dist/redirect-bridge/config/Configuration.mjs +1 -1
- package/dist/redirect-bridge/controllers/StandardController.d.ts +4 -2
- 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/index.d.ts +1 -1
- package/dist/redirect-bridge/index.d.ts.map +1 -1
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts +6 -0
- package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts.map +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.d.ts.map +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.mjs +43 -24
- package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +5 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.d.ts +2 -2
- package/dist/redirect-bridge/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.mjs.map +1 -1
- package/dist/redirect_bridge/index.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +6 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +5 -0
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +9 -3
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +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.d.ts +2 -2
- package/dist/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/utils/BrowserUtils.mjs +27 -3
- package/dist/utils/BrowserUtils.mjs.map +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 +23 -3
- package/lib/custom-auth-path/msal-custom-auth.cjs +649 -546
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +13 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +4 -2
- 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/index.d.ts +1 -1
- package/lib/custom-auth-path/types/index.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +6 -0
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/custom-auth-path/types/redirect_bridge/index.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +5 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +2 -2
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
- package/lib/log-strings-mapping.json +31 -11
- package/lib/msal-browser.cjs +794 -685
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +794 -685
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.js +52 -33
- 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/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +13 -1
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts +4 -2
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/types/interaction_handler/SilentHandler.d.ts +6 -0
- package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/redirect_bridge/index.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +5 -0
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/types/utils/BrowserUtils.d.ts +2 -2
- package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/cache/TokenCache.ts +27 -24
- package/src/config/Configuration.ts +22 -0
- package/src/controllers/StandardController.ts +84 -35
- package/src/index.ts +1 -0
- package/src/interaction_client/PlatformAuthInteractionClient.ts +55 -53
- package/src/interaction_client/SilentIframeClient.ts +55 -29
- package/src/interaction_handler/SilentHandler.ts +11 -0
- package/src/packageMetadata.ts +1 -1
- package/src/redirect_bridge/index.ts +47 -25
- package/src/telemetry/BrowserPerformanceClient.ts +6 -0
- package/src/telemetry/BrowserPerformanceEvents.ts +6 -0
- package/src/utils/BrowserUtils.ts +36 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AccountEntity, ICrypto, IPerformanceClient, InProgressPerformanceEvent, Logger, ScopeSet, TokenClaims } from "@azure/msal-common/browser";
|
|
2
|
+
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
3
|
+
import { PlatformAuthRequest } from "../broker/nativeBroker/PlatformAuthRequest.js";
|
|
4
|
+
import { MATS, PlatformAuthResponse } from "../broker/nativeBroker/PlatformAuthResponse.js";
|
|
4
5
|
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
6
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
5
7
|
import { EventHandler } from "../event/EventHandler.js";
|
|
8
|
+
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
9
|
+
import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
|
|
6
10
|
import { PopupRequest } from "../request/PopupRequest.js";
|
|
11
|
+
import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
7
12
|
import { SilentRequest } from "../request/SilentRequest.js";
|
|
8
13
|
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
14
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
9
15
|
import { ApiId, CacheLookupPolicy } from "../utils/BrowserConstants.js";
|
|
10
|
-
import {
|
|
11
|
-
import { MATS, PlatformAuthResponse } from "../broker/nativeBroker/PlatformAuthResponse.js";
|
|
12
|
-
import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
13
|
-
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
16
|
+
import { BaseInteractionClient } from "./BaseInteractionClient.js";
|
|
14
17
|
import { SilentCacheClient } from "./SilentCacheClient.js";
|
|
15
|
-
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
16
|
-
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
17
|
-
import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
|
|
18
18
|
export declare class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
19
19
|
protected apiId: ApiId;
|
|
20
20
|
protected accountId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,aAAa,EAUb,OAAO,EACP,kBAAkB,EAElB,0BAA0B,EAC1B,MAAM,EAGN,QAAQ,EAIR,WAAW,EAMd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACpF,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action_client/SilentIframeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAEN,uBAAuB,EAEvB,kBAAkB,EAKlB,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAKvE,OAAO,EAEH,KAAK,EAER,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"SilentIframeClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/SilentIframeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAEN,uBAAuB,EAEvB,kBAAkB,EAKlB,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAKvE,OAAO,EAEH,KAAK,EAER,MAAM,8BAA8B,CAAC;AAOtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAO3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAMtF,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC7D,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;gBAGzC,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,EAAE,MAAM,EACrB,oBAAoB,CAAC,EAAE,oBAAoB;IAiB/C;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,gBAAgB,GAC1B,OAAO,CAAC,oBAAoB,CAAC;IA+DhC;;;;OAIG;IACG,eAAe,CACjB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAgEhC;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAgKhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IASvB;;;;;OAKG;cACa,iBAAiB,CAC7B,UAAU,EAAE,uBAAuB,EACnC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;CAiHnC"}
|
|
@@ -8,4 +8,10 @@ import { BrowserConfiguration } from "../config/Configuration.js";
|
|
|
8
8
|
export declare function initiateCodeRequest(requestUrl: string, performanceClient: IPerformanceClient, logger: Logger, correlationId: string): Promise<HTMLIFrameElement>;
|
|
9
9
|
export declare function initiateCodeFlowWithPost(config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLIFrameElement>;
|
|
10
10
|
export declare function initiateEarRequest(config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLIFrameElement>;
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
* Removes a hidden iframe from `document.body` if it is a direct child.
|
|
14
|
+
* @param iframe - The iframe element to remove.
|
|
15
|
+
*/
|
|
16
|
+
export declare function removeHiddenIframe(iframe: HTMLIFrameElement): void;
|
|
11
17
|
//# sourceMappingURL=SilentHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentHandler.d.ts","sourceRoot":"","sources":["../../../src/interaction_handler/SilentHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,kBAAkB,EAElB,SAAS,EACT,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE;;;;GAIG;AACH,wBAAsB,mBAAmB,CACrC,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAc5B;AAED,wBAAsB,wBAAwB,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAED,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B"}
|
|
1
|
+
{"version":3,"file":"SilentHandler.d.ts","sourceRoot":"","sources":["../../../src/interaction_handler/SilentHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,kBAAkB,EAElB,SAAS,EACT,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE;;;;GAIG;AACH,wBAAsB,mBAAmB,CACrC,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAc5B;AAED,wBAAsB,wBAAwB,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAED,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAwCD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAIlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redirect_bridge/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGrE;;;;;;;;;;;;GAYG;AACH,wBAAsB,4BAA4B,CAC9C,gBAAgB,CAAC,EAAE,gBAAgB,GACpC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redirect_bridge/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGrE;;;;;;;;;;;;GAYG;AACH,wBAAsB,4BAA4B,CAC9C,gBAAgB,CAAC,EAAE,gBAAgB,GACpC,OAAO,CAAC,IAAI,CAAC,CAwHf"}
|
|
@@ -4,6 +4,7 @@ export declare class BrowserPerformanceClient extends PerformanceClient implemen
|
|
|
4
4
|
constructor(configuration: Configuration, intFields?: Set<string>);
|
|
5
5
|
generateId(): string;
|
|
6
6
|
private getPageVisibility;
|
|
7
|
+
private getOnlineStatus;
|
|
7
8
|
private deleteIncompleteSubMeasurements;
|
|
8
9
|
/**
|
|
9
10
|
* Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserPerformanceClient.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,0BAA0B,EAC1B,kBAAkB,EAElB,iBAAiB,EAGpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAkD3D,qBAAa,wBACT,SAAQ,iBACR,YAAW,kBAAkB;gBAEjB,aAAa,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC;IAmBjE,UAAU,IAAI,MAAM;IAIpB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,+BAA+B;IA0BvC;;;;;;;OAOG;IACH,gBAAgB,CACZ,WAAW,EAAE,MAAM,EACnB,aAAa,CAAC,EAAE,MAAM,GACvB,0BAA0B;
|
|
1
|
+
{"version":3,"file":"BrowserPerformanceClient.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,0BAA0B,EAC1B,kBAAkB,EAElB,iBAAiB,EAGpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAkD3D,qBAAa,wBACT,SAAQ,iBACR,YAAW,kBAAkB;gBAEjB,aAAa,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC;IAmBjE,UAAU,IAAI,MAAM;IAIpB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,+BAA+B;IA0BvC;;;;;;;OAOG;IACH,gBAAgB,CACZ,WAAW,EAAE,MAAM,EACnB,aAAa,CAAC,EAAE,MAAM,GACvB,0BAA0B;CA6DhC"}
|
|
@@ -131,4 +131,9 @@ export declare const LoadAccount = "loadAccount";
|
|
|
131
131
|
export declare const LoadIdToken = "loadIdToken";
|
|
132
132
|
export declare const LoadAccessToken = "loadAccessToken";
|
|
133
133
|
export declare const LoadRefreshToken = "loadRefreshToken";
|
|
134
|
+
/**
|
|
135
|
+
* Background telemetry measurement that tracks whether a late bridge response
|
|
136
|
+
* arrives after the iframe timeout has already fired.
|
|
137
|
+
*/
|
|
138
|
+
export declare const WaitForBridgeLateResponse = "waitForBridgeLateResponse";
|
|
134
139
|
//# sourceMappingURL=BrowserPerformanceEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserPerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceEvents.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,gCAAgC,qCACP,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAE7E;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAE/E,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,+BAA+B,oCACP,CAAC;AAEtC;;;GAGG;AACH,eAAO,MAAM,+CAA+C,oDACP,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAE/E;;;G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AAM,gBAAgB,qBAAqB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,8BAA8B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { invoke, invokeAsync, RequestParameterBuilder, ICrypto, IPerformanceClient, Logger, CommonAuthorizationUrlRequest, CommonEndSessionRequest } from "@azure/msal-common/browser";
|
|
2
|
-
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
2
|
+
import { BrowserConfiguration, BrowserExperimentalOptions } from "../config/Configuration.js";
|
|
3
3
|
/**
|
|
4
4
|
* Extracts and parses the authentication response from URL (hash and/or query string).
|
|
5
5
|
* This is a shared utility used across multiple components in msal-browser.
|
|
@@ -49,7 +49,7 @@ export declare function isInPopup(): boolean;
|
|
|
49
49
|
* any pending popup interaction before starting a new one.
|
|
50
50
|
*/
|
|
51
51
|
export declare function cancelPendingBridgeResponse(logger: Logger, correlationId: string): void;
|
|
52
|
-
export declare function waitForBridgeResponse(timeoutMs: number, logger: Logger, browserCrypto: ICrypto, request: CommonAuthorizationUrlRequest | CommonEndSessionRequest, performanceClient: IPerformanceClient): Promise<string>;
|
|
52
|
+
export declare function waitForBridgeResponse(timeoutMs: number, logger: Logger, browserCrypto: ICrypto, request: CommonAuthorizationUrlRequest | CommonEndSessionRequest, performanceClient: IPerformanceClient, experimentalConfig?: BrowserExperimentalOptions): Promise<string>;
|
|
53
53
|
/**
|
|
54
54
|
* Returns current window URL as redirect uri
|
|
55
55
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/BrowserUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,MAAM,EACN,WAAW,EAEX,uBAAuB,EACvB,OAAO,EACP,kBAAkB,
|
|
1
|
+
{"version":3,"file":"BrowserUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/BrowserUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,MAAM,EACN,WA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MAAM,CAIpC;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAQjD;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,qBAAqB,EAAE,OAAO,GAAG,IAAI,CAK1E;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAKhD;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAMjD;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAMxE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAYzD;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAClC,WAAW,EAAE,OAAO,EACpB,MAAM,EAAE,oBAAoB,GAC7B,IAAI,CASN;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAalD;AAED;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,eAAO,MAAM,6BAA6B,8DACe,CAAC"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
|
|
12
12
|
},
|
|
13
|
-
"version": "5.6.
|
|
13
|
+
"version": "5.6.3",
|
|
14
14
|
"description": "Microsoft Authentication Library for js",
|
|
15
15
|
"keywords": [
|
|
16
16
|
"implicit",
|
|
@@ -128,6 +128,6 @@
|
|
|
128
128
|
"typescript": "^4.9.5"
|
|
129
129
|
},
|
|
130
130
|
"dependencies": {
|
|
131
|
-
"@azure/msal-common": "16.4.
|
|
131
|
+
"@azure/msal-common": "16.4.1"
|
|
132
132
|
}
|
|
133
133
|
}
|
package/src/cache/TokenCache.ts
CHANGED
|
@@ -5,44 +5,44 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
AccessTokenEntity,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Logger,
|
|
11
|
-
ScopeSet,
|
|
8
|
+
AccountEntity,
|
|
9
|
+
AccountEntityUtils,
|
|
12
10
|
Authority,
|
|
13
11
|
AuthorityFactory,
|
|
14
12
|
AuthorityOptions,
|
|
15
|
-
ExternalTokenResponse,
|
|
16
|
-
AccountEntity,
|
|
17
13
|
AuthToken,
|
|
18
|
-
RefreshTokenEntity,
|
|
19
|
-
CacheRecord,
|
|
20
|
-
TokenClaims,
|
|
21
|
-
CacheHelpers,
|
|
22
14
|
buildAccountToCache,
|
|
23
|
-
TimeUtils,
|
|
24
|
-
AccountEntityUtils,
|
|
25
15
|
buildStaticAuthorityOptions,
|
|
16
|
+
CacheHelpers,
|
|
17
|
+
CacheRecord,
|
|
18
|
+
ExternalTokenResponse,
|
|
19
|
+
ICrypto,
|
|
20
|
+
IdTokenEntity,
|
|
26
21
|
invokeAsync,
|
|
27
22
|
IPerformanceClient,
|
|
23
|
+
Logger,
|
|
24
|
+
RefreshTokenEntity,
|
|
25
|
+
ScopeSet,
|
|
28
26
|
StubPerformanceClient,
|
|
27
|
+
TimeUtils,
|
|
28
|
+
TokenClaims,
|
|
29
29
|
} from "@azure/msal-common/browser";
|
|
30
30
|
import { buildConfiguration, Configuration } from "../config/Configuration.js";
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
31
|
+
import * as BrowserCrypto from "../crypto/BrowserCrypto.js";
|
|
32
|
+
import { CryptoOps } from "../crypto/CryptoOps.js";
|
|
33
|
+
import { base64Decode } from "../encode/Base64Decode.js";
|
|
33
34
|
import {
|
|
34
|
-
createBrowserAuthError,
|
|
35
35
|
BrowserAuthErrorCodes,
|
|
36
|
+
createBrowserAuthError,
|
|
36
37
|
} from "../error/BrowserAuthError.js";
|
|
37
|
-
import type { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
38
|
-
import { base64Decode } from "../encode/Base64Decode.js";
|
|
39
|
-
import * as BrowserCrypto from "../crypto/BrowserCrypto.js";
|
|
40
|
-
import { CryptoOps } from "../crypto/CryptoOps.js";
|
|
41
38
|
import { EventHandler } from "../event/EventHandler.js";
|
|
42
|
-
import
|
|
43
|
-
import
|
|
39
|
+
import type { SilentRequest } from "../request/SilentRequest.js";
|
|
40
|
+
import type { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
44
41
|
import * as BrowserPerformanceEvents from "../telemetry/BrowserPerformanceEvents.js";
|
|
42
|
+
import * as BrowserRootPerformanceEvents from "../telemetry/BrowserRootPerformanceEvents.js";
|
|
45
43
|
import { ApiId } from "../utils/BrowserConstants.js";
|
|
44
|
+
import * as BrowserUtils from "../utils/BrowserUtils.js";
|
|
45
|
+
import { BrowserCacheManager } from "./BrowserCacheManager.js";
|
|
46
46
|
|
|
47
47
|
export type LoadTokenOptions = {
|
|
48
48
|
clientInfo?: string;
|
|
@@ -132,7 +132,8 @@ export async function loadExternalTokens(
|
|
|
132
132
|
logger,
|
|
133
133
|
cryptoOps,
|
|
134
134
|
authority,
|
|
135
|
-
idTokenClaims
|
|
135
|
+
idTokenClaims,
|
|
136
|
+
performanceClient
|
|
136
137
|
);
|
|
137
138
|
|
|
138
139
|
const idToken = await invokeAsync(
|
|
@@ -231,7 +232,8 @@ async function loadAccount(
|
|
|
231
232
|
logger: Logger,
|
|
232
233
|
cryptoObj: ICrypto,
|
|
233
234
|
authority: Authority,
|
|
234
|
-
idTokenClaims?: TokenClaims
|
|
235
|
+
idTokenClaims?: TokenClaims,
|
|
236
|
+
performanceClient?: IPerformanceClient
|
|
235
237
|
): Promise<AccountEntity> {
|
|
236
238
|
logger.verbose("TokenCache - loading account", correlationId);
|
|
237
239
|
|
|
@@ -278,7 +280,8 @@ async function loadAccount(
|
|
|
278
280
|
claimsTenantId,
|
|
279
281
|
undefined, // authCodePayload
|
|
280
282
|
undefined, // nativeAccountId
|
|
281
|
-
logger
|
|
283
|
+
logger,
|
|
284
|
+
performanceClient
|
|
282
285
|
);
|
|
283
286
|
|
|
284
287
|
await storage.setAccount(
|
|
@@ -162,6 +162,14 @@ export type BrowserSystemOptions = SystemOptions & {
|
|
|
162
162
|
protocolMode?: ProtocolMode;
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
+
/** @internal */
|
|
166
|
+
export type BrowserExperimentalOptions = {
|
|
167
|
+
/**
|
|
168
|
+
* Enables iframe timeout telemetry experiment for silent iframe bridge monitoring.
|
|
169
|
+
*/
|
|
170
|
+
iframeTimeoutTelemetry?: boolean;
|
|
171
|
+
};
|
|
172
|
+
|
|
165
173
|
/**
|
|
166
174
|
* Telemetry Options
|
|
167
175
|
*/
|
|
@@ -192,6 +200,10 @@ export type Configuration = {
|
|
|
192
200
|
* This is where you can configure the network client, logger, token renewal offset
|
|
193
201
|
*/
|
|
194
202
|
system?: BrowserSystemOptions;
|
|
203
|
+
/**
|
|
204
|
+
* This is where you can configure experimental features. These do not follow semver and may be changed or removed without a major version bump. Use with caution.
|
|
205
|
+
*/
|
|
206
|
+
experimental?: BrowserExperimentalOptions;
|
|
195
207
|
/**
|
|
196
208
|
* This is where you can configure telemetry data and options
|
|
197
209
|
*/
|
|
@@ -203,6 +215,7 @@ export type BrowserConfiguration = {
|
|
|
203
215
|
auth: InternalAuthOptions;
|
|
204
216
|
cache: Required<CacheOptions>;
|
|
205
217
|
system: Required<BrowserSystemOptions>;
|
|
218
|
+
experimental: Required<BrowserExperimentalOptions>;
|
|
206
219
|
telemetry: Required<BrowserTelemetryOptions>;
|
|
207
220
|
};
|
|
208
221
|
|
|
@@ -220,6 +233,7 @@ export function buildConfiguration(
|
|
|
220
233
|
auth: userInputAuth,
|
|
221
234
|
cache: userInputCache,
|
|
222
235
|
system: userInputSystem,
|
|
236
|
+
experimental: userInputExperimental,
|
|
223
237
|
telemetry: userInputTelemetry,
|
|
224
238
|
}: Configuration,
|
|
225
239
|
isBrowserEnvironment: boolean
|
|
@@ -305,6 +319,10 @@ export function buildConfiguration(
|
|
|
305
319
|
client: new StubPerformanceClient(),
|
|
306
320
|
};
|
|
307
321
|
|
|
322
|
+
const DEFAULT_EXPERIMENTAL_OPTIONS: Required<BrowserExperimentalOptions> = {
|
|
323
|
+
iframeTimeoutTelemetry: false,
|
|
324
|
+
};
|
|
325
|
+
|
|
308
326
|
// Throw an error if user has set OIDCOptions without being in OIDC protocol mode
|
|
309
327
|
if (
|
|
310
328
|
userInputSystem?.protocolMode !== ProtocolMode.OIDC &&
|
|
@@ -343,6 +361,10 @@ export function buildConfiguration(
|
|
|
343
361
|
},
|
|
344
362
|
cache: { ...DEFAULT_CACHE_OPTIONS, ...userInputCache },
|
|
345
363
|
system: providedSystemOptions,
|
|
364
|
+
experimental: {
|
|
365
|
+
...DEFAULT_EXPERIMENTAL_OPTIONS,
|
|
366
|
+
...userInputExperimental,
|
|
367
|
+
},
|
|
346
368
|
telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...userInputTelemetry },
|
|
347
369
|
};
|
|
348
370
|
|
|
@@ -260,11 +260,11 @@ export class StandardController implements IController {
|
|
|
260
260
|
this.activeSilentTokenRequests = new Map();
|
|
261
261
|
|
|
262
262
|
// Register listener functions
|
|
263
|
-
this.
|
|
263
|
+
this.trackStateChange = this.trackStateChange.bind(this);
|
|
264
264
|
|
|
265
265
|
// Register listener functions
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
266
|
+
this.trackStateChangeWithMeasurement =
|
|
267
|
+
this.trackStateChangeWithMeasurement.bind(this);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
static async createController(
|
|
@@ -276,15 +276,39 @@ export class StandardController implements IController {
|
|
|
276
276
|
return controller;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
private
|
|
279
|
+
private trackStateChange(
|
|
280
|
+
correlationId: string | undefined,
|
|
281
|
+
event: Event
|
|
282
|
+
): void {
|
|
280
283
|
if (!correlationId) {
|
|
281
284
|
return;
|
|
282
285
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
|
|
287
|
+
if (event.type === "visibilitychange") {
|
|
288
|
+
this.logger.info("Perf: Visibility change detected", correlationId);
|
|
289
|
+
this.performanceClient.incrementFields(
|
|
290
|
+
{ visibilityChangeCount: 1 },
|
|
291
|
+
correlationId
|
|
292
|
+
);
|
|
293
|
+
} else if (event.type === "online") {
|
|
294
|
+
this.logger.info(
|
|
295
|
+
"Perf: Online status change detected",
|
|
296
|
+
correlationId
|
|
297
|
+
);
|
|
298
|
+
this.performanceClient.incrementFields(
|
|
299
|
+
{ onlineStatusChangeCount: 1 },
|
|
300
|
+
correlationId
|
|
301
|
+
);
|
|
302
|
+
} else if (event.type === "offline") {
|
|
303
|
+
this.logger.info(
|
|
304
|
+
"Perf: Offline status change detected",
|
|
305
|
+
correlationId
|
|
306
|
+
);
|
|
307
|
+
this.performanceClient.incrementFields(
|
|
308
|
+
{ onlineStatusChangeCount: 1 },
|
|
309
|
+
correlationId
|
|
310
|
+
);
|
|
311
|
+
}
|
|
288
312
|
}
|
|
289
313
|
|
|
290
314
|
/**
|
|
@@ -894,7 +918,7 @@ export class StandardController implements IController {
|
|
|
894
918
|
});
|
|
895
919
|
}
|
|
896
920
|
|
|
897
|
-
private
|
|
921
|
+
private trackStateChangeWithMeasurement(event: Event): void {
|
|
898
922
|
const measurement =
|
|
899
923
|
this.ssoSilentMeasurement ||
|
|
900
924
|
this.acquireTokenByCodeAsyncMeasurement;
|
|
@@ -902,9 +926,43 @@ export class StandardController implements IController {
|
|
|
902
926
|
return;
|
|
903
927
|
}
|
|
904
928
|
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
929
|
+
if (event.type === "visibilitychange") {
|
|
930
|
+
this.logger.info(
|
|
931
|
+
`Perf: Visibility change detected in '${measurement.event.name}'`,
|
|
932
|
+
measurement.event.correlationId
|
|
933
|
+
);
|
|
934
|
+
measurement.increment({
|
|
935
|
+
visibilityChangeCount: 1,
|
|
936
|
+
});
|
|
937
|
+
} else if (event.type === "online") {
|
|
938
|
+
this.logger.info(
|
|
939
|
+
`Perf: Online status change detected in '${measurement.event.name}'`,
|
|
940
|
+
measurement.event.correlationId
|
|
941
|
+
);
|
|
942
|
+
measurement.increment({
|
|
943
|
+
onlineStatusChangeCount: 1,
|
|
944
|
+
});
|
|
945
|
+
} else if (event.type === "offline") {
|
|
946
|
+
this.logger.info(
|
|
947
|
+
`Perf: Offline status change detected in '${measurement.event.name}'`,
|
|
948
|
+
measurement.event.correlationId
|
|
949
|
+
);
|
|
950
|
+
measurement.increment({
|
|
951
|
+
onlineStatusChangeCount: 1,
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
private addStateChangeListeners(listener: (event: Event) => void): void {
|
|
957
|
+
document.addEventListener("visibilitychange", listener);
|
|
958
|
+
window.addEventListener("online", listener);
|
|
959
|
+
window.addEventListener("offline", listener);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
private removeStateChangeListeners(listener: (event: Event) => void): void {
|
|
963
|
+
document.removeEventListener("visibilitychange", listener);
|
|
964
|
+
window.removeEventListener("online", listener);
|
|
965
|
+
window.removeEventListener("offline", listener);
|
|
908
966
|
}
|
|
909
967
|
// #endregion
|
|
910
968
|
|
|
@@ -948,12 +1006,10 @@ export class StandardController implements IController {
|
|
|
948
1006
|
);
|
|
949
1007
|
this.ssoSilentMeasurement?.increment({
|
|
950
1008
|
visibilityChangeCount: 0,
|
|
1009
|
+
onlineStatusChangeCount: 0,
|
|
951
1010
|
});
|
|
952
1011
|
|
|
953
|
-
|
|
954
|
-
"visibilitychange",
|
|
955
|
-
this.trackPageVisibilityWithMeasurement
|
|
956
|
-
);
|
|
1012
|
+
this.addStateChangeListeners(this.trackStateChangeWithMeasurement);
|
|
957
1013
|
|
|
958
1014
|
const loggedInAccounts = this.getAllAccounts();
|
|
959
1015
|
this.logger.verbose("ssoSilent called", correlationId);
|
|
@@ -1036,9 +1092,8 @@ export class StandardController implements IController {
|
|
|
1036
1092
|
throw e;
|
|
1037
1093
|
})
|
|
1038
1094
|
.finally(() => {
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
this.trackPageVisibilityWithMeasurement
|
|
1095
|
+
this.removeStateChangeListeners(
|
|
1096
|
+
this.trackStateChangeWithMeasurement
|
|
1042
1097
|
);
|
|
1043
1098
|
});
|
|
1044
1099
|
}
|
|
@@ -1209,11 +1264,9 @@ export class StandardController implements IController {
|
|
|
1209
1264
|
);
|
|
1210
1265
|
this.acquireTokenByCodeAsyncMeasurement?.increment({
|
|
1211
1266
|
visibilityChangeCount: 0,
|
|
1267
|
+
onlineStatusChangeCount: 0,
|
|
1212
1268
|
});
|
|
1213
|
-
|
|
1214
|
-
"visibilitychange",
|
|
1215
|
-
this.trackPageVisibilityWithMeasurement
|
|
1216
|
-
);
|
|
1269
|
+
this.addStateChangeListeners(this.trackStateChangeWithMeasurement);
|
|
1217
1270
|
const silentAuthCodeClient =
|
|
1218
1271
|
this.createSilentAuthCodeClient(correlationId);
|
|
1219
1272
|
const silentTokenResult = await silentAuthCodeClient
|
|
@@ -1236,9 +1289,8 @@ export class StandardController implements IController {
|
|
|
1236
1289
|
throw tokenRenewalError;
|
|
1237
1290
|
})
|
|
1238
1291
|
.finally(() => {
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
this.trackPageVisibilityWithMeasurement
|
|
1292
|
+
this.removeStateChangeListeners(
|
|
1293
|
+
this.trackStateChangeWithMeasurement
|
|
1242
1294
|
);
|
|
1243
1295
|
});
|
|
1244
1296
|
return silentTokenResult;
|
|
@@ -2012,8 +2064,8 @@ export class StandardController implements IController {
|
|
|
2012
2064
|
request: SilentRequest & { correlationId: string },
|
|
2013
2065
|
account: AccountInfo
|
|
2014
2066
|
): Promise<AuthenticationResult> {
|
|
2015
|
-
const
|
|
2016
|
-
this.
|
|
2067
|
+
const trackStateChange = (event: Event) =>
|
|
2068
|
+
this.trackStateChange(request.correlationId, event);
|
|
2017
2069
|
this.eventHandler.emitEvent(
|
|
2018
2070
|
EventType.ACQUIRE_TOKEN_START,
|
|
2019
2071
|
request.correlationId,
|
|
@@ -2023,12 +2075,12 @@ export class StandardController implements IController {
|
|
|
2023
2075
|
|
|
2024
2076
|
if (request.correlationId) {
|
|
2025
2077
|
this.performanceClient.incrementFields(
|
|
2026
|
-
{ visibilityChangeCount: 0 },
|
|
2078
|
+
{ visibilityChangeCount: 0, onlineStatusChangeCount: 0 },
|
|
2027
2079
|
request.correlationId
|
|
2028
2080
|
);
|
|
2029
2081
|
}
|
|
2030
2082
|
|
|
2031
|
-
|
|
2083
|
+
this.addStateChangeListeners(trackStateChange);
|
|
2032
2084
|
|
|
2033
2085
|
const silentRequest = await invokeAsync(
|
|
2034
2086
|
initializeSilentRequest,
|
|
@@ -2180,10 +2232,7 @@ export class StandardController implements IController {
|
|
|
2180
2232
|
throw tokenRenewalError;
|
|
2181
2233
|
})
|
|
2182
2234
|
.finally(() => {
|
|
2183
|
-
|
|
2184
|
-
"visibilitychange",
|
|
2185
|
-
trackPageVisibility
|
|
2186
|
-
);
|
|
2235
|
+
this.removeStateChangeListeners(trackStateChange);
|
|
2187
2236
|
});
|
|
2188
2237
|
}
|
|
2189
2238
|
|