@azure/msal-browser 4.29.0 → 4.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -25
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +23 -9
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +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/ControllerFactory.mjs +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 +55 -21
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +23 -9
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +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.mjs +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +4 -2
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +55 -21
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +5 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +15 -2
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +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.d.ts +10 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +5 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +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.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +5 -1
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +15 -2
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +10 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.d.ts +10 -0
- package/dist/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +18 -2
- package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +228 -109
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +228 -109
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.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/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- 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/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/utils/MsalFrameStatsUtils.d.ts +10 -0
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/lib/msal-browser.cjs +255 -111
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +255 -111
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +62 -62
- package/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.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/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts +1 -0
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/types/utils/MsalFrameStatsUtils.d.ts +10 -0
- package/lib/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +24 -13
- package/src/controllers/StandardController.ts +74 -41
- package/src/interaction_client/StandardInteractionClient.ts +12 -0
- package/src/interaction_handler/SilentHandler.ts +21 -1
- package/src/packageMetadata.ts +1 -1
- package/src/telemetry/BrowserPerformanceClient.ts +10 -0
- package/src/utils/MsalFrameStatsUtils.ts +27 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformAuthDOMHandler.d.ts","sourceRoot":"","sources":["../../../../src/broker/nativeBroker/PlatformAuthDOMHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EAGN,kBAAkB,EAErB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,mBAAmB,EAEtB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACH,oBA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MAAM,CAAC;IACzB,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;IAChD,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;gBAGrB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM;WAQZ,cAAc,CACvB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC;IA0B9C;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB,mBAAmB,IAAI,MAAM,GAAG,SAAS;IAIzC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAItC;;;;OAIG;IACG,WAAW,CACb,OAAO,EAAE,mBAAmB,GAC7B,OAAO,CAAC,oBAAoB,CAAC;IAsBhC,OAAO,CAAC,4BAA4B;IA0CpC,OAAO,CAAC,8BAA8B;IAiDtC,OAAO,CAAC,+BAA+B;IAsBvC,OAAO,CAAC,iBAAiB;CA4B5B"}
|
|
@@ -72,7 +72,7 @@ export declare class StandardController implements IController {
|
|
|
72
72
|
*/
|
|
73
73
|
constructor(operatingContext: StandardOperatingContext);
|
|
74
74
|
static createController(operatingContext: BaseOperatingContext, request?: InitializeApplicationRequest): Promise<IController>;
|
|
75
|
-
private
|
|
75
|
+
private trackStateChange;
|
|
76
76
|
/**
|
|
77
77
|
* Initializer function to perform async startup tasks such as connecting to WAM extension
|
|
78
78
|
* @param request {?InitializeApplicationRequest} correlation id
|
|
@@ -110,7 +110,9 @@ export declare class StandardController implements IController {
|
|
|
110
110
|
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
|
111
111
|
*/
|
|
112
112
|
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
|
113
|
-
private
|
|
113
|
+
private trackStateChangeWithMeasurement;
|
|
114
|
+
private addStateChangeListeners;
|
|
115
|
+
private removeStateChangeListeners;
|
|
114
116
|
/**
|
|
115
117
|
* SSO capability verification in the background.
|
|
116
118
|
* This method makes an iframe request to /authorize to verify SSO capability without calling /token.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardController.d.ts","sourceRoot":"","sources":["../../../src/controllers/StandardController.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,WAAW,EAEX,cAAc,EACd,MAAM,EACN,uBAAuB,EACvB,OAAO,EAIP,2BAA2B,EAC3B,kBAAkB,EAClB,eAAe,EASf,aAAa,EAKhB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,mBAAmB,EAEtB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,oBAAoB,EAAgB,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAEH,KAAK,EAEL,UAAU,EACV,iBAAiB,EAKpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAc,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,O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B,GAAG,IAAI;IAI9D;;OAEG;IACI,gBAAgB,IAAI,oBAAoB;IAI/C;;OAEG;IACI,oBAAoB,IAAI,kBAAkB;IAIjD;;OAEG;IACI,YAAY,IAAI,OAAO;IAI9B;;;;;;OAMG;IACH,SAAS,CAAC,uBAAuB,CAC7B,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GACnC,MAAM;IAkBT;;;;;;;;OAQG;IACG,aAAa,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAS7D;;;;;;OAMG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,oBAAoB,CAAC;IASjE;;;;;OAKG;IACG,kBAAkB,CACpB,OAAO,EAAE,aAAa,GACvB,OAAO,CAAC,oBAAoB,CAAC;IAsDhC;;;;;;OAMG;YACW,yBAAyB;IAsDvC;;;;;OAKG;cACa,uBAAuB,CACnC,OAAO,EAAE,aAAa,GAAG;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,EAClD,OAAO,EAAE,WAAW,GACrB,OAAO,CAAC,oBAAoB,CAAC;IA2KhC;;;;;OAKG;YACW,0BAA0B;IAuFxC;;;OAGG;YACW,oBAAoB;IAYlC;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,oBAAoB;CAuB/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EAEtB,uBAAuB,EACvB,mBAAmB,EAEnB,uBAAuB,EAIvB,WAAW,EACX,iBAAiB,EAIjB,UAAU,EACV,6BAA6B,EAC7B,SAAS,EACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAEH,eAAe,EAClB,MAAM,8BAA8B,CA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
|
1
|
+
{"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EAEtB,uBAAuB,EACvB,mBAAmB,EAEnB,uBAAuB,EAIvB,WAAW,EACX,iBAAiB,EAIjB,UAAU,EACV,6BAA6B,EAC7B,SAAS,EACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAEH,eAAe,EAClB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAOlE;;GAEG;AACH,8BAAsB,yBAA0B,SAAQ,qBAAqB;IACzE;;;OAGG;IACH,SAAS,CAAC,uBAAuB,CAC7B,aAAa,CAAC,EAAE,iBAAiB,GAClC,uBAAuB;IA+F1B;;;;OAIG;IACH,SAAS,CAAC,8BAA8B,CACpC,OAAO,EAAE,WAAW,GACrB,MAAM,GAAG,IAAI;IAmBhB;;;;;;;;;OASG;cACa,oBAAoB,CAAC,MAAM,EAAE;QACzC,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;KACzB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAoBpC;;;;;;;;;OASG;cACa,sBAAsB,CAAC,MAAM,EAAE;QAC3C,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;KACzB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAiEhC;;;;OAIG;cACa,8BAA8B,CAC1C,OAAO,EAAE,eAAe,GAAG,YAAY,GAAG,gBAAgB,EAC1D,eAAe,EAAE,eAAe,GACjC,OAAO,CAAC,6BAA6B,CAAC;CAgF5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentHandler.d.ts","sourceRoot":"","sources":["../../../src/interaction_handler/SilentHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,kBAAkB,EAIlB,kBAAkB,EAClB,SAAS,EACT,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AAKpC,OAAO,EACH,oBAAoB,EAEvB,MAAM,4BAA4B,CAAC;AAGpC;;;;GAIG;AACH,wBAAsB,mBAAmB,CACrC,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,MAAM,GAC3B,OAAO,CAAC,iBAAiB,CAAC,CA2B5B;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;AAED;;;;GAIG;AACH,wBAAsB,oBAAoB,CACtC,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,MAAM,EACf,wBAAwB,EAAE,MAAM,EAChC,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,kBAAkB,GACjC,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"SilentHandler.d.ts","sourceRoot":"","sources":["../../../src/interaction_handler/SilentHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,kBAAkB,EAIlB,kBAAkB,EAClB,SAAS,EACT,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AAKpC,OAAO,EACH,oBAAoB,EAEvB,MAAM,4BAA4B,CAAC;AAGpC;;;;GAIG;AACH,wBAAsB,mBAAmB,CACrC,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,MAAM,GAC3B,OAAO,CAAC,iBAAiB,CAAC,CA2B5B;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;AAED;;;;GAIG;AACH,wBAAsB,oBAAoB,CACtC,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,MAAM,EACf,wBAAwB,EAAE,MAAM,EAChC,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,kBAAkB,GACjC,OAAO,CAAC,MAAM,CAAC,CAmFjB"}
|
|
@@ -4,6 +4,7 @@ export declare class BrowserPerformanceClient extends PerformanceClient implemen
|
|
|
4
4
|
constructor(configuration: Configuration, intFields?: Set<string>, abbreviations?: Map<string, 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,EAEjB,iBAAiB,EAGpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"BrowserPerformanceClient.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,0BAA0B,EAC1B,kBAAkB,EAElB,iBAAiB,EAEjB,iBAAiB,EAGpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAkD3D,qBAAa,wBACT,SAAQ,iBACR,YAAW,kBAAkB;gBAGzB,aAAa,EAAE,aAAa,EAC5B,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,EACvB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;IAqBvC,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;IA8D7B;;;;;OAKG;IACH,eAAe,CACX,SAAS,EAAE,iBAAiB,EAC5B,aAAa,CAAC,EAAE,MAAM,GACvB,IAAI;IAuCP;;;;;;;;OAQG;IACH,mBAAmB,CACf,SAAS,EAAE,MAAM,EACjB,aAAa,CAAC,EAAE,MAAM,EACtB,SAAS,CAAC,EAAE,MAAM,EAClB,iBAAiB,CAAC,EAAE,OAAO,GAC5B,IAAI;CA+BV"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { InProgressPerformanceEvent, Logger } from "@azure/msal-common/browser";
|
|
2
|
+
interface NetworkConnection {
|
|
3
|
+
effectiveType?: string;
|
|
4
|
+
rtt?: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Get network information for telemetry purposes. This is only supported in Chromium-based browsers.
|
|
8
|
+
* @returns Network connection information, or an empty object if not available.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getNetworkInfo(): NetworkConnection;
|
|
2
11
|
export declare function collectInstanceStats(currentClientId: string, performanceEvent: InProgressPerformanceEvent, logger: Logger): void;
|
|
12
|
+
export {};
|
|
3
13
|
//# sourceMappingURL=MsalFrameStatsUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MsalFrameStatsUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/MsalFrameStatsUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,0BAA0B,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEhF,wBAAgB,oBAAoB,CAChC,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,0BAA0B,EAC5C,MAAM,EAAE,MAAM,GACf,IAAI,CAoBN"}
|
|
1
|
+
{"version":3,"file":"MsalFrameStatsUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/MsalFrameStatsUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,0BAA0B,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEhF,UAAU,iBAAiB;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI,iBAAiB,CAgBlD;AAED,wBAAgB,oBAAoB,CAChC,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,0BAA0B,EAC5C,MAAM,EAAE,MAAM,GACf,IAAI,CAoBN"}
|
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": "4.29.
|
|
13
|
+
"version": "4.29.1",
|
|
14
14
|
"description": "Microsoft Authentication Library for js",
|
|
15
15
|
"keywords": [
|
|
16
16
|
"implicit",
|
|
@@ -114,6 +114,6 @@
|
|
|
114
114
|
"typescript": "^4.9.5"
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@azure/msal-common": "15.
|
|
117
|
+
"@azure/msal-common": "15.16.1"
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -231,18 +231,29 @@ export class PlatformAuthDOMHandler implements IPlatformAuthHandler {
|
|
|
231
231
|
private getDOMExtraParams(
|
|
232
232
|
extraParameters: Record<string, unknown>
|
|
233
233
|
): DOMExtraParameters {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
234
|
+
try {
|
|
235
|
+
const stringifiedProperties: StringDict = {};
|
|
236
|
+
for (const [key, value] of Object.entries(extraParameters)) {
|
|
237
|
+
if (!value) {
|
|
238
|
+
continue;
|
|
239
|
+
}
|
|
240
|
+
if (typeof value === "object") {
|
|
241
|
+
stringifiedProperties[key] = JSON.stringify(value);
|
|
242
|
+
} else {
|
|
243
|
+
stringifiedProperties[key] = String(value);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return stringifiedProperties;
|
|
247
|
+
} catch (e) {
|
|
248
|
+
this.logger.error(
|
|
249
|
+
this.platformAuthType + " - Error stringifying extra parameters"
|
|
250
|
+
);
|
|
251
|
+
this.logger.errorPii(
|
|
252
|
+
this.platformAuthType +
|
|
253
|
+
" - Error stringifying extra parameters: " +
|
|
254
|
+
e
|
|
255
|
+
);
|
|
256
|
+
return {};
|
|
257
|
+
}
|
|
247
258
|
}
|
|
248
259
|
}
|
|
@@ -276,11 +276,8 @@ export class StandardController implements IController {
|
|
|
276
276
|
this.activeSilentTokenRequests = new Map();
|
|
277
277
|
|
|
278
278
|
// Register listener functions
|
|
279
|
-
this.
|
|
280
|
-
|
|
281
|
-
// Register listener functions
|
|
282
|
-
this.trackPageVisibilityWithMeasurement =
|
|
283
|
-
this.trackPageVisibilityWithMeasurement.bind(this);
|
|
279
|
+
this.trackStateChangeWithMeasurement =
|
|
280
|
+
this.trackStateChangeWithMeasurement.bind(this);
|
|
284
281
|
}
|
|
285
282
|
|
|
286
283
|
static async createController(
|
|
@@ -292,15 +289,30 @@ export class StandardController implements IController {
|
|
|
292
289
|
return controller;
|
|
293
290
|
}
|
|
294
291
|
|
|
295
|
-
private
|
|
292
|
+
private trackStateChange(correlationId: string, event: Event): void {
|
|
296
293
|
if (!correlationId) {
|
|
297
294
|
return;
|
|
298
295
|
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
296
|
+
|
|
297
|
+
if (event.type === "visibilitychange") {
|
|
298
|
+
this.logger.info("Perf: Visibility change detected");
|
|
299
|
+
this.performanceClient.incrementFields(
|
|
300
|
+
{ visibilityChangeCount: 1 },
|
|
301
|
+
correlationId
|
|
302
|
+
);
|
|
303
|
+
} else if (event.type === "online") {
|
|
304
|
+
this.logger.info("Perf: Online status change detected");
|
|
305
|
+
this.performanceClient.incrementFields(
|
|
306
|
+
{ onlineStatusChangeCount: 1 },
|
|
307
|
+
correlationId
|
|
308
|
+
);
|
|
309
|
+
} else if (event.type === "offline") {
|
|
310
|
+
this.logger.info("Perf: Offline status change detected");
|
|
311
|
+
this.performanceClient.incrementFields(
|
|
312
|
+
{ onlineStatusChangeCount: 1 },
|
|
313
|
+
correlationId
|
|
314
|
+
);
|
|
315
|
+
}
|
|
304
316
|
}
|
|
305
317
|
|
|
306
318
|
/**
|
|
@@ -978,7 +990,7 @@ export class StandardController implements IController {
|
|
|
978
990
|
});
|
|
979
991
|
}
|
|
980
992
|
|
|
981
|
-
private
|
|
993
|
+
private trackStateChangeWithMeasurement(event: Event): void {
|
|
982
994
|
const measurement =
|
|
983
995
|
this.ssoSilentMeasurement ||
|
|
984
996
|
this.acquireTokenByCodeAsyncMeasurement;
|
|
@@ -986,13 +998,43 @@ export class StandardController implements IController {
|
|
|
986
998
|
return;
|
|
987
999
|
}
|
|
988
1000
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1001
|
+
if (event.type === "visibilitychange") {
|
|
1002
|
+
this.logger.info(
|
|
1003
|
+
"Perf: Visibility change detected in ",
|
|
1004
|
+
measurement.event.name
|
|
1005
|
+
);
|
|
1006
|
+
measurement.increment({
|
|
1007
|
+
visibilityChangeCount: 1,
|
|
1008
|
+
});
|
|
1009
|
+
} else if (event.type === "online") {
|
|
1010
|
+
this.logger.info(
|
|
1011
|
+
"Perf: Online status change detected in ",
|
|
1012
|
+
measurement.event.name
|
|
1013
|
+
);
|
|
1014
|
+
measurement.increment({
|
|
1015
|
+
onlineStatusChangeCount: 1,
|
|
1016
|
+
});
|
|
1017
|
+
} else if (event.type === "offline") {
|
|
1018
|
+
this.logger.info(
|
|
1019
|
+
"Perf: Offline status change detected in ",
|
|
1020
|
+
measurement.event.name
|
|
1021
|
+
);
|
|
1022
|
+
measurement.increment({
|
|
1023
|
+
onlineStatusChangeCount: 1,
|
|
1024
|
+
});
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
private addStateChangeListeners(listener: (event: Event) => void): void {
|
|
1029
|
+
document.addEventListener("visibilitychange", listener);
|
|
1030
|
+
window.addEventListener("online", listener);
|
|
1031
|
+
window.addEventListener("offline", listener);
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
private removeStateChangeListeners(listener: (event: Event) => void): void {
|
|
1035
|
+
document.removeEventListener("visibilitychange", listener);
|
|
1036
|
+
window.removeEventListener("online", listener);
|
|
1037
|
+
window.removeEventListener("offline", listener);
|
|
996
1038
|
}
|
|
997
1039
|
|
|
998
1040
|
/**
|
|
@@ -1108,12 +1150,10 @@ export class StandardController implements IController {
|
|
|
1108
1150
|
);
|
|
1109
1151
|
this.ssoSilentMeasurement?.increment({
|
|
1110
1152
|
visibilityChangeCount: 0,
|
|
1153
|
+
onlineStatusChangeCount: 0,
|
|
1111
1154
|
});
|
|
1112
1155
|
|
|
1113
|
-
|
|
1114
|
-
"visibilitychange",
|
|
1115
|
-
this.trackPageVisibilityWithMeasurement
|
|
1116
|
-
);
|
|
1156
|
+
this.addStateChangeListeners(this.trackStateChangeWithMeasurement);
|
|
1117
1157
|
this.logger.verbose("ssoSilent called", correlationId);
|
|
1118
1158
|
this.eventHandler.emitEvent(
|
|
1119
1159
|
EventType.SSO_SILENT_START,
|
|
@@ -1187,9 +1227,8 @@ export class StandardController implements IController {
|
|
|
1187
1227
|
throw e;
|
|
1188
1228
|
})
|
|
1189
1229
|
.finally(() => {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
this.trackPageVisibilityWithMeasurement
|
|
1230
|
+
this.removeStateChangeListeners(
|
|
1231
|
+
this.trackStateChangeWithMeasurement
|
|
1193
1232
|
);
|
|
1194
1233
|
});
|
|
1195
1234
|
}
|
|
@@ -1364,11 +1403,9 @@ export class StandardController implements IController {
|
|
|
1364
1403
|
);
|
|
1365
1404
|
this.acquireTokenByCodeAsyncMeasurement?.increment({
|
|
1366
1405
|
visibilityChangeCount: 0,
|
|
1406
|
+
onlineStatusChangeCount: 0,
|
|
1367
1407
|
});
|
|
1368
|
-
|
|
1369
|
-
"visibilitychange",
|
|
1370
|
-
this.trackPageVisibilityWithMeasurement
|
|
1371
|
-
);
|
|
1408
|
+
this.addStateChangeListeners(this.trackStateChangeWithMeasurement);
|
|
1372
1409
|
const silentAuthCodeClient = this.createSilentAuthCodeClient(
|
|
1373
1410
|
request.correlationId
|
|
1374
1411
|
);
|
|
@@ -1391,9 +1428,8 @@ export class StandardController implements IController {
|
|
|
1391
1428
|
throw tokenRenewalError;
|
|
1392
1429
|
})
|
|
1393
1430
|
.finally(() => {
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
this.trackPageVisibilityWithMeasurement
|
|
1431
|
+
this.removeStateChangeListeners(
|
|
1432
|
+
this.trackStateChangeWithMeasurement
|
|
1397
1433
|
);
|
|
1398
1434
|
});
|
|
1399
1435
|
return silentTokenResult;
|
|
@@ -2288,8 +2324,8 @@ export class StandardController implements IController {
|
|
|
2288
2324
|
request: SilentRequest & { correlationId: string },
|
|
2289
2325
|
account: AccountInfo
|
|
2290
2326
|
): Promise<AuthenticationResult> {
|
|
2291
|
-
const
|
|
2292
|
-
this.
|
|
2327
|
+
const trackStateChange = (event: Event) =>
|
|
2328
|
+
this.trackStateChange(request.correlationId, event);
|
|
2293
2329
|
this.performanceClient.addQueueMeasurement(
|
|
2294
2330
|
PerformanceEvents.AcquireTokenSilentAsync,
|
|
2295
2331
|
request.correlationId
|
|
@@ -2303,12 +2339,12 @@ export class StandardController implements IController {
|
|
|
2303
2339
|
|
|
2304
2340
|
if (request.correlationId) {
|
|
2305
2341
|
this.performanceClient.incrementFields(
|
|
2306
|
-
{ visibilityChangeCount: 0 },
|
|
2342
|
+
{ visibilityChangeCount: 0, onlineStatusChangeCount: 0 },
|
|
2307
2343
|
request.correlationId
|
|
2308
2344
|
);
|
|
2309
2345
|
}
|
|
2310
2346
|
|
|
2311
|
-
|
|
2347
|
+
this.addStateChangeListeners(trackStateChange);
|
|
2312
2348
|
|
|
2313
2349
|
const silentRequest = await invokeAsync(
|
|
2314
2350
|
initializeSilentRequest,
|
|
@@ -2454,10 +2490,7 @@ export class StandardController implements IController {
|
|
|
2454
2490
|
throw tokenRenewalError;
|
|
2455
2491
|
})
|
|
2456
2492
|
.finally(() => {
|
|
2457
|
-
|
|
2458
|
-
"visibilitychange",
|
|
2459
|
-
trackPageVisibility
|
|
2460
|
-
);
|
|
2493
|
+
this.removeStateChangeListeners(trackStateChange);
|
|
2461
2494
|
});
|
|
2462
2495
|
}
|
|
2463
2496
|
|
|
@@ -305,6 +305,18 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
305
305
|
);
|
|
306
306
|
|
|
307
307
|
const redirectUri = this.getRedirectUri(request.redirectUri);
|
|
308
|
+
if (
|
|
309
|
+
new URL(redirectUri).origin !== new URL(window.location.href).origin
|
|
310
|
+
) {
|
|
311
|
+
this.logger.warning(
|
|
312
|
+
"The origin of the redirect URI does not match the origin of the current page. This is likely to cause issues with authentication.",
|
|
313
|
+
this.correlationId
|
|
314
|
+
);
|
|
315
|
+
this.performanceClient.addFields(
|
|
316
|
+
{ isRedirectUriCrossOrigin: true },
|
|
317
|
+
this.correlationId
|
|
318
|
+
);
|
|
319
|
+
}
|
|
308
320
|
const browserState: BrowserStateObject = {
|
|
309
321
|
interactionType: interactionType,
|
|
310
322
|
};
|
|
@@ -127,6 +127,16 @@ export async function monitorIframeForHash(
|
|
|
127
127
|
PerformanceEvents.SilentHandlerMonitorIframeForHash,
|
|
128
128
|
correlationId
|
|
129
129
|
);
|
|
130
|
+
performanceClient.addFields(
|
|
131
|
+
{
|
|
132
|
+
iframePollIntervalMs: pollIntervalMilliseconds,
|
|
133
|
+
iframeTimeoutMs: timeout,
|
|
134
|
+
},
|
|
135
|
+
correlationId
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
let totalTickCount = 0;
|
|
139
|
+
let crossOriginTickCount = 0;
|
|
130
140
|
|
|
131
141
|
return new Promise<string>((resolve, reject) => {
|
|
132
142
|
if (timeout < DEFAULT_IFRAME_TIMEOUT_MS) {
|
|
@@ -149,6 +159,7 @@ export async function monitorIframeForHash(
|
|
|
149
159
|
}, timeout);
|
|
150
160
|
|
|
151
161
|
const intervalId = window.setInterval(() => {
|
|
162
|
+
totalTickCount++;
|
|
152
163
|
let href: string = "";
|
|
153
164
|
const contentWindow = iframe.contentWindow;
|
|
154
165
|
try {
|
|
@@ -158,7 +169,9 @@ export async function monitorIframeForHash(
|
|
|
158
169
|
* since we need the interval to keep running while on STS UI.
|
|
159
170
|
*/
|
|
160
171
|
href = contentWindow ? contentWindow.location.href : "";
|
|
161
|
-
} catch (e) {
|
|
172
|
+
} catch (e) {
|
|
173
|
+
crossOriginTickCount++;
|
|
174
|
+
}
|
|
162
175
|
|
|
163
176
|
if (!href || href === "about:blank") {
|
|
164
177
|
return;
|
|
@@ -177,6 +190,13 @@ export async function monitorIframeForHash(
|
|
|
177
190
|
resolve(responseString);
|
|
178
191
|
}, pollIntervalMilliseconds);
|
|
179
192
|
}).finally(() => {
|
|
193
|
+
performanceClient.addFields(
|
|
194
|
+
{
|
|
195
|
+
iframeTickCount: totalTickCount,
|
|
196
|
+
crossOriginTickCount: crossOriginTickCount,
|
|
197
|
+
},
|
|
198
|
+
correlationId
|
|
199
|
+
);
|
|
180
200
|
invoke(
|
|
181
201
|
removeHiddenIframe,
|
|
182
202
|
PerformanceEvents.RemoveHiddenIframe,
|
package/src/packageMetadata.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { name, version } from "../packageMetadata.js";
|
|
|
20
20
|
import { BrowserCacheLocation } from "../utils/BrowserConstants.js";
|
|
21
21
|
import * as BrowserCrypto from "../crypto/BrowserCrypto.js";
|
|
22
22
|
import { BROWSER_PERF_ENABLED_KEY } from "../cache/CacheKeys.js";
|
|
23
|
+
import { getNetworkInfo } from "../utils/MsalFrameStatsUtils.js";
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
26
|
* Returns browser performance measurement module if session flag is enabled. Returns undefined otherwise.
|
|
@@ -100,6 +101,10 @@ export class BrowserPerformanceClient
|
|
|
100
101
|
return document.visibilityState?.toString() || null;
|
|
101
102
|
}
|
|
102
103
|
|
|
104
|
+
private getOnlineStatus(): boolean | null {
|
|
105
|
+
return typeof navigator !== "undefined" ? navigator.onLine : null;
|
|
106
|
+
}
|
|
107
|
+
|
|
103
108
|
private deleteIncompleteSubMeasurements(
|
|
104
109
|
inProgressEvent: InProgressPerformanceEvent
|
|
105
110
|
): void {
|
|
@@ -140,6 +145,7 @@ export class BrowserPerformanceClient
|
|
|
140
145
|
): InProgressPerformanceEvent {
|
|
141
146
|
// Capture page visibilityState and then invoke start/end measurement
|
|
142
147
|
const startPageVisibility = this.getPageVisibility();
|
|
148
|
+
const startOnlineStatus = this.getOnlineStatus();
|
|
143
149
|
const inProgressEvent = super.startMeasurement(
|
|
144
150
|
measureName,
|
|
145
151
|
correlationId
|
|
@@ -167,12 +173,16 @@ export class BrowserPerformanceClient
|
|
|
167
173
|
error?: unknown,
|
|
168
174
|
account?: AccountInfo
|
|
169
175
|
): PerformanceEvent | null => {
|
|
176
|
+
const networkInfo = getNetworkInfo();
|
|
170
177
|
const res = inProgressEvent.end(
|
|
171
178
|
{
|
|
172
179
|
...event,
|
|
173
180
|
startPageVisibility,
|
|
181
|
+
startOnlineStatus,
|
|
174
182
|
endPageVisibility: this.getPageVisibility(),
|
|
175
183
|
durationMs: getPerfDurationMs(startTime),
|
|
184
|
+
networkEffectiveType: networkInfo.effectiveType,
|
|
185
|
+
networkRtt: networkInfo.rtt,
|
|
176
186
|
},
|
|
177
187
|
error,
|
|
178
188
|
account
|
|
@@ -5,6 +5,33 @@
|
|
|
5
5
|
|
|
6
6
|
import { InProgressPerformanceEvent, Logger } from "@azure/msal-common/browser";
|
|
7
7
|
|
|
8
|
+
interface NetworkConnection {
|
|
9
|
+
effectiveType?: string;
|
|
10
|
+
rtt?: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Get network information for telemetry purposes. This is only supported in Chromium-based browsers.
|
|
15
|
+
* @returns Network connection information, or an empty object if not available.
|
|
16
|
+
*/
|
|
17
|
+
export function getNetworkInfo(): NetworkConnection {
|
|
18
|
+
if (typeof window === "undefined" || !window.navigator) {
|
|
19
|
+
return {};
|
|
20
|
+
}
|
|
21
|
+
const connection: NetworkConnection | undefined =
|
|
22
|
+
"connection" in window.navigator
|
|
23
|
+
? (
|
|
24
|
+
window.navigator as Navigator & {
|
|
25
|
+
connection: NetworkConnection;
|
|
26
|
+
}
|
|
27
|
+
).connection
|
|
28
|
+
: undefined;
|
|
29
|
+
return {
|
|
30
|
+
effectiveType: connection?.effectiveType,
|
|
31
|
+
rtt: connection?.rtt,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
8
35
|
export function collectInstanceStats(
|
|
9
36
|
currentClientId: string,
|
|
10
37
|
performanceEvent: InProgressPerformanceEvent,
|