@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.29.0 2026-11-06 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v16.16.
|
|
9
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
*/
|
|
67
67
|
const POPUP_ORIGIN_CHECK_DONE = "pocd";
|
|
68
68
|
|
|
69
|
-
/*! @azure/msal-common v16.16.
|
|
69
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
70
70
|
/*
|
|
71
71
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
72
|
* Licensed under the MIT License.
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
// Token renewal offset default in seconds
|
|
306
306
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
307
307
|
|
|
308
|
-
/*! @azure/msal-common v16.16.
|
|
308
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
309
309
|
/*
|
|
310
310
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
311
311
|
* Licensed under the MIT License.
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
/*! @azure/msal-common v16.16.
|
|
337
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
338
338
|
|
|
339
339
|
/*
|
|
340
340
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
return new ClientAuthError(errorCode, correlationId, additionalMessage);
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
/*! @azure/msal-common v16.16.
|
|
360
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
361
361
|
/*
|
|
362
362
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
363
363
|
* Licensed under the MIT License.
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
userCanceled: userCanceled
|
|
444
444
|
});
|
|
445
445
|
|
|
446
|
-
/*! @azure/msal-common v16.16.
|
|
446
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
447
447
|
|
|
448
448
|
/*
|
|
449
449
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
/*! @azure/msal-common v16.16.
|
|
484
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
485
485
|
|
|
486
486
|
/*
|
|
487
487
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
return matches[2];
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
/*! @azure/msal-common v16.16.
|
|
550
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
551
551
|
|
|
552
552
|
/*
|
|
553
553
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
return updatedAccountInfo;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
/*! @azure/msal-common v16.16.
|
|
638
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
639
639
|
/*
|
|
640
640
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
641
641
|
* Licensed under the MIT License.
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
Ciam: 3,
|
|
650
650
|
};
|
|
651
651
|
|
|
652
|
-
/*! @azure/msal-common v16.16.
|
|
652
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
653
653
|
/*
|
|
654
654
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
655
655
|
* Licensed under the MIT License.
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
return null;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
/*! @azure/msal-common v16.16.
|
|
674
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
675
675
|
/*
|
|
676
676
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
677
677
|
* Licensed under the MIT License.
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
EAR: "EAR",
|
|
696
696
|
};
|
|
697
697
|
|
|
698
|
-
/*! @azure/msal-common v16.16.
|
|
698
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
699
699
|
/**
|
|
700
700
|
* Returns the AccountInfo interface for this account.
|
|
701
701
|
* @internal
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
entity.hasOwnProperty("authorityType"));
|
|
885
885
|
}
|
|
886
886
|
|
|
887
|
-
/*! @azure/msal-common v16.16.
|
|
887
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
888
888
|
/*
|
|
889
889
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
890
890
|
* Licensed under the MIT License.
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
unexpectedError: unexpectedError
|
|
902
902
|
});
|
|
903
903
|
|
|
904
|
-
/*! @azure/msal-common v16.16.
|
|
904
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
905
905
|
|
|
906
906
|
/*
|
|
907
907
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
return new ClientConfigurationError(errorCode, correlationId);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
/*! @azure/msal-common v16.16.
|
|
924
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
925
925
|
/*
|
|
926
926
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
927
927
|
* Licensed under the MIT License.
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
return headerName === undefined ? undefined : headers[headerName];
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
-
/*! @azure/msal-common v16.16.
|
|
964
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
965
965
|
/*
|
|
966
966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
967
967
|
* Licensed under the MIT License.
|
|
@@ -1031,7 +1031,7 @@
|
|
|
1031
1031
|
urlParseError: urlParseError
|
|
1032
1032
|
});
|
|
1033
1033
|
|
|
1034
|
-
/*! @azure/msal-common v16.16.
|
|
1034
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1035
1035
|
|
|
1036
1036
|
/*
|
|
1037
1037
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1090,7 +1090,7 @@
|
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
|
-
/*! @azure/msal-common v16.16.
|
|
1093
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1094
1094
|
/*
|
|
1095
1095
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1096
1096
|
* Licensed under the MIT License.
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
response.hasOwnProperty("jwks_uri"));
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
|
-
/*! @azure/msal-common v16.16.
|
|
1105
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1106
1106
|
/*
|
|
1107
1107
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1108
1108
|
* Licensed under the MIT License.
|
|
@@ -1182,7 +1182,7 @@
|
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
/*! @azure/msal-common v16.16.
|
|
1185
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1186
1186
|
|
|
1187
1187
|
/*
|
|
1188
1188
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1340,7 +1340,7 @@
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
|
|
1343
|
-
/*! @azure/msal-common v16.16.
|
|
1343
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1344
1344
|
|
|
1345
1345
|
/*
|
|
1346
1346
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1494,7 +1494,7 @@
|
|
|
1494
1494
|
return null;
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
|
-
/*! @azure/msal-common v16.16.
|
|
1497
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1498
1498
|
/*
|
|
1499
1499
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1500
1500
|
* Licensed under the MIT License.
|
|
@@ -1512,7 +1512,7 @@
|
|
|
1512
1512
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
|
-
/*! @azure/msal-common v16.16.
|
|
1515
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1516
1516
|
/*
|
|
1517
1517
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1518
1518
|
* Licensed under the MIT License.
|
|
@@ -1522,7 +1522,7 @@
|
|
|
1522
1522
|
response.hasOwnProperty("metadata"));
|
|
1523
1523
|
}
|
|
1524
1524
|
|
|
1525
|
-
/*! @azure/msal-common v16.16.
|
|
1525
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1526
1526
|
/*
|
|
1527
1527
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1528
1528
|
* Licensed under the MIT License.
|
|
@@ -1532,7 +1532,7 @@
|
|
|
1532
1532
|
response.hasOwnProperty("error_description"));
|
|
1533
1533
|
}
|
|
1534
1534
|
|
|
1535
|
-
/*! @azure/msal-common v16.16.
|
|
1535
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1536
1536
|
/*
|
|
1537
1537
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1538
1538
|
* Licensed under the MIT License.
|
|
@@ -1603,7 +1603,7 @@
|
|
|
1603
1603
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
1604
1604
|
const SetUserData = "setUserData";
|
|
1605
1605
|
|
|
1606
|
-
/*! @azure/msal-common v16.16.
|
|
1606
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1607
1607
|
/*
|
|
1608
1608
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1609
1609
|
* Licensed under the MIT License.
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
};
|
|
1697
1697
|
};
|
|
1698
1698
|
|
|
1699
|
-
/*! @azure/msal-common v16.16.
|
|
1699
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1700
1700
|
|
|
1701
1701
|
/*
|
|
1702
1702
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1807,7 +1807,7 @@
|
|
|
1807
1807
|
},
|
|
1808
1808
|
};
|
|
1809
1809
|
|
|
1810
|
-
/*! @azure/msal-common v16.16.
|
|
1810
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1811
1811
|
/*
|
|
1812
1812
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1813
1813
|
* Licensed under the MIT License.
|
|
@@ -1872,7 +1872,7 @@
|
|
|
1872
1872
|
return cachedAtSec > nowSeconds();
|
|
1873
1873
|
}
|
|
1874
1874
|
|
|
1875
|
-
/*! @azure/msal-common v16.16.
|
|
1875
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
1876
1876
|
|
|
1877
1877
|
/*
|
|
1878
1878
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2159,7 +2159,7 @@
|
|
|
2159
2159
|
return [...attributeTokens].sort().join(" ");
|
|
2160
2160
|
}
|
|
2161
2161
|
|
|
2162
|
-
/*! @azure/msal-common v16.16.
|
|
2162
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
2163
2163
|
|
|
2164
2164
|
/*
|
|
2165
2165
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3127,7 +3127,7 @@
|
|
|
3127
3127
|
};
|
|
3128
3128
|
}
|
|
3129
3129
|
|
|
3130
|
-
/*! @azure/msal-common v16.16.
|
|
3130
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3131
3131
|
|
|
3132
3132
|
/*
|
|
3133
3133
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3161,7 +3161,7 @@
|
|
|
3161
3161
|
}
|
|
3162
3162
|
}
|
|
3163
3163
|
|
|
3164
|
-
/*! @azure/msal-common v16.16.
|
|
3164
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3165
3165
|
|
|
3166
3166
|
/*
|
|
3167
3167
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3357,7 +3357,7 @@
|
|
|
3357
3357
|
}
|
|
3358
3358
|
}
|
|
3359
3359
|
|
|
3360
|
-
/*! @azure/msal-common v16.16.
|
|
3360
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3361
3361
|
|
|
3362
3362
|
/*
|
|
3363
3363
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3857,7 +3857,7 @@
|
|
|
3857
3857
|
}
|
|
3858
3858
|
}
|
|
3859
3859
|
|
|
3860
|
-
/*! @azure/msal-common v16.16.
|
|
3860
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3861
3861
|
|
|
3862
3862
|
/*
|
|
3863
3863
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3988,7 +3988,7 @@
|
|
|
3988
3988
|
}
|
|
3989
3989
|
}
|
|
3990
3990
|
|
|
3991
|
-
/*! @azure/msal-common v16.16.
|
|
3991
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
3992
3992
|
|
|
3993
3993
|
/*
|
|
3994
3994
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4036,7 +4036,7 @@
|
|
|
4036
4036
|
},
|
|
4037
4037
|
};
|
|
4038
4038
|
|
|
4039
|
-
/*! @azure/msal-common v16.16.
|
|
4039
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4040
4040
|
|
|
4041
4041
|
/*
|
|
4042
4042
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4059,7 +4059,7 @@
|
|
|
4059
4059
|
},
|
|
4060
4060
|
};
|
|
4061
4061
|
|
|
4062
|
-
/*! @azure/msal-common v16.16.
|
|
4062
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4063
4063
|
/*
|
|
4064
4064
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4065
4065
|
* Licensed under the MIT License.
|
|
@@ -4348,12 +4348,12 @@
|
|
|
4348
4348
|
}
|
|
4349
4349
|
}
|
|
4350
4350
|
|
|
4351
|
-
/*! @azure/msal-common v16.16.
|
|
4351
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4352
4352
|
/* eslint-disable header/header */
|
|
4353
4353
|
const name$1 = "@azure/msal-common";
|
|
4354
|
-
const version$1 = "16.16.
|
|
4354
|
+
const version$1 = "16.16.1";
|
|
4355
4355
|
|
|
4356
|
-
/*! @azure/msal-common v16.16.
|
|
4356
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4357
4357
|
/*
|
|
4358
4358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4359
4359
|
* Licensed under the MIT License.
|
|
@@ -4361,7 +4361,7 @@
|
|
|
4361
4361
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
4362
4362
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
4363
4363
|
|
|
4364
|
-
/*! @azure/msal-common v16.16.
|
|
4364
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4365
4365
|
|
|
4366
4366
|
/*
|
|
4367
4367
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4399,7 +4399,7 @@
|
|
|
4399
4399
|
}
|
|
4400
4400
|
}
|
|
4401
4401
|
|
|
4402
|
-
/*! @azure/msal-common v16.16.
|
|
4402
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
4403
4403
|
|
|
4404
4404
|
/*
|
|
4405
4405
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4863,19 +4863,25 @@
|
|
|
4863
4863
|
* @param account
|
|
4864
4864
|
*/
|
|
4865
4865
|
removeAccount(account, correlationId) {
|
|
4866
|
-
this.removeAccountContext(account, correlationId);
|
|
4867
4866
|
const accountKeys = this.getAccountKeys();
|
|
4868
4867
|
const keyFilter = (key) => {
|
|
4869
4868
|
return (key.includes(account.homeAccountId) &&
|
|
4870
4869
|
key.includes(account.environment));
|
|
4871
4870
|
};
|
|
4871
|
+
this.getTokenKeys()
|
|
4872
|
+
.idToken.filter(keyFilter)
|
|
4873
|
+
.forEach((key) => {
|
|
4874
|
+
this.removeIdToken(key, correlationId);
|
|
4875
|
+
});
|
|
4876
|
+
this.removeAccountContext(account, correlationId);
|
|
4872
4877
|
accountKeys.filter(keyFilter).forEach((key) => {
|
|
4873
4878
|
this.removeItem(key, correlationId);
|
|
4874
4879
|
this.performanceClient.incrementFields({ accountsRemoved: 1 }, correlationId);
|
|
4875
4880
|
});
|
|
4876
4881
|
}
|
|
4877
4882
|
/**
|
|
4878
|
-
* Removes
|
|
4883
|
+
* Removes access and refresh tokens associated with the provided account,
|
|
4884
|
+
* preserving the account and its ID tokens.
|
|
4879
4885
|
* @param account
|
|
4880
4886
|
*/
|
|
4881
4887
|
removeAccountContext(account, correlationId) {
|
|
@@ -4884,9 +4890,6 @@
|
|
|
4884
4890
|
return (key.includes(account.homeAccountId) &&
|
|
4885
4891
|
key.includes(account.environment));
|
|
4886
4892
|
};
|
|
4887
|
-
allTokenKeys.idToken.filter(keyFilter).forEach((key) => {
|
|
4888
|
-
this.removeIdToken(key, correlationId);
|
|
4889
|
-
});
|
|
4890
4893
|
allTokenKeys.accessToken.filter(keyFilter).forEach((key) => {
|
|
4891
4894
|
this.removeAccessToken(key, correlationId);
|
|
4892
4895
|
});
|
|
@@ -5624,7 +5627,7 @@
|
|
|
5624
5627
|
}
|
|
5625
5628
|
}
|
|
5626
5629
|
|
|
5627
|
-
/*! @azure/msal-common v16.16.
|
|
5630
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5628
5631
|
/*
|
|
5629
5632
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5630
5633
|
* Licensed under the MIT License.
|
|
@@ -5689,7 +5692,7 @@
|
|
|
5689
5692
|
"fetchRetryCount",
|
|
5690
5693
|
]);
|
|
5691
5694
|
|
|
5692
|
-
/*! @azure/msal-common v16.16.
|
|
5695
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5693
5696
|
|
|
5694
5697
|
/*
|
|
5695
5698
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5747,7 +5750,7 @@
|
|
|
5747
5750
|
}
|
|
5748
5751
|
}
|
|
5749
5752
|
|
|
5750
|
-
/*! @azure/msal-common v16.16.
|
|
5753
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5751
5754
|
|
|
5752
5755
|
/*
|
|
5753
5756
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5845,7 +5848,7 @@
|
|
|
5845
5848
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
5846
5849
|
}
|
|
5847
5850
|
|
|
5848
|
-
/*! @azure/msal-common v16.16.
|
|
5851
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5849
5852
|
/*
|
|
5850
5853
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5851
5854
|
* Licensed under the MIT License.
|
|
@@ -5872,7 +5875,7 @@
|
|
|
5872
5875
|
}
|
|
5873
5876
|
}
|
|
5874
5877
|
|
|
5875
|
-
/*! @azure/msal-common v16.16.
|
|
5878
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5876
5879
|
|
|
5877
5880
|
/*
|
|
5878
5881
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5893,7 +5896,7 @@
|
|
|
5893
5896
|
return new JoseHeaderError(code, correlationId);
|
|
5894
5897
|
}
|
|
5895
5898
|
|
|
5896
|
-
/*! @azure/msal-common v16.16.
|
|
5899
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5897
5900
|
/*
|
|
5898
5901
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5899
5902
|
* Licensed under the MIT License.
|
|
@@ -5918,7 +5921,7 @@
|
|
|
5918
5921
|
return Object.getPrototypeOf(value) === proto;
|
|
5919
5922
|
}
|
|
5920
5923
|
|
|
5921
|
-
/*! @azure/msal-common v16.16.
|
|
5924
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5922
5925
|
/*
|
|
5923
5926
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5924
5927
|
* Licensed under the MIT License.
|
|
@@ -5928,7 +5931,7 @@
|
|
|
5928
5931
|
const missingJwkError = "missing_jwk_error";
|
|
5929
5932
|
const invalidJwkError = "invalid_jwk_error";
|
|
5930
5933
|
|
|
5931
|
-
/*! @azure/msal-common v16.16.
|
|
5934
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5932
5935
|
|
|
5933
5936
|
/*
|
|
5934
5937
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5994,7 +5997,7 @@
|
|
|
5994
5997
|
}
|
|
5995
5998
|
}
|
|
5996
5999
|
|
|
5997
|
-
/*! @azure/msal-common v16.16.
|
|
6000
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
5998
6001
|
|
|
5999
6002
|
/*
|
|
6000
6003
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6095,7 +6098,7 @@
|
|
|
6095
6098
|
}
|
|
6096
6099
|
}
|
|
6097
6100
|
|
|
6098
|
-
/*! @azure/msal-common v16.16.
|
|
6101
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6099
6102
|
|
|
6100
6103
|
/*
|
|
6101
6104
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6250,7 +6253,7 @@
|
|
|
6250
6253
|
}
|
|
6251
6254
|
}
|
|
6252
6255
|
|
|
6253
|
-
/*! @azure/msal-common v16.16.
|
|
6256
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6254
6257
|
/*
|
|
6255
6258
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6256
6259
|
* Licensed under the MIT License.
|
|
@@ -6314,7 +6317,7 @@
|
|
|
6314
6317
|
uiNotAllowed: uiNotAllowed
|
|
6315
6318
|
});
|
|
6316
6319
|
|
|
6317
|
-
/*! @azure/msal-common v16.16.
|
|
6320
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6318
6321
|
|
|
6319
6322
|
/*
|
|
6320
6323
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6381,7 +6384,7 @@
|
|
|
6381
6384
|
return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
|
|
6382
6385
|
}
|
|
6383
6386
|
|
|
6384
|
-
/*! @azure/msal-common v16.16.
|
|
6387
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6385
6388
|
|
|
6386
6389
|
/*
|
|
6387
6390
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6400,7 +6403,7 @@
|
|
|
6400
6403
|
}
|
|
6401
6404
|
}
|
|
6402
6405
|
|
|
6403
|
-
/*! @azure/msal-common v16.16.
|
|
6406
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6404
6407
|
|
|
6405
6408
|
/*
|
|
6406
6409
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6471,7 +6474,7 @@
|
|
|
6471
6474
|
}
|
|
6472
6475
|
}
|
|
6473
6476
|
|
|
6474
|
-
/*! @azure/msal-common v16.16.
|
|
6477
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6475
6478
|
|
|
6476
6479
|
/*
|
|
6477
6480
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6899,7 +6902,7 @@
|
|
|
6899
6902
|
return baseAccount;
|
|
6900
6903
|
}
|
|
6901
6904
|
|
|
6902
|
-
/*! @azure/msal-common v16.16.
|
|
6905
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6903
6906
|
/*
|
|
6904
6907
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6905
6908
|
* Licensed under the MIT License.
|
|
@@ -6909,7 +6912,7 @@
|
|
|
6909
6912
|
UPN: "UPN",
|
|
6910
6913
|
};
|
|
6911
6914
|
|
|
6912
|
-
/*! @azure/msal-common v16.16.
|
|
6915
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6913
6916
|
/*
|
|
6914
6917
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6915
6918
|
* Licensed under the MIT License.
|
|
@@ -6928,7 +6931,7 @@
|
|
|
6928
6931
|
}
|
|
6929
6932
|
}
|
|
6930
6933
|
|
|
6931
|
-
/*! @azure/msal-common v16.16.
|
|
6934
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6932
6935
|
|
|
6933
6936
|
/*
|
|
6934
6937
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6952,7 +6955,7 @@
|
|
|
6952
6955
|
};
|
|
6953
6956
|
}
|
|
6954
6957
|
|
|
6955
|
-
/*! @azure/msal-common v16.16.
|
|
6958
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
6956
6959
|
|
|
6957
6960
|
/*
|
|
6958
6961
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7042,7 +7045,7 @@
|
|
|
7042
7045
|
return undefined;
|
|
7043
7046
|
}
|
|
7044
7047
|
|
|
7045
|
-
/*! @azure/msal-common v16.16.
|
|
7048
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7046
7049
|
|
|
7047
7050
|
/*
|
|
7048
7051
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7073,7 +7076,7 @@
|
|
|
7073
7076
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
7074
7077
|
}
|
|
7075
7078
|
|
|
7076
|
-
/*! @azure/msal-common v16.16.
|
|
7079
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7077
7080
|
|
|
7078
7081
|
/*
|
|
7079
7082
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7207,7 +7210,7 @@
|
|
|
7207
7210
|
return response;
|
|
7208
7211
|
}
|
|
7209
7212
|
|
|
7210
|
-
/*! @azure/msal-common v16.16.
|
|
7213
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7211
7214
|
|
|
7212
7215
|
/*
|
|
7213
7216
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7474,7 +7477,7 @@
|
|
|
7474
7477
|
}
|
|
7475
7478
|
}
|
|
7476
7479
|
|
|
7477
|
-
/*! @azure/msal-common v16.16.
|
|
7480
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7478
7481
|
|
|
7479
7482
|
/*
|
|
7480
7483
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7704,7 +7707,7 @@
|
|
|
7704
7707
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7705
7708
|
}
|
|
7706
7709
|
|
|
7707
|
-
/*! @azure/msal-common v16.16.
|
|
7710
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
7708
7711
|
|
|
7709
7712
|
/*
|
|
7710
7713
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8253,7 +8256,7 @@
|
|
|
8253
8256
|
}
|
|
8254
8257
|
}
|
|
8255
8258
|
|
|
8256
|
-
/*! @azure/msal-common v16.16.
|
|
8259
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8257
8260
|
|
|
8258
8261
|
/*
|
|
8259
8262
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8488,7 +8491,7 @@
|
|
|
8488
8491
|
}
|
|
8489
8492
|
}
|
|
8490
8493
|
|
|
8491
|
-
/*! @azure/msal-common v16.16.
|
|
8494
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8492
8495
|
|
|
8493
8496
|
/*
|
|
8494
8497
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8781,7 +8784,7 @@
|
|
|
8781
8784
|
clearNativeBrokerErrorCode() { }
|
|
8782
8785
|
}
|
|
8783
8786
|
|
|
8784
|
-
/*! @azure/msal-common v16.16.
|
|
8787
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8785
8788
|
|
|
8786
8789
|
/*
|
|
8787
8790
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8908,7 +8911,7 @@
|
|
|
8908
8911
|
}
|
|
8909
8912
|
}
|
|
8910
8913
|
|
|
8911
|
-
/*! @azure/msal-common v16.16.
|
|
8914
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8912
8915
|
|
|
8913
8916
|
/*
|
|
8914
8917
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8924,7 +8927,7 @@
|
|
|
8924
8927
|
},
|
|
8925
8928
|
};
|
|
8926
8929
|
|
|
8927
|
-
/*! @azure/msal-common v16.16.
|
|
8930
|
+
/*! @azure/msal-common v16.16.1 2026-11-06 */
|
|
8928
8931
|
|
|
8929
8932
|
/*
|
|
8930
8933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11659,7 +11662,7 @@
|
|
|
11659
11662
|
|
|
11660
11663
|
/* eslint-disable header/header */
|
|
11661
11664
|
const name = "@azure/msal-browser";
|
|
11662
|
-
const version = "5.
|
|
11665
|
+
const version = "5.29.0";
|
|
11663
11666
|
|
|
11664
11667
|
/*
|
|
11665
11668
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -14552,37 +14555,38 @@
|
|
|
14552
14555
|
}, e);
|
|
14553
14556
|
throw e;
|
|
14554
14557
|
}
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
14558
|
+
if (this.apiId === ApiId.acquireTokenSilent_silentFlow) {
|
|
14559
|
+
let cachedResult;
|
|
14560
|
+
try {
|
|
14561
|
+
cachedResult = await this.acquireTokensFromCache(this.accountId, nativeRequest, cacheLookupPolicy);
|
|
14562
|
+
}
|
|
14563
|
+
catch (e) {
|
|
14564
|
+
if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
|
|
14565
|
+
this.logger.info("0eitbc", this.correlationId);
|
|
14566
|
+
nativeATMeasurement.add({
|
|
14567
|
+
isNativeBroker: false,
|
|
14568
|
+
});
|
|
14569
|
+
nativeATMeasurement.end({
|
|
14570
|
+
success: false,
|
|
14571
|
+
});
|
|
14572
|
+
await this.resetGeneratedDpopRequestKeyBestEffort(nativeRequest);
|
|
14573
|
+
throw e;
|
|
14574
|
+
}
|
|
14575
|
+
// continue with a native call for any and all errors
|
|
14576
|
+
this.logger.info("0957j1", this.correlationId);
|
|
14577
|
+
}
|
|
14578
|
+
if (cachedResult) {
|
|
14579
|
+
// Served from the native internal cache; token did not come directly from the broker
|
|
14563
14580
|
nativeATMeasurement.add({
|
|
14564
14581
|
isNativeBroker: false,
|
|
14565
14582
|
});
|
|
14566
14583
|
nativeATMeasurement.end({
|
|
14567
|
-
success:
|
|
14584
|
+
success: true,
|
|
14585
|
+
fromCache: true,
|
|
14568
14586
|
});
|
|
14569
|
-
await this.
|
|
14570
|
-
|
|
14587
|
+
await this.resetGeneratedDpopRequestKey(nativeRequest);
|
|
14588
|
+
return cachedResult;
|
|
14571
14589
|
}
|
|
14572
|
-
// continue with a native call for any and all errors
|
|
14573
|
-
this.logger.info("0957j1", this.correlationId);
|
|
14574
|
-
}
|
|
14575
|
-
if (cachedResult) {
|
|
14576
|
-
// Served from the native internal cache; token did not come directly from the broker
|
|
14577
|
-
nativeATMeasurement.add({
|
|
14578
|
-
isNativeBroker: false,
|
|
14579
|
-
});
|
|
14580
|
-
nativeATMeasurement.end({
|
|
14581
|
-
success: true,
|
|
14582
|
-
fromCache: true,
|
|
14583
|
-
});
|
|
14584
|
-
await this.resetGeneratedDpopRequestKey(nativeRequest);
|
|
14585
|
-
return cachedResult;
|
|
14586
14590
|
}
|
|
14587
14591
|
// dispatch the request to the broker
|
|
14588
14592
|
try {
|
|
@@ -14673,12 +14677,18 @@
|
|
|
14673
14677
|
};
|
|
14674
14678
|
}
|
|
14675
14679
|
/**
|
|
14676
|
-
* Fetches
|
|
14680
|
+
* Fetches unexpired tokens when allowed by cache policy.
|
|
14677
14681
|
* @param nativeAccountId
|
|
14678
14682
|
* @param request
|
|
14679
|
-
* @
|
|
14683
|
+
* @param cacheLookupPolicy
|
|
14684
|
+
* @returns Cached result, or undefined when cache policy bypasses lookup.
|
|
14680
14685
|
*/
|
|
14681
|
-
async acquireTokensFromCache(nativeAccountId, request) {
|
|
14686
|
+
async acquireTokensFromCache(nativeAccountId, request, cacheLookupPolicy = CacheLookupPolicy.Default) {
|
|
14687
|
+
if (cacheLookupPolicy === CacheLookupPolicy.RefreshTokenAndNetwork ||
|
|
14688
|
+
cacheLookupPolicy === CacheLookupPolicy.Skip) {
|
|
14689
|
+
this.logger.verbose("03uwyk", this.correlationId);
|
|
14690
|
+
return undefined;
|
|
14691
|
+
}
|
|
14682
14692
|
if (!nativeAccountId) {
|
|
14683
14693
|
this.logger.warning("1ndf3e", this.correlationId);
|
|
14684
14694
|
throw createClientAuthError(noAccountFound, this.correlationId);
|
|
@@ -15028,7 +15038,7 @@
|
|
|
15028
15038
|
async cacheAccount(accountEntity, kmsi, clearExistingTokens = true) {
|
|
15029
15039
|
// Store the account info and hence `nativeAccountId` in browser cache
|
|
15030
15040
|
await this.browserStorage.setAccount(accountEntity, this.correlationId, kmsi, this.apiId);
|
|
15031
|
-
// Remove
|
|
15041
|
+
// Remove cached web access and refresh tokens, preserving ID tokens.
|
|
15032
15042
|
if (clearExistingTokens) {
|
|
15033
15043
|
this.browserStorage.removeAccountContext(getAccountInfo(accountEntity), this.correlationId);
|
|
15034
15044
|
}
|