@azure/msal-browser 5.28.0 → 5.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.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/crypto/TokenBindingKeyManager.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +6 -4
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +58 -62
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +3 -5
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +19 -13
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +8 -2
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +58 -69
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs +3 -3
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +42 -15
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs +17 -4
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +14 -18
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +2 -4
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +2 -3
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +17 -6
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs +110 -0
- package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +2 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +256 -150
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +2 -6
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +10 -3
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -7
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +35 -19
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +20 -9
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -2
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +5 -7
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +3 -2
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +17 -2
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom_auth/index.mjs +4 -3
- package/dist/custom_auth/index.mjs.map +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +23 -7
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs +24 -0
- package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +4 -7
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +2 -2
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +17 -8
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs +78 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs +48 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs +49 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +17 -24
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +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 +38 -31
- 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/log-strings-mapping.json +21 -9
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/popup_relay/constants.mjs +1 -1
- package/dist/popup_relay/index.mjs +1 -1
- package/dist/popup_relay/relayClient.mjs +1 -1
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/request/SilentRequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserDetection.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/IframeMonitor.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/utils/PopupMonitor.mjs +1 -1
- package/dist/utils/PopupOriginCheck.mjs +1 -1
- package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
- package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
- package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
- package/dist/webBrokerBridge/index.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +21 -9
- package/lib/custom-auth-path/msal-custom-auth.cjs +1100 -765
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +1100 -765
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +7 -3
- package/lib/msal-browser.cjs +117 -107
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +117 -107
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
- package/lib/popup-relay/msal-popup-relay.js +2 -2
- package/lib/popup-relay/msal-popup-relay.js.map +1 -1
- package/lib/popup-relay/msal-popup-relay.min.js +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
- package/package.json +2 -2
- package/src/custom_auth/CustomAuthActionInputs.ts +12 -5
- package/src/custom_auth/CustomAuthPublicClientApplication.ts +5 -3
- package/src/custom_auth/ICustomAuthPublicClientApplicationV2.ts +5 -3
- package/src/custom_auth/controller/CustomAuthStandardController.ts +79 -110
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.ts +1 -2
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.ts +1 -4
- package/src/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.ts +5 -4
- package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +28 -16
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +6 -0
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts +83 -72
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.ts +3 -3
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.ts +7 -5
- package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +10 -6
- package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +9 -6
- package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +4 -6
- package/src/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.ts +36 -0
- package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +6 -8
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.ts +2 -2
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +61 -12
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.ts +21 -3
- package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +30 -24
- package/src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts +1 -3
- package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +11 -2
- package/src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts +1 -2
- package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +26 -7
- package/src/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.ts +179 -0
- package/src/custom_auth/core/error/InvalidArgumentError.ts +1 -1
- package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +12 -12
- package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +394 -238
- package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +2 -6
- package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +2 -15
- package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +63 -26
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +0 -6
- package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +74 -26
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +48 -9
- package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +4 -6
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +0 -6
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +14 -53
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +0 -18
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +32 -13
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +8 -9
- package/src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts +4 -5
- package/src/custom_auth/core/telemetry/PublicApiId.ts +1 -0
- package/src/custom_auth/core/utils/ArgumentValidator.ts +26 -0
- package/src/custom_auth/index.ts +10 -11
- package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +6 -7
- package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +28 -5
- package/src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.ts +30 -0
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +4 -8
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +4 -7
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +3 -6
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts +0 -3
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts +2 -3
- package/src/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.ts +49 -0
- package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +8 -4
- package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +16 -4
- package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +26 -5
- package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.ts +101 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.ts +53 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.ts +97 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts +0 -6
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts +25 -48
- package/src/interaction_client/PlatformAuthInteractionClient.ts +53 -38
- package/src/packageMetadata.ts +1 -1
- package/types/custom_auth/CustomAuthActionInputs.d.ts +12 -5
- package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts +5 -3
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -1
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts +5 -3
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts.map +1 -1
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts +2 -0
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts +1 -2
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts +1 -4
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts +5 -4
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +17 -8
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +6 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts +23 -44
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts +3 -3
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts +7 -6
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +7 -6
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +8 -7
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +4 -6
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +20 -0
- package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +6 -8
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts +2 -2
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +3 -6
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts +3 -3
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +6 -8
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts +1 -3
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +9 -2
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts +1 -2
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts +5 -6
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +23 -0
- package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/error/InvalidArgumentError.d.ts +1 -0
- package/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +8 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +12 -10
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +1 -1
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +2 -5
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts +22 -3
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts +2 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +8 -8
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts +18 -6
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts +6 -10
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts +0 -4
- package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts.map +1 -1
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts +1 -0
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
- package/types/custom_auth/index.d.ts +5 -5
- package/types/custom_auth/index.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +6 -8
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts +7 -5
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.d.ts +7 -0
- package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +4 -8
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +5 -6
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +3 -6
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts +3 -2
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.d.ts +27 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +6 -3
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +12 -3
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts +8 -3
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.d.ts +24 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts +18 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts +7 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts +0 -4
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts +5 -4
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts.map +1 -1
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts +4 -3
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +0 -82
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +0 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +0 -25
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs.map +0 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +0 -45
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +0 -1
- package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +0 -23
- package/src/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.ts +0 -19
- package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +0 -22
- package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +0 -115
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.ts +0 -34
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +0 -61
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +0 -14
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts +0 -13
- package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts.map +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +0 -9
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +0 -17
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +0 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts +0 -11
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts.map +0 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts +0 -19
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +0 -1
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.0 2026-11-06 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v16.16.
|
|
5
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -62,7 +62,7 @@ const ATTRIBUTE_TOKENS = "attribute_tokens";
|
|
|
62
62
|
*/
|
|
63
63
|
const POPUP_ORIGIN_CHECK_DONE = "pocd";
|
|
64
64
|
|
|
65
|
-
/*! @azure/msal-common v16.16.
|
|
65
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
66
66
|
/*
|
|
67
67
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
68
68
|
* Licensed under the MIT License.
|
|
@@ -301,7 +301,7 @@ const JsonWebTokenTypes$1 = {
|
|
|
301
301
|
// Token renewal offset default in seconds
|
|
302
302
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
303
303
|
|
|
304
|
-
/*! @azure/msal-common v16.16.
|
|
304
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
305
305
|
/*
|
|
306
306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
307
307
|
* Licensed under the MIT License.
|
|
@@ -330,7 +330,7 @@ function createAuthError(code, correlationId, additionalMessage) {
|
|
|
330
330
|
return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
/*! @azure/msal-common v16.16.
|
|
333
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
334
334
|
|
|
335
335
|
/*
|
|
336
336
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -353,7 +353,7 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
|
|
|
353
353
|
return new ClientAuthError(errorCode, correlationId, additionalMessage);
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
/*! @azure/msal-common v16.16.
|
|
356
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
357
357
|
/*
|
|
358
358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
359
359
|
* Licensed under the MIT License.
|
|
@@ -439,7 +439,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
439
439
|
userCanceled: userCanceled
|
|
440
440
|
});
|
|
441
441
|
|
|
442
|
-
/*! @azure/msal-common v16.16.
|
|
442
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
443
443
|
|
|
444
444
|
/*
|
|
445
445
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -477,7 +477,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
/*! @azure/msal-common v16.16.
|
|
480
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
481
481
|
|
|
482
482
|
/*
|
|
483
483
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -543,7 +543,7 @@ function getJWSPayload(authToken, correlationId) {
|
|
|
543
543
|
return matches[2];
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
/*! @azure/msal-common v16.16.
|
|
546
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
547
547
|
|
|
548
548
|
/*
|
|
549
549
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -631,7 +631,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
631
631
|
return updatedAccountInfo;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
/*! @azure/msal-common v16.16.
|
|
634
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
635
635
|
/*
|
|
636
636
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
637
637
|
* Licensed under the MIT License.
|
|
@@ -645,7 +645,7 @@ const AuthorityType = {
|
|
|
645
645
|
Ciam: 3,
|
|
646
646
|
};
|
|
647
647
|
|
|
648
|
-
/*! @azure/msal-common v16.16.
|
|
648
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
649
649
|
/*
|
|
650
650
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
651
651
|
* Licensed under the MIT License.
|
|
@@ -667,7 +667,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
667
667
|
return null;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
/*! @azure/msal-common v16.16.
|
|
670
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
671
671
|
/*
|
|
672
672
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
673
673
|
* Licensed under the MIT License.
|
|
@@ -691,7 +691,7 @@ const ProtocolMode = {
|
|
|
691
691
|
EAR: "EAR",
|
|
692
692
|
};
|
|
693
693
|
|
|
694
|
-
/*! @azure/msal-common v16.16.
|
|
694
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
695
695
|
/**
|
|
696
696
|
* Returns the AccountInfo interface for this account.
|
|
697
697
|
* @internal
|
|
@@ -880,7 +880,7 @@ function isAccountEntity(entity) {
|
|
|
880
880
|
entity.hasOwnProperty("authorityType"));
|
|
881
881
|
}
|
|
882
882
|
|
|
883
|
-
/*! @azure/msal-common v16.16.
|
|
883
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
884
884
|
/*
|
|
885
885
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
886
886
|
* Licensed under the MIT License.
|
|
@@ -897,7 +897,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
897
897
|
unexpectedError: unexpectedError
|
|
898
898
|
});
|
|
899
899
|
|
|
900
|
-
/*! @azure/msal-common v16.16.
|
|
900
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
901
901
|
|
|
902
902
|
/*
|
|
903
903
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -917,7 +917,7 @@ function createClientConfigurationError(errorCode, correlationId) {
|
|
|
917
917
|
return new ClientConfigurationError(errorCode, correlationId);
|
|
918
918
|
}
|
|
919
919
|
|
|
920
|
-
/*! @azure/msal-common v16.16.
|
|
920
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
921
921
|
/*
|
|
922
922
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
923
923
|
* Licensed under the MIT License.
|
|
@@ -957,7 +957,7 @@ function getResponseHeader(headers, name) {
|
|
|
957
957
|
return headerName === undefined ? undefined : headers[headerName];
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
-
/*! @azure/msal-common v16.16.
|
|
960
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
961
961
|
/*
|
|
962
962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
963
963
|
* Licensed under the MIT License.
|
|
@@ -1027,7 +1027,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1027
1027
|
urlParseError: urlParseError
|
|
1028
1028
|
});
|
|
1029
1029
|
|
|
1030
|
-
/*! @azure/msal-common v16.16.
|
|
1030
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1031
1031
|
|
|
1032
1032
|
/*
|
|
1033
1033
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1086,7 +1086,7 @@ class AuthenticationHeaderParser {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
|
-
/*! @azure/msal-common v16.16.
|
|
1089
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1090
1090
|
/*
|
|
1091
1091
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1092
1092
|
* Licensed under the MIT License.
|
|
@@ -1098,7 +1098,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
1098
1098
|
response.hasOwnProperty("jwks_uri"));
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
|
-
/*! @azure/msal-common v16.16.
|
|
1101
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1102
1102
|
/*
|
|
1103
1103
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1104
1104
|
* Licensed under the MIT License.
|
|
@@ -1178,7 +1178,7 @@ class StringUtils {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
1180
|
|
|
1181
|
-
/*! @azure/msal-common v16.16.
|
|
1181
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1182
1182
|
|
|
1183
1183
|
/*
|
|
1184
1184
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1336,7 +1336,7 @@ class UrlString {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
1338
|
|
|
1339
|
-
/*! @azure/msal-common v16.16.
|
|
1339
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1340
1340
|
|
|
1341
1341
|
/*
|
|
1342
1342
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1490,7 +1490,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1490
1490
|
return null;
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
|
-
/*! @azure/msal-common v16.16.
|
|
1493
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1494
1494
|
/*
|
|
1495
1495
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1496
1496
|
* Licensed under the MIT License.
|
|
@@ -1508,7 +1508,7 @@ const AzureCloudInstance = {
|
|
|
1508
1508
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1509
1509
|
};
|
|
1510
1510
|
|
|
1511
|
-
/*! @azure/msal-common v16.16.
|
|
1511
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1512
1512
|
/*
|
|
1513
1513
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1514
1514
|
* Licensed under the MIT License.
|
|
@@ -1518,7 +1518,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
1518
1518
|
response.hasOwnProperty("metadata"));
|
|
1519
1519
|
}
|
|
1520
1520
|
|
|
1521
|
-
/*! @azure/msal-common v16.16.
|
|
1521
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1522
1522
|
/*
|
|
1523
1523
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1524
1524
|
* Licensed under the MIT License.
|
|
@@ -1528,7 +1528,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
1528
1528
|
response.hasOwnProperty("error_description"));
|
|
1529
1529
|
}
|
|
1530
1530
|
|
|
1531
|
-
/*! @azure/msal-common v16.16.
|
|
1531
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1532
1532
|
/*
|
|
1533
1533
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1534
1534
|
* Licensed under the MIT License.
|
|
@@ -1599,7 +1599,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
1599
1599
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
1600
1600
|
const SetUserData = "setUserData";
|
|
1601
1601
|
|
|
1602
|
-
/*! @azure/msal-common v16.16.
|
|
1602
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1603
1603
|
/*
|
|
1604
1604
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1605
1605
|
* Licensed under the MIT License.
|
|
@@ -1692,7 +1692,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
1692
1692
|
};
|
|
1693
1693
|
};
|
|
1694
1694
|
|
|
1695
|
-
/*! @azure/msal-common v16.16.
|
|
1695
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1696
1696
|
|
|
1697
1697
|
/*
|
|
1698
1698
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1803,7 +1803,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
1803
1803
|
},
|
|
1804
1804
|
};
|
|
1805
1805
|
|
|
1806
|
-
/*! @azure/msal-common v16.16.
|
|
1806
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1807
1807
|
/*
|
|
1808
1808
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1809
1809
|
* Licensed under the MIT License.
|
|
@@ -1868,7 +1868,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
1868
1868
|
return cachedAtSec > nowSeconds();
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
|
-
/*! @azure/msal-common v16.16.
|
|
1871
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1872
1872
|
|
|
1873
1873
|
/*
|
|
1874
1874
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2155,7 +2155,7 @@ function serializeAttributeTokens(attributeTokens) {
|
|
|
2155
2155
|
return [...attributeTokens].sort().join(" ");
|
|
2156
2156
|
}
|
|
2157
2157
|
|
|
2158
|
-
/*! @azure/msal-common v16.16.
|
|
2158
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
2159
2159
|
|
|
2160
2160
|
/*
|
|
2161
2161
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3123,7 +3123,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
3123
3123
|
};
|
|
3124
3124
|
}
|
|
3125
3125
|
|
|
3126
|
-
/*! @azure/msal-common v16.16.
|
|
3126
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3127
3127
|
|
|
3128
3128
|
/*
|
|
3129
3129
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3157,7 +3157,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
3157
3157
|
}
|
|
3158
3158
|
}
|
|
3159
3159
|
|
|
3160
|
-
/*! @azure/msal-common v16.16.
|
|
3160
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3161
3161
|
|
|
3162
3162
|
/*
|
|
3163
3163
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3353,7 +3353,7 @@ class ScopeSet {
|
|
|
3353
3353
|
}
|
|
3354
3354
|
}
|
|
3355
3355
|
|
|
3356
|
-
/*! @azure/msal-common v16.16.
|
|
3356
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3357
3357
|
|
|
3358
3358
|
/*
|
|
3359
3359
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3853,7 +3853,7 @@ function addAttributeTokens(parameters, attributeTokens) {
|
|
|
3853
3853
|
}
|
|
3854
3854
|
}
|
|
3855
3855
|
|
|
3856
|
-
/*! @azure/msal-common v16.16.
|
|
3856
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3857
3857
|
|
|
3858
3858
|
/*
|
|
3859
3859
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3984,7 +3984,7 @@ function validateUrl(url, logger, correlationId) {
|
|
|
3984
3984
|
}
|
|
3985
3985
|
}
|
|
3986
3986
|
|
|
3987
|
-
/*! @azure/msal-common v16.16.
|
|
3987
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3988
3988
|
|
|
3989
3989
|
/*
|
|
3990
3990
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4032,7 +4032,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
4032
4032
|
},
|
|
4033
4033
|
};
|
|
4034
4034
|
|
|
4035
|
-
/*! @azure/msal-common v16.16.
|
|
4035
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4036
4036
|
|
|
4037
4037
|
/*
|
|
4038
4038
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4055,7 +4055,7 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
|
|
|
4055
4055
|
},
|
|
4056
4056
|
};
|
|
4057
4057
|
|
|
4058
|
-
/*! @azure/msal-common v16.16.
|
|
4058
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4059
4059
|
/*
|
|
4060
4060
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4061
4061
|
* Licensed under the MIT License.
|
|
@@ -4344,12 +4344,12 @@ class Logger {
|
|
|
4344
4344
|
}
|
|
4345
4345
|
}
|
|
4346
4346
|
|
|
4347
|
-
/*! @azure/msal-common v16.16.
|
|
4347
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4348
4348
|
/* eslint-disable header/header */
|
|
4349
4349
|
const name$1 = "@azure/msal-common";
|
|
4350
|
-
const version$1 = "16.16.
|
|
4350
|
+
const version$1 = "16.16.1";
|
|
4351
4351
|
|
|
4352
|
-
/*! @azure/msal-common v16.16.
|
|
4352
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4353
4353
|
/*
|
|
4354
4354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4355
4355
|
* Licensed under the MIT License.
|
|
@@ -4357,7 +4357,7 @@ const version$1 = "16.16.0";
|
|
|
4357
4357
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
4358
4358
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
4359
4359
|
|
|
4360
|
-
/*! @azure/msal-common v16.16.
|
|
4360
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4361
4361
|
|
|
4362
4362
|
/*
|
|
4363
4363
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4395,7 +4395,7 @@ function createCacheError(e) {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
}
|
|
4397
4397
|
|
|
4398
|
-
/*! @azure/msal-common v16.16.
|
|
4398
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4399
4399
|
|
|
4400
4400
|
/*
|
|
4401
4401
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4859,19 +4859,25 @@ class CacheManager {
|
|
|
4859
4859
|
* @param account
|
|
4860
4860
|
*/
|
|
4861
4861
|
removeAccount(account, correlationId) {
|
|
4862
|
-
this.removeAccountContext(account, correlationId);
|
|
4863
4862
|
const accountKeys = this.getAccountKeys();
|
|
4864
4863
|
const keyFilter = (key) => {
|
|
4865
4864
|
return (key.includes(account.homeAccountId) &&
|
|
4866
4865
|
key.includes(account.environment));
|
|
4867
4866
|
};
|
|
4867
|
+
this.getTokenKeys()
|
|
4868
|
+
.idToken.filter(keyFilter)
|
|
4869
|
+
.forEach((key) => {
|
|
4870
|
+
this.removeIdToken(key, correlationId);
|
|
4871
|
+
});
|
|
4872
|
+
this.removeAccountContext(account, correlationId);
|
|
4868
4873
|
accountKeys.filter(keyFilter).forEach((key) => {
|
|
4869
4874
|
this.removeItem(key, correlationId);
|
|
4870
4875
|
this.performanceClient.incrementFields({ accountsRemoved: 1 }, correlationId);
|
|
4871
4876
|
});
|
|
4872
4877
|
}
|
|
4873
4878
|
/**
|
|
4874
|
-
* Removes
|
|
4879
|
+
* Removes access and refresh tokens associated with the provided account,
|
|
4880
|
+
* preserving the account and its ID tokens.
|
|
4875
4881
|
* @param account
|
|
4876
4882
|
*/
|
|
4877
4883
|
removeAccountContext(account, correlationId) {
|
|
@@ -4880,9 +4886,6 @@ class CacheManager {
|
|
|
4880
4886
|
return (key.includes(account.homeAccountId) &&
|
|
4881
4887
|
key.includes(account.environment));
|
|
4882
4888
|
};
|
|
4883
|
-
allTokenKeys.idToken.filter(keyFilter).forEach((key) => {
|
|
4884
|
-
this.removeIdToken(key, correlationId);
|
|
4885
|
-
});
|
|
4886
4889
|
allTokenKeys.accessToken.filter(keyFilter).forEach((key) => {
|
|
4887
4890
|
this.removeAccessToken(key, correlationId);
|
|
4888
4891
|
});
|
|
@@ -5620,7 +5623,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
5620
5623
|
}
|
|
5621
5624
|
}
|
|
5622
5625
|
|
|
5623
|
-
/*! @azure/msal-common v16.16.
|
|
5626
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5624
5627
|
/*
|
|
5625
5628
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5626
5629
|
* Licensed under the MIT License.
|
|
@@ -5685,7 +5688,7 @@ const IntFields = new Set([
|
|
|
5685
5688
|
"fetchRetryCount",
|
|
5686
5689
|
]);
|
|
5687
5690
|
|
|
5688
|
-
/*! @azure/msal-common v16.16.
|
|
5691
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5689
5692
|
|
|
5690
5693
|
/*
|
|
5691
5694
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5743,7 +5746,7 @@ class StubPerformanceClient {
|
|
|
5743
5746
|
}
|
|
5744
5747
|
}
|
|
5745
5748
|
|
|
5746
|
-
/*! @azure/msal-common v16.16.
|
|
5749
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5747
5750
|
|
|
5748
5751
|
/*
|
|
5749
5752
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5841,7 +5844,7 @@ function isOidcProtocolMode(config) {
|
|
|
5841
5844
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
5842
5845
|
}
|
|
5843
5846
|
|
|
5844
|
-
/*! @azure/msal-common v16.16.
|
|
5847
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5845
5848
|
/*
|
|
5846
5849
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5847
5850
|
* Licensed under the MIT License.
|
|
@@ -5868,7 +5871,7 @@ function isOidcProtocolMode(config) {
|
|
|
5868
5871
|
}
|
|
5869
5872
|
}
|
|
5870
5873
|
|
|
5871
|
-
/*! @azure/msal-common v16.16.
|
|
5874
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5872
5875
|
|
|
5873
5876
|
/*
|
|
5874
5877
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5889,7 +5892,7 @@ function createJoseHeaderError(code, correlationId) {
|
|
|
5889
5892
|
return new JoseHeaderError(code, correlationId);
|
|
5890
5893
|
}
|
|
5891
5894
|
|
|
5892
|
-
/*! @azure/msal-common v16.16.
|
|
5895
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5893
5896
|
/*
|
|
5894
5897
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5895
5898
|
* Licensed under the MIT License.
|
|
@@ -5914,7 +5917,7 @@ function isPlainObject(value) {
|
|
|
5914
5917
|
return Object.getPrototypeOf(value) === proto;
|
|
5915
5918
|
}
|
|
5916
5919
|
|
|
5917
|
-
/*! @azure/msal-common v16.16.
|
|
5920
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5918
5921
|
/*
|
|
5919
5922
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5920
5923
|
* Licensed under the MIT License.
|
|
@@ -5924,7 +5927,7 @@ const missingAlgError = "missing_alg_error";
|
|
|
5924
5927
|
const missingJwkError = "missing_jwk_error";
|
|
5925
5928
|
const invalidJwkError = "invalid_jwk_error";
|
|
5926
5929
|
|
|
5927
|
-
/*! @azure/msal-common v16.16.
|
|
5930
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5928
5931
|
|
|
5929
5932
|
/*
|
|
5930
5933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5990,7 +5993,7 @@ class JoseHeader {
|
|
|
5990
5993
|
}
|
|
5991
5994
|
}
|
|
5992
5995
|
|
|
5993
|
-
/*! @azure/msal-common v16.16.
|
|
5996
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5994
5997
|
|
|
5995
5998
|
/*
|
|
5996
5999
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6091,7 +6094,7 @@ class PopTokenGenerator {
|
|
|
6091
6094
|
}
|
|
6092
6095
|
}
|
|
6093
6096
|
|
|
6094
|
-
/*! @azure/msal-common v16.16.
|
|
6097
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6095
6098
|
|
|
6096
6099
|
/*
|
|
6097
6100
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6246,7 +6249,7 @@ class DpopProofGenerator {
|
|
|
6246
6249
|
}
|
|
6247
6250
|
}
|
|
6248
6251
|
|
|
6249
|
-
/*! @azure/msal-common v16.16.
|
|
6252
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6250
6253
|
/*
|
|
6251
6254
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6252
6255
|
* Licensed under the MIT License.
|
|
@@ -6310,7 +6313,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6310
6313
|
uiNotAllowed: uiNotAllowed
|
|
6311
6314
|
});
|
|
6312
6315
|
|
|
6313
|
-
/*! @azure/msal-common v16.16.
|
|
6316
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6314
6317
|
|
|
6315
6318
|
/*
|
|
6316
6319
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6377,7 +6380,7 @@ function createInteractionRequiredAuthError(errorCode, correlationId, errorMessa
|
|
|
6377
6380
|
return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
|
|
6378
6381
|
}
|
|
6379
6382
|
|
|
6380
|
-
/*! @azure/msal-common v16.16.
|
|
6383
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6381
6384
|
|
|
6382
6385
|
/*
|
|
6383
6386
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6396,7 +6399,7 @@ class ServerError extends AuthError {
|
|
|
6396
6399
|
}
|
|
6397
6400
|
}
|
|
6398
6401
|
|
|
6399
|
-
/*! @azure/msal-common v16.16.
|
|
6402
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6400
6403
|
|
|
6401
6404
|
/*
|
|
6402
6405
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6467,7 +6470,7 @@ function parseRequestState(base64Decode, state, correlationId) {
|
|
|
6467
6470
|
}
|
|
6468
6471
|
}
|
|
6469
6472
|
|
|
6470
|
-
/*! @azure/msal-common v16.16.
|
|
6473
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6471
6474
|
|
|
6472
6475
|
/*
|
|
6473
6476
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6895,7 +6898,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6895
6898
|
return baseAccount;
|
|
6896
6899
|
}
|
|
6897
6900
|
|
|
6898
|
-
/*! @azure/msal-common v16.16.
|
|
6901
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6899
6902
|
/*
|
|
6900
6903
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6901
6904
|
* Licensed under the MIT License.
|
|
@@ -6905,7 +6908,7 @@ const CcsCredentialType = {
|
|
|
6905
6908
|
UPN: "UPN",
|
|
6906
6909
|
};
|
|
6907
6910
|
|
|
6908
|
-
/*! @azure/msal-common v16.16.
|
|
6911
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6909
6912
|
/*
|
|
6910
6913
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6911
6914
|
* Licensed under the MIT License.
|
|
@@ -6924,7 +6927,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
|
|
|
6924
6927
|
}
|
|
6925
6928
|
}
|
|
6926
6929
|
|
|
6927
|
-
/*! @azure/msal-common v16.16.
|
|
6930
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6928
6931
|
|
|
6929
6932
|
/*
|
|
6930
6933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6948,7 +6951,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6948
6951
|
};
|
|
6949
6952
|
}
|
|
6950
6953
|
|
|
6951
|
-
/*! @azure/msal-common v16.16.
|
|
6954
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6952
6955
|
|
|
6953
6956
|
/*
|
|
6954
6957
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7038,7 +7041,7 @@ function getRetryAfterHeader(response) {
|
|
|
7038
7041
|
return undefined;
|
|
7039
7042
|
}
|
|
7040
7043
|
|
|
7041
|
-
/*! @azure/msal-common v16.16.
|
|
7044
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7042
7045
|
|
|
7043
7046
|
/*
|
|
7044
7047
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7069,7 +7072,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
7069
7072
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
7070
7073
|
}
|
|
7071
7074
|
|
|
7072
|
-
/*! @azure/msal-common v16.16.
|
|
7075
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7073
7076
|
|
|
7074
7077
|
/*
|
|
7075
7078
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7203,7 +7206,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
7203
7206
|
return response;
|
|
7204
7207
|
}
|
|
7205
7208
|
|
|
7206
|
-
/*! @azure/msal-common v16.16.
|
|
7209
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7207
7210
|
|
|
7208
7211
|
/*
|
|
7209
7212
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7470,7 +7473,7 @@ class AuthorizationCodeClient {
|
|
|
7470
7473
|
}
|
|
7471
7474
|
}
|
|
7472
7475
|
|
|
7473
|
-
/*! @azure/msal-common v16.16.
|
|
7476
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7474
7477
|
|
|
7475
7478
|
/*
|
|
7476
7479
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7700,7 +7703,7 @@ function extractLoginHint(account) {
|
|
|
7700
7703
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7701
7704
|
}
|
|
7702
7705
|
|
|
7703
|
-
/*! @azure/msal-common v16.16.
|
|
7706
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7704
7707
|
|
|
7705
7708
|
/*
|
|
7706
7709
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8249,7 +8252,7 @@ class PerformanceClient {
|
|
|
8249
8252
|
}
|
|
8250
8253
|
}
|
|
8251
8254
|
|
|
8252
|
-
/*! @azure/msal-common v16.16.
|
|
8255
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8253
8256
|
|
|
8254
8257
|
/*
|
|
8255
8258
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8484,7 +8487,7 @@ class RefreshTokenClient {
|
|
|
8484
8487
|
}
|
|
8485
8488
|
}
|
|
8486
8489
|
|
|
8487
|
-
/*! @azure/msal-common v16.16.
|
|
8490
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8488
8491
|
|
|
8489
8492
|
/*
|
|
8490
8493
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8777,7 +8780,7 @@ class StubServerTelemetryManager extends ServerTelemetryManager {
|
|
|
8777
8780
|
clearNativeBrokerErrorCode() { }
|
|
8778
8781
|
}
|
|
8779
8782
|
|
|
8780
|
-
/*! @azure/msal-common v16.16.
|
|
8783
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8781
8784
|
|
|
8782
8785
|
/*
|
|
8783
8786
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8904,7 +8907,7 @@ class SilentFlowClient {
|
|
|
8904
8907
|
}
|
|
8905
8908
|
}
|
|
8906
8909
|
|
|
8907
|
-
/*! @azure/msal-common v16.16.
|
|
8910
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8908
8911
|
|
|
8909
8912
|
/*
|
|
8910
8913
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8920,7 +8923,7 @@ const StubbedNetworkModule = {
|
|
|
8920
8923
|
},
|
|
8921
8924
|
};
|
|
8922
8925
|
|
|
8923
|
-
/*! @azure/msal-common v16.16.
|
|
8926
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8924
8927
|
|
|
8925
8928
|
/*
|
|
8926
8929
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11655,7 +11658,7 @@ const EventType = {
|
|
|
11655
11658
|
|
|
11656
11659
|
/* eslint-disable header/header */
|
|
11657
11660
|
const name = "@azure/msal-browser";
|
|
11658
|
-
const version = "5.
|
|
11661
|
+
const version = "5.29.0";
|
|
11659
11662
|
|
|
11660
11663
|
/*
|
|
11661
11664
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -14548,37 +14551,38 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
14548
14551
|
}, e);
|
|
14549
14552
|
throw e;
|
|
14550
14553
|
}
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14554
|
+
if (this.apiId === ApiId.acquireTokenSilent_silentFlow) {
|
|
14555
|
+
let cachedResult;
|
|
14556
|
+
try {
|
|
14557
|
+
cachedResult = await this.acquireTokensFromCache(this.accountId, nativeRequest, cacheLookupPolicy);
|
|
14558
|
+
}
|
|
14559
|
+
catch (e) {
|
|
14560
|
+
if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
|
|
14561
|
+
this.logger.info("0eitbc", this.correlationId);
|
|
14562
|
+
nativeATMeasurement.add({
|
|
14563
|
+
isNativeBroker: false,
|
|
14564
|
+
});
|
|
14565
|
+
nativeATMeasurement.end({
|
|
14566
|
+
success: false,
|
|
14567
|
+
});
|
|
14568
|
+
await this.resetGeneratedDpopRequestKeyBestEffort(nativeRequest);
|
|
14569
|
+
throw e;
|
|
14570
|
+
}
|
|
14571
|
+
// continue with a native call for any and all errors
|
|
14572
|
+
this.logger.info("0957j1", this.correlationId);
|
|
14573
|
+
}
|
|
14574
|
+
if (cachedResult) {
|
|
14575
|
+
// Served from the native internal cache; token did not come directly from the broker
|
|
14559
14576
|
nativeATMeasurement.add({
|
|
14560
14577
|
isNativeBroker: false,
|
|
14561
14578
|
});
|
|
14562
14579
|
nativeATMeasurement.end({
|
|
14563
|
-
success:
|
|
14580
|
+
success: true,
|
|
14581
|
+
fromCache: true,
|
|
14564
14582
|
});
|
|
14565
|
-
await this.
|
|
14566
|
-
|
|
14583
|
+
await this.resetGeneratedDpopRequestKey(nativeRequest);
|
|
14584
|
+
return cachedResult;
|
|
14567
14585
|
}
|
|
14568
|
-
// continue with a native call for any and all errors
|
|
14569
|
-
this.logger.info("0957j1", this.correlationId);
|
|
14570
|
-
}
|
|
14571
|
-
if (cachedResult) {
|
|
14572
|
-
// Served from the native internal cache; token did not come directly from the broker
|
|
14573
|
-
nativeATMeasurement.add({
|
|
14574
|
-
isNativeBroker: false,
|
|
14575
|
-
});
|
|
14576
|
-
nativeATMeasurement.end({
|
|
14577
|
-
success: true,
|
|
14578
|
-
fromCache: true,
|
|
14579
|
-
});
|
|
14580
|
-
await this.resetGeneratedDpopRequestKey(nativeRequest);
|
|
14581
|
-
return cachedResult;
|
|
14582
14586
|
}
|
|
14583
14587
|
// dispatch the request to the broker
|
|
14584
14588
|
try {
|
|
@@ -14669,12 +14673,18 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
14669
14673
|
};
|
|
14670
14674
|
}
|
|
14671
14675
|
/**
|
|
14672
|
-
* Fetches
|
|
14676
|
+
* Fetches unexpired tokens when allowed by cache policy.
|
|
14673
14677
|
* @param nativeAccountId
|
|
14674
14678
|
* @param request
|
|
14675
|
-
* @
|
|
14679
|
+
* @param cacheLookupPolicy
|
|
14680
|
+
* @returns Cached result, or undefined when cache policy bypasses lookup.
|
|
14676
14681
|
*/
|
|
14677
|
-
async acquireTokensFromCache(nativeAccountId, request) {
|
|
14682
|
+
async acquireTokensFromCache(nativeAccountId, request, cacheLookupPolicy = CacheLookupPolicy.Default) {
|
|
14683
|
+
if (cacheLookupPolicy === CacheLookupPolicy.RefreshTokenAndNetwork ||
|
|
14684
|
+
cacheLookupPolicy === CacheLookupPolicy.Skip) {
|
|
14685
|
+
this.logger.verbose("03uwyk", this.correlationId);
|
|
14686
|
+
return undefined;
|
|
14687
|
+
}
|
|
14678
14688
|
if (!nativeAccountId) {
|
|
14679
14689
|
this.logger.warning("1ndf3e", this.correlationId);
|
|
14680
14690
|
throw createClientAuthError(noAccountFound, this.correlationId);
|
|
@@ -15024,7 +15034,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
15024
15034
|
async cacheAccount(accountEntity, kmsi, clearExistingTokens = true) {
|
|
15025
15035
|
// Store the account info and hence `nativeAccountId` in browser cache
|
|
15026
15036
|
await this.browserStorage.setAccount(accountEntity, this.correlationId, kmsi, this.apiId);
|
|
15027
|
-
// Remove
|
|
15037
|
+
// Remove cached web access and refresh tokens, preserving ID tokens.
|
|
15028
15038
|
if (clearExistingTokens) {
|
|
15029
15039
|
this.browserStorage.removeAccountContext(getAccountInfo(accountEntity), this.correlationId);
|
|
15030
15040
|
}
|