@azure/msal-browser 4.23.0 → 4.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +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.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +15 -15
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +25 -51
- 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.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.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/NestedAppAuthController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +25 -51
- 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 +2 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +2 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +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.d.ts +2 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +11 -3
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +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/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +9 -2
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +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.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- 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 +2 -2
- 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.d.ts +2 -8
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +4 -26
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +2 -9
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- 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.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +3 -2
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +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.d.ts +7 -2
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +14 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +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/ApiRequestTypes.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +4 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +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.d.ts +4 -3
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +4 -5
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +13 -4
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +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.d.ts +8 -6
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +51 -29
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +9 -2
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +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.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +3 -2
- package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +3 -2
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +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.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +2 -1
- 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.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/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.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +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.d.ts.map +1 -1
- package/dist/error/NativeAuthError.mjs +3 -2
- package/dist/error/NativeAuthError.mjs.map +1 -1
- package/dist/error/NativeAuthErrorCodes.d.ts +1 -0
- package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +3 -2
- package/dist/error/NativeAuthErrorCodes.mjs.map +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.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +2 -1
- 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.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +3 -3
- 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.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +234 -215
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -0
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.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.map +1 -1
- package/lib/msal-browser.cjs +137 -136
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +137 -136
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +60 -60
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -0
- package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/controllers/NestedAppAuthController.ts +40 -23
- package/src/controllers/StandardController.ts +98 -79
- package/src/custom_auth/CustomAuthConstants.ts +1 -0
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +15 -2
- package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +9 -1
- package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +32 -0
- package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +59 -0
- package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +52 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +11 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +11 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +188 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +28 -0
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +1 -1
- package/src/custom_auth/core/interaction_client/jit/JitClient.ts +1 -42
- package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +0 -2
- package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +2 -22
- package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +148 -0
- package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +20 -0
- package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +48 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +27 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +6 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +6 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +1 -0
- package/src/custom_auth/core/telemetry/PublicApiId.ts +6 -3
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +22 -12
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +123 -41
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +15 -0
- package/src/error/NativeAuthError.ts +1 -0
- package/src/error/NativeAuthErrorCodes.ts +1 -0
- package/src/interaction_client/PlatformAuthInteractionClient.ts +1 -0
- package/src/packageMetadata.ts +1 -1
- package/src/telemetry/BrowserPerformanceClient.ts +5 -2
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.24.1 2025-09-30 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.
|
|
5
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -279,7 +279,7 @@ const JsonWebTokenTypes = {
|
|
|
279
279
|
// Token renewal offset default in seconds
|
|
280
280
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
281
281
|
|
|
282
|
-
/*! @azure/msal-common v15.
|
|
282
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
283
283
|
/*
|
|
284
284
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
285
285
|
* Licensed under the MIT License.
|
|
@@ -296,7 +296,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
296
296
|
unexpectedError: unexpectedError
|
|
297
297
|
});
|
|
298
298
|
|
|
299
|
-
/*! @azure/msal-common v15.
|
|
299
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
300
300
|
|
|
301
301
|
/*
|
|
302
302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -345,7 +345,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
345
345
|
: AuthErrorMessages[code]);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
/*! @azure/msal-common v15.
|
|
348
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
349
349
|
/*
|
|
350
350
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
351
351
|
* Licensed under the MIT License.
|
|
@@ -443,7 +443,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
443
443
|
userTimeoutReached: userTimeoutReached
|
|
444
444
|
});
|
|
445
445
|
|
|
446
|
-
/*! @azure/msal-common v15.
|
|
446
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
447
447
|
|
|
448
448
|
/*
|
|
449
449
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -695,7 +695,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
695
695
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
696
696
|
}
|
|
697
697
|
|
|
698
|
-
/*! @azure/msal-common v15.
|
|
698
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
699
699
|
|
|
700
700
|
/*
|
|
701
701
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -734,7 +734,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
734
734
|
},
|
|
735
735
|
};
|
|
736
736
|
|
|
737
|
-
/*! @azure/msal-common v15.
|
|
737
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
738
738
|
|
|
739
739
|
/*
|
|
740
740
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -925,12 +925,12 @@ class Logger {
|
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
/*! @azure/msal-common v15.
|
|
928
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
929
929
|
/* eslint-disable header/header */
|
|
930
930
|
const name$1 = "@azure/msal-common";
|
|
931
|
-
const version$1 = "15.
|
|
931
|
+
const version$1 = "15.13.0";
|
|
932
932
|
|
|
933
|
-
/*! @azure/msal-common v15.
|
|
933
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
934
934
|
/*
|
|
935
935
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
936
936
|
* Licensed under the MIT License.
|
|
@@ -950,7 +950,7 @@ const AzureCloudInstance = {
|
|
|
950
950
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
951
951
|
};
|
|
952
952
|
|
|
953
|
-
/*! @azure/msal-common v15.
|
|
953
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
954
954
|
/*
|
|
955
955
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
956
956
|
* Licensed under the MIT License.
|
|
@@ -1006,7 +1006,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1006
1006
|
urlParseError: urlParseError
|
|
1007
1007
|
});
|
|
1008
1008
|
|
|
1009
|
-
/*! @azure/msal-common v15.
|
|
1009
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1010
1010
|
|
|
1011
1011
|
/*
|
|
1012
1012
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1149,7 +1149,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1149
1149
|
return new ClientConfigurationError(errorCode);
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
|
-
/*! @azure/msal-common v15.
|
|
1152
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1153
1153
|
/*
|
|
1154
1154
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1155
1155
|
* Licensed under the MIT License.
|
|
@@ -1246,7 +1246,7 @@ class StringUtils {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
|
-
/*! @azure/msal-common v15.
|
|
1249
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1250
1250
|
|
|
1251
1251
|
/*
|
|
1252
1252
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1441,7 +1441,7 @@ class ScopeSet {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
/*! @azure/msal-common v15.
|
|
1444
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1445
1445
|
/*
|
|
1446
1446
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1447
1447
|
* Licensed under the MIT License.
|
|
@@ -1523,7 +1523,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1523
1523
|
return updatedAccountInfo;
|
|
1524
1524
|
}
|
|
1525
1525
|
|
|
1526
|
-
/*! @azure/msal-common v15.
|
|
1526
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1527
1527
|
|
|
1528
1528
|
/*
|
|
1529
1529
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1584,7 +1584,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
}
|
|
1586
1586
|
|
|
1587
|
-
/*! @azure/msal-common v15.
|
|
1587
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1588
1588
|
|
|
1589
1589
|
/*
|
|
1590
1590
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1700,7 +1700,7 @@ function normalizeUrlForComparison(url) {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
|
-
/*! @azure/msal-common v15.
|
|
1703
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1704
1704
|
|
|
1705
1705
|
/*
|
|
1706
1706
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1864,7 +1864,7 @@ class UrlString {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
}
|
|
1866
1866
|
|
|
1867
|
-
/*! @azure/msal-common v15.
|
|
1867
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
1868
1868
|
|
|
1869
1869
|
/*
|
|
1870
1870
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2003,7 +2003,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2003
2003
|
return null;
|
|
2004
2004
|
}
|
|
2005
2005
|
|
|
2006
|
-
/*! @azure/msal-common v15.
|
|
2006
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
2007
2007
|
/*
|
|
2008
2008
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2009
2009
|
* Licensed under the MIT License.
|
|
@@ -2011,7 +2011,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2011
2011
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2012
2012
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2013
2013
|
|
|
2014
|
-
/*! @azure/msal-common v15.
|
|
2014
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
2015
2015
|
|
|
2016
2016
|
/*
|
|
2017
2017
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2056,7 +2056,7 @@ function createCacheError(e) {
|
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
2058
2058
|
|
|
2059
|
-
/*! @azure/msal-common v15.
|
|
2059
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
2060
2060
|
|
|
2061
2061
|
/*
|
|
2062
2062
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3165,7 +3165,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3165
3165
|
}
|
|
3166
3166
|
}
|
|
3167
3167
|
|
|
3168
|
-
/*! @azure/msal-common v15.
|
|
3168
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3169
3169
|
/*
|
|
3170
3170
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3171
3171
|
* Licensed under the MIT License.
|
|
@@ -3189,7 +3189,7 @@ const ProtocolMode = {
|
|
|
3189
3189
|
EAR: "EAR",
|
|
3190
3190
|
};
|
|
3191
3191
|
|
|
3192
|
-
/*! @azure/msal-common v15.
|
|
3192
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3193
3193
|
/*
|
|
3194
3194
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3195
3195
|
* Licensed under the MIT License.
|
|
@@ -3711,7 +3711,7 @@ const IntFields = new Set([
|
|
|
3711
3711
|
"upgradedCacheCount",
|
|
3712
3712
|
]);
|
|
3713
3713
|
|
|
3714
|
-
/*! @azure/msal-common v15.
|
|
3714
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3715
3715
|
|
|
3716
3716
|
/*
|
|
3717
3717
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3790,7 +3790,7 @@ class StubPerformanceClient {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
}
|
|
3792
3792
|
|
|
3793
|
-
/*! @azure/msal-common v15.
|
|
3793
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3794
3794
|
|
|
3795
3795
|
/*
|
|
3796
3796
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3890,7 +3890,7 @@ function isOidcProtocolMode(config) {
|
|
|
3890
3890
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3891
3891
|
}
|
|
3892
3892
|
|
|
3893
|
-
/*! @azure/msal-common v15.
|
|
3893
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3894
3894
|
/*
|
|
3895
3895
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3896
3896
|
* Licensed under the MIT License.
|
|
@@ -3900,7 +3900,7 @@ const CcsCredentialType = {
|
|
|
3900
3900
|
UPN: "UPN",
|
|
3901
3901
|
};
|
|
3902
3902
|
|
|
3903
|
-
/*! @azure/msal-common v15.
|
|
3903
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3904
3904
|
|
|
3905
3905
|
/*
|
|
3906
3906
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3940,7 +3940,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
3940
3940
|
};
|
|
3941
3941
|
}
|
|
3942
3942
|
|
|
3943
|
-
/*! @azure/msal-common v15.
|
|
3943
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3944
3944
|
/*
|
|
3945
3945
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3946
3946
|
* Licensed under the MIT License.
|
|
@@ -3990,7 +3990,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
3990
3990
|
const EAR_JWK = "ear_jwk";
|
|
3991
3991
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
3992
3992
|
|
|
3993
|
-
/*! @azure/msal-common v15.
|
|
3993
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
3994
3994
|
|
|
3995
3995
|
/*
|
|
3996
3996
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4370,7 +4370,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
|
|
|
4370
4370
|
});
|
|
4371
4371
|
}
|
|
4372
4372
|
|
|
4373
|
-
/*! @azure/msal-common v15.
|
|
4373
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4374
4374
|
/*
|
|
4375
4375
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4376
4376
|
* Licensed under the MIT License.
|
|
@@ -4385,7 +4385,7 @@ const AuthorityType = {
|
|
|
4385
4385
|
Ciam: 3,
|
|
4386
4386
|
};
|
|
4387
4387
|
|
|
4388
|
-
/*! @azure/msal-common v15.
|
|
4388
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4389
4389
|
/*
|
|
4390
4390
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4391
4391
|
* Licensed under the MIT License.
|
|
@@ -4397,7 +4397,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4397
4397
|
response.hasOwnProperty("jwks_uri"));
|
|
4398
4398
|
}
|
|
4399
4399
|
|
|
4400
|
-
/*! @azure/msal-common v15.
|
|
4400
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4401
4401
|
/*
|
|
4402
4402
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4403
4403
|
* Licensed under the MIT License.
|
|
@@ -4407,7 +4407,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4407
4407
|
response.hasOwnProperty("metadata"));
|
|
4408
4408
|
}
|
|
4409
4409
|
|
|
4410
|
-
/*! @azure/msal-common v15.
|
|
4410
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4411
4411
|
/*
|
|
4412
4412
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4413
4413
|
* Licensed under the MIT License.
|
|
@@ -4417,7 +4417,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4417
4417
|
response.hasOwnProperty("error_description"));
|
|
4418
4418
|
}
|
|
4419
4419
|
|
|
4420
|
-
/*! @azure/msal-common v15.
|
|
4420
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4421
4421
|
/*
|
|
4422
4422
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4423
4423
|
* Licensed under the MIT License.
|
|
@@ -4513,7 +4513,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4513
4513
|
};
|
|
4514
4514
|
};
|
|
4515
4515
|
|
|
4516
|
-
/*! @azure/msal-common v15.
|
|
4516
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4517
4517
|
|
|
4518
4518
|
/*
|
|
4519
4519
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4619,7 +4619,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
4619
4619
|
},
|
|
4620
4620
|
};
|
|
4621
4621
|
|
|
4622
|
-
/*! @azure/msal-common v15.
|
|
4622
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4623
4623
|
/*
|
|
4624
4624
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4625
4625
|
* Licensed under the MIT License.
|
|
@@ -4684,7 +4684,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
4684
4684
|
return cachedAtSec > nowSeconds();
|
|
4685
4685
|
}
|
|
4686
4686
|
|
|
4687
|
-
/*! @azure/msal-common v15.
|
|
4687
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4688
4688
|
|
|
4689
4689
|
/*
|
|
4690
4690
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4946,7 +4946,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4946
4946
|
return metadata.expiresAt <= nowSeconds();
|
|
4947
4947
|
}
|
|
4948
4948
|
|
|
4949
|
-
/*! @azure/msal-common v15.
|
|
4949
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
4950
4950
|
|
|
4951
4951
|
/*
|
|
4952
4952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5785,7 +5785,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
|
|
5788
|
-
/*! @azure/msal-common v15.
|
|
5788
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
5789
5789
|
|
|
5790
5790
|
/*
|
|
5791
5791
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5816,7 +5816,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
5816
5816
|
}
|
|
5817
5817
|
}
|
|
5818
5818
|
|
|
5819
|
-
/*! @azure/msal-common v15.
|
|
5819
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
5820
5820
|
|
|
5821
5821
|
/*
|
|
5822
5822
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5835,7 +5835,7 @@ class ServerError extends AuthError {
|
|
|
5835
5835
|
}
|
|
5836
5836
|
}
|
|
5837
5837
|
|
|
5838
|
-
/*! @azure/msal-common v15.
|
|
5838
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
5839
5839
|
/*
|
|
5840
5840
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5841
5841
|
* Licensed under the MIT License.
|
|
@@ -5856,7 +5856,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5856
5856
|
};
|
|
5857
5857
|
}
|
|
5858
5858
|
|
|
5859
|
-
/*! @azure/msal-common v15.
|
|
5859
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
5860
5860
|
|
|
5861
5861
|
/*
|
|
5862
5862
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5943,7 +5943,7 @@ class ThrottlingUtils {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
}
|
|
5945
5945
|
|
|
5946
|
-
/*! @azure/msal-common v15.
|
|
5946
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
5947
5947
|
|
|
5948
5948
|
/*
|
|
5949
5949
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5974,7 +5974,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5974
5974
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5975
5975
|
}
|
|
5976
5976
|
|
|
5977
|
-
/*! @azure/msal-common v15.
|
|
5977
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
5978
5978
|
|
|
5979
5979
|
/*
|
|
5980
5980
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6122,7 +6122,7 @@ class BaseClient {
|
|
|
6122
6122
|
}
|
|
6123
6123
|
}
|
|
6124
6124
|
|
|
6125
|
-
/*! @azure/msal-common v15.
|
|
6125
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6126
6126
|
/*
|
|
6127
6127
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6128
6128
|
* Licensed under the MIT License.
|
|
@@ -6144,7 +6144,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
6144
6144
|
return null;
|
|
6145
6145
|
}
|
|
6146
6146
|
|
|
6147
|
-
/*! @azure/msal-common v15.
|
|
6147
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6148
6148
|
|
|
6149
6149
|
/*
|
|
6150
6150
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6192,6 +6192,7 @@ class AccountEntity {
|
|
|
6192
6192
|
tenantProfiles: new Map((this.tenantProfiles || []).map((tenantProfile) => {
|
|
6193
6193
|
return [tenantProfile.tenantId, tenantProfile];
|
|
6194
6194
|
})),
|
|
6195
|
+
dataBoundary: this.dataBoundary,
|
|
6195
6196
|
};
|
|
6196
6197
|
}
|
|
6197
6198
|
/**
|
|
@@ -6218,6 +6219,10 @@ class AccountEntity {
|
|
|
6218
6219
|
let clientInfo;
|
|
6219
6220
|
if (accountDetails.clientInfo && base64Decode) {
|
|
6220
6221
|
clientInfo = buildClientInfo(accountDetails.clientInfo, base64Decode);
|
|
6222
|
+
if (clientInfo.xms_tdbr) {
|
|
6223
|
+
account.dataBoundary =
|
|
6224
|
+
clientInfo.xms_tdbr === "EU" ? "EU" : "None";
|
|
6225
|
+
}
|
|
6221
6226
|
}
|
|
6222
6227
|
account.clientInfo = accountDetails.clientInfo;
|
|
6223
6228
|
account.homeAccountId = accountDetails.homeAccountId;
|
|
@@ -6286,6 +6291,7 @@ class AccountEntity {
|
|
|
6286
6291
|
account.msGraphHost = msGraphHost;
|
|
6287
6292
|
// Serialize tenant profiles map into an array
|
|
6288
6293
|
account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
|
|
6294
|
+
account.dataBoundary = accountInfo.dataBoundary;
|
|
6289
6295
|
return account;
|
|
6290
6296
|
}
|
|
6291
6297
|
/**
|
|
@@ -6359,7 +6365,7 @@ class AccountEntity {
|
|
|
6359
6365
|
}
|
|
6360
6366
|
}
|
|
6361
6367
|
|
|
6362
|
-
/*! @azure/msal-common v15.
|
|
6368
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6363
6369
|
/*
|
|
6364
6370
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6365
6371
|
* Licensed under the MIT License.
|
|
@@ -6387,7 +6393,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6387
6393
|
uxNotAllowed: uxNotAllowed
|
|
6388
6394
|
});
|
|
6389
6395
|
|
|
6390
|
-
/*! @azure/msal-common v15.
|
|
6396
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6391
6397
|
|
|
6392
6398
|
/*
|
|
6393
6399
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6477,7 +6483,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6477
6483
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6478
6484
|
}
|
|
6479
6485
|
|
|
6480
|
-
/*! @azure/msal-common v15.
|
|
6486
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6481
6487
|
|
|
6482
6488
|
/*
|
|
6483
6489
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6549,7 +6555,7 @@ class ProtocolUtils {
|
|
|
6549
6555
|
}
|
|
6550
6556
|
}
|
|
6551
6557
|
|
|
6552
|
-
/*! @azure/msal-common v15.
|
|
6558
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6553
6559
|
|
|
6554
6560
|
/*
|
|
6555
6561
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6631,7 +6637,7 @@ class PopTokenGenerator {
|
|
|
6631
6637
|
}
|
|
6632
6638
|
}
|
|
6633
6639
|
|
|
6634
|
-
/*! @azure/msal-common v15.
|
|
6640
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6635
6641
|
/*
|
|
6636
6642
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6637
6643
|
* Licensed under the MIT License.
|
|
@@ -6658,7 +6664,7 @@ class PopTokenGenerator {
|
|
|
6658
6664
|
}
|
|
6659
6665
|
}
|
|
6660
6666
|
|
|
6661
|
-
/*! @azure/msal-common v15.
|
|
6667
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6662
6668
|
|
|
6663
6669
|
/*
|
|
6664
6670
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6989,7 +6995,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6989
6995
|
return baseAccount;
|
|
6990
6996
|
}
|
|
6991
6997
|
|
|
6992
|
-
/*! @azure/msal-common v15.
|
|
6998
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
6993
6999
|
/*
|
|
6994
7000
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6995
7001
|
* Licensed under the MIT License.
|
|
@@ -7007,7 +7013,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7007
7013
|
}
|
|
7008
7014
|
}
|
|
7009
7015
|
|
|
7010
|
-
/*! @azure/msal-common v15.
|
|
7016
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
7011
7017
|
|
|
7012
7018
|
/*
|
|
7013
7019
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7242,7 +7248,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7242
7248
|
}
|
|
7243
7249
|
}
|
|
7244
7250
|
|
|
7245
|
-
/*! @azure/msal-common v15.
|
|
7251
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
7246
7252
|
|
|
7247
7253
|
/*
|
|
7248
7254
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7451,7 +7457,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7451
7457
|
}
|
|
7452
7458
|
}
|
|
7453
7459
|
|
|
7454
|
-
/*! @azure/msal-common v15.
|
|
7460
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
7455
7461
|
|
|
7456
7462
|
/*
|
|
7457
7463
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7549,7 +7555,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7549
7555
|
}
|
|
7550
7556
|
}
|
|
7551
7557
|
|
|
7552
|
-
/*! @azure/msal-common v15.
|
|
7558
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
7553
7559
|
|
|
7554
7560
|
/*
|
|
7555
7561
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7564,7 +7570,7 @@ const StubbedNetworkModule = {
|
|
|
7564
7570
|
},
|
|
7565
7571
|
};
|
|
7566
7572
|
|
|
7567
|
-
/*! @azure/msal-common v15.
|
|
7573
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
7568
7574
|
|
|
7569
7575
|
/*
|
|
7570
7576
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7788,7 +7794,7 @@ function extractLoginHint(account) {
|
|
|
7788
7794
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7789
7795
|
}
|
|
7790
7796
|
|
|
7791
|
-
/*! @azure/msal-common v15.
|
|
7797
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
7792
7798
|
|
|
7793
7799
|
/*
|
|
7794
7800
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7846,7 +7852,7 @@ class AuthenticationHeaderParser {
|
|
|
7846
7852
|
}
|
|
7847
7853
|
}
|
|
7848
7854
|
|
|
7849
|
-
/*! @azure/msal-common v15.
|
|
7855
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
7850
7856
|
|
|
7851
7857
|
/*
|
|
7852
7858
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8109,7 +8115,7 @@ class ServerTelemetryManager {
|
|
|
8109
8115
|
}
|
|
8110
8116
|
}
|
|
8111
8117
|
|
|
8112
|
-
/*! @azure/msal-common v15.
|
|
8118
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
8113
8119
|
/*
|
|
8114
8120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8115
8121
|
* Licensed under the MIT License.
|
|
@@ -8117,7 +8123,7 @@ class ServerTelemetryManager {
|
|
|
8117
8123
|
const missingKidError = "missing_kid_error";
|
|
8118
8124
|
const missingAlgError = "missing_alg_error";
|
|
8119
8125
|
|
|
8120
|
-
/*! @azure/msal-common v15.
|
|
8126
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
8121
8127
|
|
|
8122
8128
|
/*
|
|
8123
8129
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8142,7 +8148,7 @@ function createJoseHeaderError(code) {
|
|
|
8142
8148
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8143
8149
|
}
|
|
8144
8150
|
|
|
8145
|
-
/*! @azure/msal-common v15.
|
|
8151
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
8146
8152
|
|
|
8147
8153
|
/*
|
|
8148
8154
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8182,7 +8188,7 @@ class JoseHeader {
|
|
|
8182
8188
|
}
|
|
8183
8189
|
}
|
|
8184
8190
|
|
|
8185
|
-
/*! @azure/msal-common v15.
|
|
8191
|
+
/*! @azure/msal-common v15.13.0 2025-09-30 */
|
|
8186
8192
|
|
|
8187
8193
|
/*
|
|
8188
8194
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8364,6 +8370,19 @@ function compactStackLine(line) {
|
|
|
8364
8370
|
}
|
|
8365
8371
|
return line.trimStart();
|
|
8366
8372
|
}
|
|
8373
|
+
function getAccountType(account) {
|
|
8374
|
+
const idTokenClaims = account?.idTokenClaims;
|
|
8375
|
+
if (idTokenClaims?.tfp || idTokenClaims?.acr) {
|
|
8376
|
+
return "B2C";
|
|
8377
|
+
}
|
|
8378
|
+
if (!idTokenClaims?.tid) {
|
|
8379
|
+
return undefined;
|
|
8380
|
+
}
|
|
8381
|
+
else if (idTokenClaims?.tid === "9188040d-6c67-4c5b-b112-36a304b66dad") {
|
|
8382
|
+
return "MSA";
|
|
8383
|
+
}
|
|
8384
|
+
return "AAD";
|
|
8385
|
+
}
|
|
8367
8386
|
class PerformanceClient {
|
|
8368
8387
|
/**
|
|
8369
8388
|
* Creates an instance of PerformanceClient,
|
|
@@ -8531,13 +8550,13 @@ class PerformanceClient {
|
|
|
8531
8550
|
startContext(inProgressEvent, this.abbreviations, this.eventStack.get(eventCorrelationId));
|
|
8532
8551
|
// Return the event and functions the caller can use to properly end/flush the measurement
|
|
8533
8552
|
return {
|
|
8534
|
-
end: (event, error) => {
|
|
8553
|
+
end: (event, error, account) => {
|
|
8535
8554
|
return this.endMeasurement({
|
|
8536
8555
|
// Initial set of event properties
|
|
8537
8556
|
...inProgressEvent,
|
|
8538
8557
|
// Properties set when event ends
|
|
8539
8558
|
...event,
|
|
8540
|
-
}, error);
|
|
8559
|
+
}, error, account);
|
|
8541
8560
|
},
|
|
8542
8561
|
discard: () => {
|
|
8543
8562
|
return this.discardMeasurements(inProgressEvent.correlationId);
|
|
@@ -8560,9 +8579,10 @@ class PerformanceClient {
|
|
|
8560
8579
|
*
|
|
8561
8580
|
* @param {PerformanceEvent} event
|
|
8562
8581
|
* @param {unknown} error
|
|
8582
|
+
* @param {AccountInfo?} account
|
|
8563
8583
|
* @returns {(PerformanceEvent | null)}
|
|
8564
8584
|
*/
|
|
8565
|
-
endMeasurement(event, error) {
|
|
8585
|
+
endMeasurement(event, error, account) {
|
|
8566
8586
|
const rootEvent = this.eventsByCorrelationId.get(event.correlationId);
|
|
8567
8587
|
if (!rootEvent) {
|
|
8568
8588
|
this.logger.trace(`PerformanceClient: Measurement not found for ${event.eventId}`, event.correlationId);
|
|
@@ -8616,6 +8636,10 @@ class PerformanceClient {
|
|
|
8616
8636
|
incompleteSubsCount,
|
|
8617
8637
|
context,
|
|
8618
8638
|
};
|
|
8639
|
+
if (account) {
|
|
8640
|
+
finalEvent.accountType = getAccountType(account);
|
|
8641
|
+
finalEvent.dataBoundary = account.dataBoundary;
|
|
8642
|
+
}
|
|
8619
8643
|
this.truncateIntegralFields(finalEvent);
|
|
8620
8644
|
this.emitEvents([finalEvent], event.correlationId);
|
|
8621
8645
|
return finalEvent;
|
|
@@ -10280,7 +10304,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
10280
10304
|
|
|
10281
10305
|
/* eslint-disable header/header */
|
|
10282
10306
|
const name = "@azure/msal-browser";
|
|
10283
|
-
const version = "4.
|
|
10307
|
+
const version = "4.24.1";
|
|
10284
10308
|
|
|
10285
10309
|
/*
|
|
10286
10310
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -13671,6 +13695,7 @@ class InteractionHandler {
|
|
|
13671
13695
|
* Licensed under the MIT License.
|
|
13672
13696
|
*/
|
|
13673
13697
|
const contentError = "ContentError";
|
|
13698
|
+
const pageException = "PageException";
|
|
13674
13699
|
const userSwitch = "user_switch";
|
|
13675
13700
|
|
|
13676
13701
|
/*
|
|
@@ -13717,6 +13742,7 @@ function isFatalNativeAuthError(error) {
|
|
|
13717
13742
|
}
|
|
13718
13743
|
switch (error.errorCode) {
|
|
13719
13744
|
case contentError:
|
|
13745
|
+
case pageException:
|
|
13720
13746
|
return true;
|
|
13721
13747
|
default:
|
|
13722
13748
|
return false;
|
|
@@ -14376,6 +14402,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
14376
14402
|
case PromptValue.NONE:
|
|
14377
14403
|
case PromptValue.CONSENT:
|
|
14378
14404
|
case PromptValue.LOGIN:
|
|
14405
|
+
case PromptValue.SELECT_ACCOUNT:
|
|
14379
14406
|
this.logger.trace("initializeNativeRequest: prompt is compatible with native flow");
|
|
14380
14407
|
return prompt;
|
|
14381
14408
|
default:
|
|
@@ -16759,25 +16786,12 @@ function collectInstanceStats(currentClientId, performanceEvent, logger) {
|
|
|
16759
16786
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
16760
16787
|
* Licensed under the MIT License.
|
|
16761
16788
|
*/
|
|
16762
|
-
function
|
|
16763
|
-
const idTokenClaims = account?.idTokenClaims;
|
|
16764
|
-
if (idTokenClaims?.tfp || idTokenClaims?.acr) {
|
|
16765
|
-
return "B2C";
|
|
16766
|
-
}
|
|
16767
|
-
if (!idTokenClaims?.tid) {
|
|
16768
|
-
return undefined;
|
|
16769
|
-
}
|
|
16770
|
-
else if (idTokenClaims?.tid === "9188040d-6c67-4c5b-b112-36a304b66dad") {
|
|
16771
|
-
return "MSA";
|
|
16772
|
-
}
|
|
16773
|
-
return "AAD";
|
|
16774
|
-
}
|
|
16775
|
-
function preflightCheck(initialized, performanceEvent) {
|
|
16789
|
+
function preflightCheck(initialized, performanceEvent, account) {
|
|
16776
16790
|
try {
|
|
16777
16791
|
preflightCheck$1(initialized);
|
|
16778
16792
|
}
|
|
16779
16793
|
catch (e) {
|
|
16780
|
-
performanceEvent.end({ success: false }, e);
|
|
16794
|
+
performanceEvent.end({ success: false }, e, account);
|
|
16781
16795
|
throw e;
|
|
16782
16796
|
}
|
|
16783
16797
|
}
|
|
@@ -17008,8 +17022,7 @@ class StandardController {
|
|
|
17008
17022
|
}
|
|
17009
17023
|
rootMeasurement.end({
|
|
17010
17024
|
success: true,
|
|
17011
|
-
|
|
17012
|
-
});
|
|
17025
|
+
}, undefined, result.account);
|
|
17013
17026
|
}
|
|
17014
17027
|
else {
|
|
17015
17028
|
/*
|
|
@@ -17017,7 +17030,7 @@ class StandardController {
|
|
|
17017
17030
|
* is empty and the error code is missing.
|
|
17018
17031
|
*/
|
|
17019
17032
|
if (rootMeasurement.event.errorCode) {
|
|
17020
|
-
rootMeasurement.end({ success: false });
|
|
17033
|
+
rootMeasurement.end({ success: false }, undefined);
|
|
17021
17034
|
}
|
|
17022
17035
|
else {
|
|
17023
17036
|
rootMeasurement.discard();
|
|
@@ -17058,7 +17071,6 @@ class StandardController {
|
|
|
17058
17071
|
this.logger.verbose("acquireTokenRedirect called", correlationId);
|
|
17059
17072
|
const atrMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPreRedirect, correlationId);
|
|
17060
17073
|
atrMeasurement.add({
|
|
17061
|
-
accountType: getAccountType(request.account),
|
|
17062
17074
|
scenarioId: request.scenarioId,
|
|
17063
17075
|
});
|
|
17064
17076
|
// Override on request only if set, as onRedirectNavigate field is deprecated
|
|
@@ -17072,8 +17084,7 @@ class StandardController {
|
|
|
17072
17084
|
navigateCallbackResult: navigate !== false,
|
|
17073
17085
|
});
|
|
17074
17086
|
atrMeasurement.event =
|
|
17075
|
-
atrMeasurement.end({ success: true }) ||
|
|
17076
|
-
atrMeasurement.event;
|
|
17087
|
+
atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
|
|
17077
17088
|
return navigate;
|
|
17078
17089
|
};
|
|
17079
17090
|
}
|
|
@@ -17087,8 +17098,7 @@ class StandardController {
|
|
|
17087
17098
|
navigateCallbackResult: navigate !== false,
|
|
17088
17099
|
});
|
|
17089
17100
|
atrMeasurement.event =
|
|
17090
|
-
atrMeasurement.end({ success: true }) ||
|
|
17091
|
-
atrMeasurement.event;
|
|
17101
|
+
atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
|
|
17092
17102
|
return navigate;
|
|
17093
17103
|
};
|
|
17094
17104
|
}
|
|
@@ -17143,10 +17153,10 @@ class StandardController {
|
|
|
17143
17153
|
if (atrMeasurement.event.status === 2) {
|
|
17144
17154
|
this.performanceClient
|
|
17145
17155
|
.startMeasurement(PerformanceEvents.AcquireTokenRedirect, correlationId)
|
|
17146
|
-
.end({ success: false }, e);
|
|
17156
|
+
.end({ success: false }, e, request.account);
|
|
17147
17157
|
}
|
|
17148
17158
|
else {
|
|
17149
|
-
atrMeasurement.end({ success: false }, e);
|
|
17159
|
+
atrMeasurement.end({ success: false }, e, request.account);
|
|
17150
17160
|
}
|
|
17151
17161
|
if (isLoggedIn) {
|
|
17152
17162
|
this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Redirect, null, e);
|
|
@@ -17171,11 +17181,10 @@ class StandardController {
|
|
|
17171
17181
|
const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, correlationId);
|
|
17172
17182
|
atPopupMeasurement.add({
|
|
17173
17183
|
scenarioId: request.scenarioId,
|
|
17174
|
-
accountType: getAccountType(request.account),
|
|
17175
17184
|
});
|
|
17176
17185
|
try {
|
|
17177
17186
|
this.logger.verbose("acquireTokenPopup called", correlationId);
|
|
17178
|
-
preflightCheck(this.initialized, atPopupMeasurement);
|
|
17187
|
+
preflightCheck(this.initialized, atPopupMeasurement, request.account);
|
|
17179
17188
|
this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
|
|
17180
17189
|
}
|
|
17181
17190
|
catch (e) {
|
|
@@ -17203,8 +17212,7 @@ class StandardController {
|
|
|
17203
17212
|
.then((response) => {
|
|
17204
17213
|
atPopupMeasurement.end({
|
|
17205
17214
|
success: true,
|
|
17206
|
-
|
|
17207
|
-
});
|
|
17215
|
+
}, undefined, response.account);
|
|
17208
17216
|
return response;
|
|
17209
17217
|
})
|
|
17210
17218
|
.catch((e) => {
|
|
@@ -17246,8 +17254,7 @@ class StandardController {
|
|
|
17246
17254
|
success: true,
|
|
17247
17255
|
accessTokenSize: result.accessToken.length,
|
|
17248
17256
|
idTokenSize: result.idToken.length,
|
|
17249
|
-
|
|
17250
|
-
});
|
|
17257
|
+
}, undefined, result.account);
|
|
17251
17258
|
return result;
|
|
17252
17259
|
})
|
|
17253
17260
|
.catch((e) => {
|
|
@@ -17259,7 +17266,7 @@ class StandardController {
|
|
|
17259
17266
|
}
|
|
17260
17267
|
atPopupMeasurement.end({
|
|
17261
17268
|
success: false,
|
|
17262
|
-
}, e);
|
|
17269
|
+
}, e, request.account);
|
|
17263
17270
|
// Since this function is syncronous we need to reject
|
|
17264
17271
|
return Promise.reject(e);
|
|
17265
17272
|
})
|
|
@@ -17309,9 +17316,8 @@ class StandardController {
|
|
|
17309
17316
|
this.ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, correlationId);
|
|
17310
17317
|
this.ssoSilentMeasurement?.add({
|
|
17311
17318
|
scenarioId: request.scenarioId,
|
|
17312
|
-
accountType: getAccountType(request.account),
|
|
17313
17319
|
});
|
|
17314
|
-
preflightCheck(this.initialized, this.ssoSilentMeasurement);
|
|
17320
|
+
preflightCheck(this.initialized, this.ssoSilentMeasurement, request.account);
|
|
17315
17321
|
this.ssoSilentMeasurement?.increment({
|
|
17316
17322
|
visibilityChangeCount: 0,
|
|
17317
17323
|
});
|
|
@@ -17348,15 +17354,14 @@ class StandardController {
|
|
|
17348
17354
|
success: true,
|
|
17349
17355
|
accessTokenSize: response.accessToken.length,
|
|
17350
17356
|
idTokenSize: response.idToken.length,
|
|
17351
|
-
|
|
17352
|
-
});
|
|
17357
|
+
}, undefined, response.account);
|
|
17353
17358
|
return response;
|
|
17354
17359
|
})
|
|
17355
17360
|
.catch((e) => {
|
|
17356
17361
|
this.eventHandler.emitEvent(EventType.SSO_SILENT_FAILURE, exports.InteractionType.Silent, null, e);
|
|
17357
17362
|
this.ssoSilentMeasurement?.end({
|
|
17358
17363
|
success: false,
|
|
17359
|
-
}, e);
|
|
17364
|
+
}, e, request.account);
|
|
17360
17365
|
throw e;
|
|
17361
17366
|
})
|
|
17362
17367
|
.finally(() => {
|
|
@@ -17401,8 +17406,7 @@ class StandardController {
|
|
|
17401
17406
|
success: true,
|
|
17402
17407
|
accessTokenSize: result.accessToken.length,
|
|
17403
17408
|
idTokenSize: result.idToken.length,
|
|
17404
|
-
|
|
17405
|
-
});
|
|
17409
|
+
}, undefined, result.account);
|
|
17406
17410
|
return result;
|
|
17407
17411
|
})
|
|
17408
17412
|
.catch((error) => {
|
|
@@ -17442,9 +17446,8 @@ class StandardController {
|
|
|
17442
17446
|
throw e;
|
|
17443
17447
|
});
|
|
17444
17448
|
atbcMeasurement.end({
|
|
17445
|
-
accountType: getAccountType(result.account),
|
|
17446
17449
|
success: true,
|
|
17447
|
-
});
|
|
17450
|
+
}, undefined, result.account);
|
|
17448
17451
|
return result;
|
|
17449
17452
|
}
|
|
17450
17453
|
else {
|
|
@@ -17726,6 +17729,7 @@ class StandardController {
|
|
|
17726
17729
|
case PromptValue.NONE:
|
|
17727
17730
|
case PromptValue.CONSENT:
|
|
17728
17731
|
case PromptValue.LOGIN:
|
|
17732
|
+
case PromptValue.SELECT_ACCOUNT:
|
|
17729
17733
|
this.logger.trace("canUsePlatformBroker: prompt is compatible with platform broker flow");
|
|
17730
17734
|
break;
|
|
17731
17735
|
default:
|
|
@@ -17968,13 +17972,12 @@ class StandardController {
|
|
|
17968
17972
|
cacheLookupPolicy: request.cacheLookupPolicy,
|
|
17969
17973
|
scenarioId: request.scenarioId,
|
|
17970
17974
|
});
|
|
17971
|
-
preflightCheck(this.initialized, atsMeasurement);
|
|
17975
|
+
preflightCheck(this.initialized, atsMeasurement, request.account);
|
|
17972
17976
|
this.logger.verbose("acquireTokenSilent called", correlationId);
|
|
17973
17977
|
const account = request.account || this.getActiveAccount();
|
|
17974
17978
|
if (!account) {
|
|
17975
17979
|
throw createBrowserAuthError(noAccountError);
|
|
17976
17980
|
}
|
|
17977
|
-
atsMeasurement.add({ accountType: getAccountType(account) });
|
|
17978
17981
|
return this.acquireTokenSilentDeduped(request, account, correlationId)
|
|
17979
17982
|
.then((result) => {
|
|
17980
17983
|
atsMeasurement.end({
|
|
@@ -17982,7 +17985,7 @@ class StandardController {
|
|
|
17982
17985
|
fromCache: result.fromCache,
|
|
17983
17986
|
accessTokenSize: result.accessToken.length,
|
|
17984
17987
|
idTokenSize: result.idToken.length,
|
|
17985
|
-
});
|
|
17988
|
+
}, undefined, result.account);
|
|
17986
17989
|
return {
|
|
17987
17990
|
...result,
|
|
17988
17991
|
state: request.state,
|
|
@@ -17996,7 +17999,7 @@ class StandardController {
|
|
|
17996
17999
|
}
|
|
17997
18000
|
atsMeasurement.end({
|
|
17998
18001
|
success: false,
|
|
17999
|
-
}, error);
|
|
18002
|
+
}, error, account);
|
|
18000
18003
|
throw error;
|
|
18001
18004
|
});
|
|
18002
18005
|
}
|
|
@@ -18109,11 +18112,9 @@ class StandardController {
|
|
|
18109
18112
|
return result
|
|
18110
18113
|
.then((response) => {
|
|
18111
18114
|
this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, exports.InteractionType.Silent, response);
|
|
18112
|
-
|
|
18113
|
-
|
|
18114
|
-
|
|
18115
|
-
}, request.correlationId);
|
|
18116
|
-
}
|
|
18115
|
+
this.performanceClient.addFields({
|
|
18116
|
+
fromCache: response.fromCache,
|
|
18117
|
+
}, request.correlationId);
|
|
18117
18118
|
return response;
|
|
18118
18119
|
})
|
|
18119
18120
|
.catch((tokenRenewalError) => {
|
|
@@ -18522,7 +18523,7 @@ class NestedAppAuthController {
|
|
|
18522
18523
|
const validRequest = this.ensureValidRequest(request);
|
|
18523
18524
|
this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, exports.InteractionType.Popup, validRequest);
|
|
18524
18525
|
const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, validRequest.correlationId);
|
|
18525
|
-
atPopupMeasurement
|
|
18526
|
+
atPopupMeasurement.add({ nestedAppAuthRequest: true });
|
|
18526
18527
|
try {
|
|
18527
18528
|
const naaRequest = this.nestedAppAuthAdapter.toNaaTokenRequest(validRequest);
|
|
18528
18529
|
const reqTimestamp = nowSeconds();
|
|
@@ -18552,7 +18553,7 @@ class NestedAppAuthController {
|
|
|
18552
18553
|
atPopupMeasurement.end({
|
|
18553
18554
|
success: true,
|
|
18554
18555
|
requestId: result.requestId,
|
|
18555
|
-
});
|
|
18556
|
+
}, undefined, result.account);
|
|
18556
18557
|
return result;
|
|
18557
18558
|
}
|
|
18558
18559
|
catch (e) {
|
|
@@ -18562,7 +18563,7 @@ class NestedAppAuthController {
|
|
|
18562
18563
|
this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Popup, null, e);
|
|
18563
18564
|
atPopupMeasurement.end({
|
|
18564
18565
|
success: false,
|
|
18565
|
-
}, e);
|
|
18566
|
+
}, e, request.account);
|
|
18566
18567
|
throw error;
|
|
18567
18568
|
}
|
|
18568
18569
|
}
|
|
@@ -18582,10 +18583,10 @@ class NestedAppAuthController {
|
|
|
18582
18583
|
}
|
|
18583
18584
|
// proceed with acquiring tokens via the host
|
|
18584
18585
|
const ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, validRequest.correlationId);
|
|
18585
|
-
ssoSilentMeasurement
|
|
18586
|
+
ssoSilentMeasurement.increment({
|
|
18586
18587
|
visibilityChangeCount: 0,
|
|
18587
18588
|
});
|
|
18588
|
-
ssoSilentMeasurement
|
|
18589
|
+
ssoSilentMeasurement.add({
|
|
18589
18590
|
nestedAppAuthRequest: true,
|
|
18590
18591
|
});
|
|
18591
18592
|
try {
|
|
@@ -18616,7 +18617,7 @@ class NestedAppAuthController {
|
|
|
18616
18617
|
ssoSilentMeasurement?.end({
|
|
18617
18618
|
success: true,
|
|
18618
18619
|
requestId: result.requestId,
|
|
18619
|
-
});
|
|
18620
|
+
}, undefined, result.account);
|
|
18620
18621
|
return result;
|
|
18621
18622
|
}
|
|
18622
18623
|
catch (e) {
|
|
@@ -18626,7 +18627,7 @@ class NestedAppAuthController {
|
|
|
18626
18627
|
this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Silent, null, e);
|
|
18627
18628
|
ssoSilentMeasurement?.end({
|
|
18628
18629
|
success: false,
|
|
18629
|
-
}, e);
|
|
18630
|
+
}, e, request.account);
|
|
18630
18631
|
throw error;
|
|
18631
18632
|
}
|
|
18632
18633
|
}
|
|
@@ -18666,20 +18667,20 @@ class NestedAppAuthController {
|
|
|
18666
18667
|
}
|
|
18667
18668
|
if (result) {
|
|
18668
18669
|
this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, exports.InteractionType.Silent, result);
|
|
18669
|
-
atsMeasurement
|
|
18670
|
-
accessTokenSize: result
|
|
18671
|
-
idTokenSize: result
|
|
18670
|
+
atsMeasurement.add({
|
|
18671
|
+
accessTokenSize: result.accessToken.length,
|
|
18672
|
+
idTokenSize: result.idToken.length,
|
|
18672
18673
|
});
|
|
18673
|
-
atsMeasurement
|
|
18674
|
+
atsMeasurement.end({
|
|
18674
18675
|
success: true,
|
|
18675
|
-
});
|
|
18676
|
+
}, undefined, result.account);
|
|
18676
18677
|
return result;
|
|
18677
18678
|
}
|
|
18678
18679
|
this.logger.warning("Cached tokens are not found for the account, proceeding with silent token request.");
|
|
18679
18680
|
this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Silent, null);
|
|
18680
|
-
atsMeasurement
|
|
18681
|
+
atsMeasurement.end({
|
|
18681
18682
|
success: false,
|
|
18682
|
-
});
|
|
18683
|
+
}, undefined, request.account);
|
|
18683
18684
|
return null;
|
|
18684
18685
|
}
|
|
18685
18686
|
/**
|
|
@@ -20336,13 +20337,13 @@ class BrowserPerformanceClient extends PerformanceClient {
|
|
|
20336
20337
|
void browserMeasurement?.then((measurement) => measurement.startMeasurement());
|
|
20337
20338
|
return {
|
|
20338
20339
|
...inProgressEvent,
|
|
20339
|
-
end: (event, error) => {
|
|
20340
|
+
end: (event, error, account) => {
|
|
20340
20341
|
const res = inProgressEvent.end({
|
|
20341
20342
|
...event,
|
|
20342
20343
|
startPageVisibility,
|
|
20343
20344
|
endPageVisibility: this.getPageVisibility(),
|
|
20344
20345
|
durationMs: getPerfDurationMs(startTime),
|
|
20345
|
-
}, error);
|
|
20346
|
+
}, error, account);
|
|
20346
20347
|
void browserMeasurement?.then((measurement) => measurement.endMeasurement());
|
|
20347
20348
|
this.deleteIncompleteSubMeasurements(inProgressEvent);
|
|
20348
20349
|
return res;
|