@azure/msal-browser 5.28.0 → 5.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +6 -2
- package/dist/interaction_client/RedirectClient.mjs.map +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 +5 -1
- package/dist/interaction_client/StandardInteractionClient.mjs.map +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 +1160 -765
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +1160 -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 +187 -117
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +187 -117
- 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 +39 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +39 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- 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/interaction_client/RedirectClient.ts +5 -1
- package/src/interaction_client/StandardInteractionClient.ts +4 -0
- 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/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.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
|
@@ -3,17 +3,13 @@ import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/Compl
|
|
|
3
3
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
4
4
|
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* `CompletedStateV2` carries `CustomAuthAccountData`. `CompletedStateV2` and the
|
|
9
|
-
* account payload are declared together because they always occur together.
|
|
6
|
+
* States returned when signing in from a V2 continuation.
|
|
7
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
10
8
|
*/
|
|
11
9
|
export type SignInContinuationResultStateV2 = CompletedStateV2 | FailedStateV2;
|
|
12
10
|
/**
|
|
13
|
-
* Result of signing the user in from a V2 continuation.
|
|
14
|
-
*
|
|
15
|
-
* failure and signed-in account data on success. This is the flow's completion
|
|
16
|
-
* point, so a successful result reaches `CompletedStateV2`.
|
|
11
|
+
* Result of signing the user in from a V2 continuation.
|
|
12
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
17
13
|
*/
|
|
18
14
|
export type SignInContinuationResultV2 = CustomAuthResultV2<SignInContinuationResultStateV2, CustomAuthAccountData>;
|
|
19
15
|
//# sourceMappingURL=SignInContinuationResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInContinuationResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG
|
|
1
|
+
{"version":3,"file":"SignInContinuationResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;GAGG;AACH,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,CACvD,+BAA+B,EAC/B,qBAAqB,CACxB,CAAC"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
2
2
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
3
|
-
import type {
|
|
4
|
-
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
5
|
-
import type { PasswordRequiredStateV2 } from "../state/PasswordRequiredStateV2.js";
|
|
3
|
+
import type { PasswordRequiredStateV2 } from "../../../../core/auth_flow/v2/state/PasswordRequiredStateV2.js";
|
|
6
4
|
import type { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
7
5
|
import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
|
|
8
|
-
import type { AuthMethodRegistrationRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.js";
|
|
9
6
|
/**
|
|
10
7
|
* States returned when native auth V2 sign-in starts.
|
|
8
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
11
9
|
*/
|
|
12
|
-
export type SignInStartResultStateV2 = PasswordRequiredStateV2 | CodeRequiredStateV2 | AuthMethodSelectionRequiredStateV2 |
|
|
10
|
+
export type SignInStartResultStateV2 = PasswordRequiredStateV2 | CodeRequiredStateV2 | AuthMethodSelectionRequiredStateV2 | FailedStateV2;
|
|
13
11
|
/**
|
|
14
12
|
* Result of starting native auth V2 sign-in.
|
|
13
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
15
14
|
*/
|
|
16
|
-
export type SignInStartResultV2 = CustomAuthResultV2<SignInStartResultStateV2,
|
|
15
|
+
export type SignInStartResultV2 = CustomAuthResultV2<SignInStartResultStateV2, undefined>;
|
|
17
16
|
//# sourceMappingURL=SignInStartResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SignInStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gEAAgE,CAAC;AAC9G,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,2EAA2E,CAAC;AACpI,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEtG;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAC9B,uBAAuB,GACvB,mBAAmB,GACnB,kCAAkC,GAClC,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAChD,wBAAwB,EACxB,SAAS,CACZ,CAAC"}
|
|
@@ -2,16 +2,13 @@ import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/Auth
|
|
|
2
2
|
import type { SignInContinuationStateParametersV2 } from "./SignInStateParametersV2.js";
|
|
3
3
|
import type { SignInContinuationResultV2 } from "../result/SignInContinuationResultV2.js";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* state without duplicating the token-acquisition behavior.
|
|
5
|
+
* State returned when a completed V2 flow can sign the user in.
|
|
6
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
7
|
*/
|
|
9
8
|
export declare class SignInContinuationStateV2 extends AuthFlowActionRequiredStateBase<SignInContinuationStateParametersV2> {
|
|
10
9
|
readonly stateType = "signInContinuation";
|
|
11
10
|
/**
|
|
12
|
-
* Signs the user in
|
|
13
|
-
* flow. The result either reaches the completed state with the signed-in
|
|
14
|
-
* account data or reports why the follow-up sign-in could not complete.
|
|
11
|
+
* Signs the user in after completing the V2 flow.
|
|
15
12
|
* @returns The result of completing the continuation sign-in.
|
|
16
13
|
*/
|
|
17
14
|
signIn(): Promise<SignInContinuationResultV2>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInContinuationStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAI9F,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAE1F
|
|
1
|
+
{"version":3,"file":"SignInContinuationStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAI9F,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAE1F;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,+BAA+B,CAAC,mCAAmC,CAAC;IAC/G,QAAQ,CAAC,SAAS,wBAAwB;IAE1C;;;OAGG;IACG,MAAM,IAAI,OAAO,CAAC,0BAA0B,CAAC;CAqCtD"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { CustomAuthActionRequiredStateParametersV2 } from "../../../../core/auth_flow/v2/state/CustomAuthStateParametersV2.js";
|
|
2
2
|
export type SignInContinuationStateParametersV2 = CustomAuthActionRequiredStateParametersV2;
|
|
3
|
-
export type PasswordRequiredStateParametersV2 = CustomAuthActionRequiredStateParametersV2;
|
|
4
3
|
//# sourceMappingURL=SignInStateParametersV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AAEpI,MAAM,MAAM,mCAAmC,GAC3C,yCAAyC,CAAC
|
|
1
|
+
{"version":3,"file":"SignInStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AAEpI,MAAM,MAAM,mCAAmC,GAC3C,yCAAyC,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
2
2
|
import type { CodeRequiredStateParametersV2, CustomAuthActionRequiredStateParametersV2 } from "../../../../core/auth_flow/v2/state/CustomAuthStateParametersV2.js";
|
|
3
|
+
import { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
3
4
|
import type { FlowMFARequiredResultV2, FlowPasswordRequiredResultV2 } from "../../../../core/interaction_client/v2/result/FlowActionResultV2.js";
|
|
4
5
|
import type { RequestChallengeResultV2 } from "../../../../core/auth_flow/v2/result/RequestChallengeResultV2.js";
|
|
5
6
|
export declare class SignInStateTransitionHandlerV2 {
|
|
6
7
|
handlePasswordRequired(result: FlowPasswordRequiredResultV2, stateParameters: CustomAuthActionRequiredStateParametersV2): RequestChallengeResultV2;
|
|
7
|
-
handleMfaRequired(result: FlowMFARequiredResultV2, stateParameters: CodeRequiredStateParametersV2):
|
|
8
|
+
handleMfaRequired(result: FlowMFARequiredResultV2, stateParameters: CodeRequiredStateParametersV2): CustomAuthResultV2<AuthMethodSelectionRequiredStateV2, undefined>;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=SignInStateTransitionHandlerV2.d.ts.map
|
package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInStateTransitionHandlerV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignInStateTransitionHandlerV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EACR,6BAA6B,EAC7B,yCAAyC,EAC5C,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAAE,kCAAkC,EAAE,MAAM,2EAA2E,CAAC;AAC/H,OAAO,KAAK,EACR,uBAAuB,EACvB,4BAA4B,EAC/B,MAAM,qEAAqE,CAAC;AAG7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kEAAkE,CAAC;AAEjH,qBAAa,8BAA8B;IACvC,sBAAsB,CAClB,MAAM,EAAE,4BAA4B,EACpC,eAAe,EAAE,yCAAyC,GAC3D,wBAAwB;IAY3B,iBAAiB,CACb,MAAM,EAAE,uBAAuB,EAC/B,eAAe,EAAE,6BAA6B,GAC/C,kBAAkB,CAAC,kCAAkC,EAAE,SAAS,CAAC;CAgBvE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
2
|
+
import type { AuthMethodRegistrationRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.js";
|
|
3
|
+
import type { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
4
|
+
import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
|
|
5
|
+
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
6
|
+
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
7
|
+
/**
|
|
8
|
+
* States returned after submitting an existing-account code during sign-up.
|
|
9
|
+
* Authentication can complete or require enrollment or MFA method selection.
|
|
10
|
+
*/
|
|
11
|
+
export type ExistingAccountSubmitCodeResultStateV2 = AuthMethodSelectionRequiredStateV2 | AuthMethodRegistrationRequiredStateV2 | CompletedStateV2 | FailedStateV2;
|
|
12
|
+
/**
|
|
13
|
+
* Result of submitting an existing-account code during sign-up. Account data
|
|
14
|
+
* is present when authentication completes successfully.
|
|
15
|
+
*/
|
|
16
|
+
export type ExistingAccountSubmitCodeResultV2 = CustomAuthResultV2<ExistingAccountSubmitCodeResultStateV2, CustomAuthAccountData | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* States returned after submitting an existing-account password during sign-up.
|
|
19
|
+
* Authentication can complete or require enrollment or MFA method selection.
|
|
20
|
+
*/
|
|
21
|
+
export type ExistingAccountSubmitPasswordResultStateV2 = AuthMethodSelectionRequiredStateV2 | AuthMethodRegistrationRequiredStateV2 | CompletedStateV2 | FailedStateV2;
|
|
22
|
+
/**
|
|
23
|
+
* Result of submitting an existing-account password during sign-up. Account
|
|
24
|
+
* data is present when authentication completes successfully.
|
|
25
|
+
*/
|
|
26
|
+
export type ExistingAccountSubmitPasswordResultV2 = CustomAuthResultV2<ExistingAccountSubmitPasswordResultStateV2, CustomAuthAccountData | undefined>;
|
|
27
|
+
//# sourceMappingURL=ExistingAccountActionResultsV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExistingAccountActionResultsV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,8EAA8E,CAAC;AAC1I,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,2EAA2E,CAAC;AACpI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;GAGG;AACH,MAAM,MAAM,sCAAsC,GAC5C,kCAAkC,GAClC,qCAAqC,GACrC,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,iCAAiC,GAAG,kBAAkB,CAC9D,sCAAsC,EACtC,qBAAqB,GAAG,SAAS,CACpC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,0CAA0C,GAChD,kCAAkC,GAClC,qCAAqC,GACrC,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,qCAAqC,GAAG,kBAAkB,CAClE,0CAA0C,EAC1C,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
2
2
|
import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
|
|
3
3
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ExistingAccountCodeRequiredStateV2 } from "../state/ExistingAccountCodeRequiredStateV2.js";
|
|
5
|
+
import type { ExistingAccountPasswordRequiredStateV2 } from "../state/ExistingAccountPasswordRequiredStateV2.js";
|
|
6
|
+
import type { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
6
7
|
/**
|
|
7
8
|
* States returned when native auth V2 sign-up starts.
|
|
9
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
10
|
*/
|
|
9
|
-
export type SignUpStartResultStateV2 = CodeRequiredStateV2 |
|
|
11
|
+
export type SignUpStartResultStateV2 = CodeRequiredStateV2 | ExistingAccountCodeRequiredStateV2 | ExistingAccountPasswordRequiredStateV2 | AuthMethodSelectionRequiredStateV2 | FailedStateV2;
|
|
10
12
|
/**
|
|
11
13
|
* Result of starting native auth V2 sign-up.
|
|
14
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
12
15
|
*/
|
|
13
16
|
export type SignUpStartResultV2 = CustomAuthResultV2<SignUpStartResultStateV2>;
|
|
14
17
|
//# sourceMappingURL=SignUpStartResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SignUpStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,2EAA2E,CAAC;AAEpI;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAC9B,mBAAmB,GACnB,kCAAkC,GAClC,sCAAsC,GACtC,kCAAkC,GAClC,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
2
2
|
import type { AuthMethodRegistrationRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { PasswordRequiredStateV2 } from "../../../../core/auth_flow/v2/state/PasswordRequiredStateV2.js";
|
|
4
4
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
5
5
|
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import type { AttributesRequiredStateV2 } from "../state/AttributesRequiredStateV2.js";
|
|
7
|
+
/**
|
|
8
|
+
* States returned after submitting sign-up attributes.
|
|
9
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
10
|
+
*/
|
|
11
|
+
export type SubmitAttributesResultStateV2 = AttributesRequiredStateV2 | PasswordRequiredStateV2 | SignInContinuationStateV2 | AuthMethodRegistrationRequiredStateV2 | FailedStateV2;
|
|
12
|
+
/**
|
|
13
|
+
* Result of submitting sign-up attributes.
|
|
14
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
15
|
+
*/
|
|
16
|
+
export type SubmitAttributesResultV2 = CustomAuthResultV2<SubmitAttributesResultStateV2, undefined>;
|
|
8
17
|
//# sourceMappingURL=SubmitAttributesResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubmitAttributesResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,8EAA8E,CAAC;AAC1I,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SubmitAttributesResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,8EAA8E,CAAC;AAC1I,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gEAAgE,CAAC;AAC9G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GACnC,yBAAyB,GACzB,uBAAuB,GACvB,yBAAyB,GACzB,qCAAqC,GACrC,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CACrD,6BAA6B,EAC7B,SAAS,CACZ,CAAC"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import type { UserAccountAttributes } from "../../../../UserAccountAttributes.js";
|
|
2
2
|
import type { SubmitAttributesResultV2 } from "../result/SubmitAttributesResultV2.js";
|
|
3
|
-
import {
|
|
3
|
+
import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/AuthFlowState.js";
|
|
4
|
+
import type { SignUpAttributeV2 } from "../../../../core/network_client/custom_auth_api/v2/result/SignUpResultsV2.js";
|
|
4
5
|
import type { AttributesRequiredStateParametersV2 } from "./SignUpStateParametersV2.js";
|
|
5
6
|
/**
|
|
6
7
|
* State returned when sign-up requires profile or custom attributes.
|
|
8
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
7
9
|
*/
|
|
8
|
-
export declare class AttributesRequiredStateV2 extends
|
|
10
|
+
export declare class AttributesRequiredStateV2 extends AuthFlowActionRequiredStateBase<AttributesRequiredStateParametersV2> {
|
|
9
11
|
readonly stateType = "attributesRequired";
|
|
12
|
+
readonly attributes: readonly SignUpAttributeV2[];
|
|
13
|
+
constructor(stateParameters: AttributesRequiredStateParametersV2);
|
|
10
14
|
/**
|
|
11
|
-
* Submits the attributes
|
|
15
|
+
* Submits the supplied attributes, including an empty object, to the service.
|
|
16
|
+
* The returned result identifies the next step or a submission failure.
|
|
12
17
|
*/
|
|
13
18
|
submitAttributes(attributes: UserAccountAttributes): Promise<SubmitAttributesResultV2>;
|
|
14
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AttributesRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8EAA8E,CAAC;AACtH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAGxF;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,+BAA+B,CAAC,mCAAmC,CAAC;IAC/G,QAAQ,CAAC,SAAS,wBAAwB;IAE1C,QAAQ,CAAC,UAAU,EAAE,SAAS,iBAAiB,EAAE,CAAC;gBAEtC,eAAe,EAAE,mCAAmC;IAKhE;;;OAGG;IACG,gBAAgB,CAClB,UAAU,EAAE,qBAAqB,GAClC,OAAO,CAAC,wBAAwB,CAAC;CAiCvC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ChallengeVerificationStateBaseV2 } from "../../../../core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.js";
|
|
2
|
+
import type { RequestChallengeResultV2 } from "../../../../core/auth_flow/v2/result/RequestChallengeResultV2.js";
|
|
3
|
+
import type { ExistingAccountSubmitCodeResultV2 } from "../result/ExistingAccountActionResultsV2.js";
|
|
4
|
+
/**
|
|
5
|
+
* State returned when sign-up discovers an existing account that requires an
|
|
6
|
+
* email code. Submitting or resending the code preserves existing-account authentication.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ExistingAccountCodeRequiredStateV2 extends ChallengeVerificationStateBaseV2 {
|
|
9
|
+
readonly stateType = "existingAccountCodeRequired";
|
|
10
|
+
/**
|
|
11
|
+
* Submits the existing account's email code and continues authentication.
|
|
12
|
+
* The result can complete authentication or require enrollment or MFA.
|
|
13
|
+
* @param code - The email code to verify.
|
|
14
|
+
* @returns The next existing-account authentication result.
|
|
15
|
+
*/
|
|
16
|
+
submitCode(code: string): Promise<ExistingAccountSubmitCodeResultV2>;
|
|
17
|
+
/**
|
|
18
|
+
* Requests a replacement email code for the existing account. The returned
|
|
19
|
+
* state contains the fresh continuation token and challenge metadata.
|
|
20
|
+
* @returns The refreshed existing-account code state or an error.
|
|
21
|
+
*/
|
|
22
|
+
resendCode(): Promise<RequestChallengeResultV2>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=ExistingAccountCodeRequiredStateV2.d.ts.map
|
package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExistingAccountCodeRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gCAAgC,EAAE,MAAM,yEAAyE,CAAC;AAS3H,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kEAAkE,CAAC;AACjH,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAGrG;;;GAGG;AACH,qBAAa,kCAAmC,SAAQ,gCAAgC;IACpF,QAAQ,CAAC,SAAS,iCAAiC;IAEnD;;;;;OAKG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,iCAAiC,CAAC;IAmC1E;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,wBAAwB,CAAC;CA6BxD"}
|
package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/AuthFlowState.js";
|
|
2
|
+
import type { CustomAuthActionRequiredStateParametersV2 } from "../../../../core/auth_flow/v2/state/CustomAuthStateParametersV2.js";
|
|
3
|
+
import type { ExistingAccountSubmitPasswordResultV2 } from "../result/ExistingAccountActionResultsV2.js";
|
|
4
|
+
/**
|
|
5
|
+
* State returned when sign-up discovers an existing account that requires its
|
|
6
|
+
* current password. The password is verified as an authentication credential.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ExistingAccountPasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<CustomAuthActionRequiredStateParametersV2> {
|
|
9
|
+
readonly stateType = "existingAccountPasswordRequired";
|
|
10
|
+
/**
|
|
11
|
+
* Verifies the existing account's current password and continues authentication.
|
|
12
|
+
* The result can complete authentication or require enrollment or MFA.
|
|
13
|
+
* @param password - The existing account password.
|
|
14
|
+
* @returns The next existing-account authentication result.
|
|
15
|
+
*/
|
|
16
|
+
submitPassword(password: string): Promise<ExistingAccountSubmitPasswordResultV2>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ExistingAccountPasswordRequiredStateV2.d.ts.map
|
package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExistingAccountPasswordRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AAEpI,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AAGzG;;;GAGG;AACH,qBAAa,sCAAuC,SAAQ,+BAA+B,CAAC,yCAAyC,CAAC;IAClI,QAAQ,CAAC,SAAS,qCAAqC;IAEvD;;;;;OAKG;IACG,cAAc,CAChB,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,qCAAqC,CAAC;CA0BpD"}
|
package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FlowAuthMethodRegistrationRequiredResultV2, type FlowCompletedResultV2, type FlowMFARequiredResultV2 } from "../../../../core/interaction_client/v2/result/FlowActionResultV2.js";
|
|
2
|
+
import type { CustomAuthActionRequiredStateParametersV2 } from "../../../../core/auth_flow/v2/state/CustomAuthStateParametersV2.js";
|
|
3
|
+
import type { ExistingAccountSubmitCodeResultV2, ExistingAccountSubmitPasswordResultV2 } from "../result/ExistingAccountActionResultsV2.js";
|
|
4
|
+
type ExistingAccountVerificationResultV2 = FlowMFARequiredResultV2 | FlowAuthMethodRegistrationRequiredResultV2 | FlowCompletedResultV2;
|
|
5
|
+
export declare function handleExistingAccountVerificationResultV2(result: ExistingAccountVerificationResultV2, stateParameters: CustomAuthActionRequiredStateParametersV2): ExistingAccountSubmitCodeResultV2 | ExistingAccountSubmitPasswordResultV2;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=ExistingAccountStateTransitionHelperV2.d.ts.map
|
package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExistingAccountStateTransitionHelperV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.ts"],"names":[],"mappings":"AAQA,OAAO,EAIH,KAAK,0CAA0C,EAC/C,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC/B,MAAM,qEAAqE,CAAC;AAI7E,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AACpI,OAAO,KAAK,EACR,iCAAiC,EACjC,qCAAqC,EACxC,MAAM,6CAA6C,CAAC;AAErD,KAAK,mCAAmC,GAClC,uBAAuB,GACvB,0CAA0C,GAC1C,qBAAqB,CAAC;AAE5B,wBAAgB,yCAAyC,CACrD,MAAM,EAAE,mCAAmC,EAC3C,eAAe,EAAE,yCAAyC,GAC3D,iCAAiC,GAAG,qCAAqC,CA+D3E"}
|
|
@@ -7,8 +7,4 @@ export interface SignUpActionRequiredStateParametersV2 extends CustomAuthActionR
|
|
|
7
7
|
export interface AttributesRequiredStateParametersV2 extends SignUpActionRequiredStateParametersV2 {
|
|
8
8
|
attributes: SignUpAttributeV2[];
|
|
9
9
|
}
|
|
10
|
-
export interface SignUpPasswordRequiredStateParametersV2 extends SignUpActionRequiredStateParametersV2 {
|
|
11
|
-
attributes: SignUpAttributeV2[];
|
|
12
|
-
requiredPasswordAttribute: SignUpAttributeV2;
|
|
13
|
-
}
|
|
14
10
|
//# sourceMappingURL=SignUpStateParametersV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AACpI,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8EAA8E,CAAC;AACtH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,MAAM,WAAW,qCACb,SAAQ,yCAAyC;IACjD,4BAA4B,EAAE,8BAA8B,CAAC;CAChE;AAED,MAAM,WAAW,mCACb,SAAQ,qCAAqC;IAC7C,UAAU,EAAE,iBAAiB,EAAE,CAAC;CACnC
|
|
1
|
+
{"version":3,"file":"SignUpStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AACpI,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8EAA8E,CAAC;AACtH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,MAAM,WAAW,qCACb,SAAQ,yCAAyC;IACjD,4BAA4B,EAAE,8BAA8B,CAAC;CAChE;AAED,MAAM,WAAW,mCACb,SAAQ,qCAAqC;IAC7C,UAAU,EAAE,iBAAiB,EAAE,CAAC;CACnC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { VerifyChallengeResultV2 } from "../../../../core/auth_flow/v2/result/VerifyChallengeResultV2.js";
|
|
1
|
+
import { type FlowSignUpSubmitAttributesResultV2 } from "../../../../core/interaction_client/v2/result/FlowActionResultV2.js";
|
|
3
2
|
import type { SubmitAttributesResultV2 } from "../result/SubmitAttributesResultV2.js";
|
|
4
3
|
import type { SignUpActionRequiredStateParametersV2 } from "./SignUpStateParametersV2.js";
|
|
5
4
|
export declare class SignUpStateTransitionHandlerV2 {
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Maps new-account verification and attribute-submission outcomes to public states.
|
|
7
|
+
*/
|
|
8
|
+
handleAttributeSubmission(result: FlowSignUpSubmitAttributesResultV2, stateParameters: SignUpActionRequiredStateParametersV2, submission: "attribute" | "password"): SubmitAttributesResultV2;
|
|
8
9
|
private createCommonStateParameters;
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=SignUpStateTransitionHandlerV2.d.ts.map
|
package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpStateTransitionHandlerV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignUpStateTransitionHandlerV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts"],"names":[],"mappings":"AAQA,OAAO,EAKH,KAAK,kCAAkC,EAC1C,MAAM,qEAAqE,CAAC;AAG7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAGtF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,8BAA8B,CAAC;AAE1F,qBAAa,8BAA8B;IACvC;;OAEG;IACH,yBAAyB,CACrB,MAAM,EAAE,kCAAkC,EAC1C,eAAe,EAAE,qCAAqC,EACtD,UAAU,EAAE,WAAW,GAAG,UAAU,GACrC,wBAAwB;IAwD3B,OAAO,CAAC,2BAA2B;CAetC"}
|
|
@@ -62,12 +62,13 @@ export declare class PlatformAuthInteractionClient extends BaseInteractionClient
|
|
|
62
62
|
*/
|
|
63
63
|
private createSilentCacheTokenBindingParameters;
|
|
64
64
|
/**
|
|
65
|
-
* Fetches
|
|
65
|
+
* Fetches unexpired tokens when allowed by cache policy.
|
|
66
66
|
* @param nativeAccountId
|
|
67
67
|
* @param request
|
|
68
|
-
* @
|
|
68
|
+
* @param cacheLookupPolicy
|
|
69
|
+
* @returns Cached result, or undefined when cache policy bypasses lookup.
|
|
69
70
|
*/
|
|
70
|
-
protected acquireTokensFromCache(nativeAccountId: string, request: PlatformAuthRequest): Promise<AuthenticationResult>;
|
|
71
|
+
protected acquireTokensFromCache(nativeAccountId: string, request: PlatformAuthRequest, cacheLookupPolicy?: CacheLookupPolicy): Promise<AuthenticationResult | undefined>;
|
|
71
72
|
/**
|
|
72
73
|
* Acquires a token from native platform then redirects to the redirectUri instead of returning the response
|
|
73
74
|
* @param {RedirectRequest} request
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,aAAa,EAab,OAAO,EACP,kBAAkB,EAElB,0BAA0B,EAC1B,MAAM,EAKN,QAAQ,EAGR,YAAY,EAEZ,WAAW,EACX,uBAAuB,EAS1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAIH,mBAAmB,EAEtB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAGH,IAAI,EAGJ,oBAAoB,EACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAYlE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,OAAO,EACH,KAAK,EAEL,iBAAiB,EAGpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACH,qBAAqB,EAIxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAI3D,qBAAa,6BAA8B,SAAQ,qBAAqB;IACpE,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IACrD,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC/C,SAAS,CAAC,oBAAoB,EAAE,mBAAmB,CAAC;IACpD,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,8BAA8B,CACrB;gBAG7B,MAAM,EAAE,oBAAoB,EAC5B,cAAc,EAAE,mBAAmB,EACnC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,EAAE,MAAM,EACrB,sBAAsB,CAAC,EAAE,uBAAuB;IAyCpD;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAOtB;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,YAAY,GAAG,aAAa,GAAG,gBAAgB,EACxD,iBAAiB,CAAC,EAAE,iBAAiB,GACtC,OAAO,CAAC,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,aAAa,EA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AAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACvC,MAAM;IAQT,SAAS,CAAC,8BAA8B,CACpC,YAAY,CAAC,EAAE,MAAM,GACtB,IAAI,GAAG,IAAI;IAgCd;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAe3B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAYlD;;;OAGG;cACa,yBAAyB,CACrC,OAAO,EAAE,YAAY,GAAG,gBAAgB,GACzC,OAAO,CAAC,mBAAmB,CAAC;IA6I/B;;;;OAIG;IACH,OAAO,CAAC,2BAA2B;IAqCnC;;;;OAIG;YACW,wBAAwB;IA2EtC;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IAU9B;;;OAGG;YACW,gCAAgC;IAqB9C;;;;;OAKG;IACH,OAAO,CAAC,yBAAyB;IAyDjC;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAoCnC;;OAEG;IACH,OAAO,CAAC,oCAAoC;IAsB5C;;OAEG;IACH,OAAO,CAAC,2BAA2B;IA2CnC;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAqDnC;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAkBhC;;;;;OAKG;YACW,iBAAiB;IAyB/B;;;OAGG;YACW,4BAA4B;IAkD1C;;;;OAIG;YACW,sCAAsC;IAoBpD;;;OAGG;IACH,OAAO,CAAC,6BAA6B;IAarC;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;IAS7B;;;;OAIG;YACW,aAAa;YAgBb,qBAAqB;IA+BnC,OAAO,CAAC,SAAS;IA6CjB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAuDlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedirectClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/RedirectClient.ts"],"names":[],"mappings":"A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I,CAAC;IAoGhB;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,IAAI,CAAC;IAuGhB;;;OAGG;IACG,uBAAuB,CACzB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,IAAI,CAAC;IA0ChB;;;;;;;;;OASG;IACG,qBAAqB,CACvB,OAAO,EAAE,6BAA6B,EACtC,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,0BAA0B,EAC7C,OAAO,CAAC,EAAE,4BAA4B,GACvC,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IA0LvC;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CACzB,oBAAoB,EAAE,MAAM,GAC7B,CAAC,iBAAiB,GAAG,IAAI,EAAE,MAAM,CAAC;IAmErC;;;;OAIG;cACa,cAAc,CAC1B,YAAY,EAAE,iBAAiB,EAC/B,OAAO,EAAE,6BAA6B,EACtC,YAAY,EAAE,MAAM,EACpB,sBAAsB,EAAE,sBAAsB,GAC/C,OAAO,CAAC,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"RedirectClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/RedirectClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,sBAAsB,EACtB,iBAAiB,EACjB,OAAO,EACP,MAAM,EACN,kBAAkB,EAMlB,0BAA0B,EAC1B,6BAA6B,EAE7B,uBAAuB,EAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAexC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAOpE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,O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AI,EAAE,MAAM,CAAC;IAmErC;;;;OAIG;cACa,cAAc,CAC1B,YAAY,EAAE,iBAAiB,EAC/B,OAAO,EAAE,6BAA6B,EACtC,YAAY,EAAE,MAAM,EACpB,sBAAsB,EAAE,sBAAsB,GAC/C,OAAO,CAAC,oBAAoB,CAAC;IAsFhC;;;;OAIG;IACG,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAsE5D;;;;OAIG;IACG,MAAM,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IA+J9D;;;OAGG;IACH,SAAS,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM;CAepE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EAEnB,uBAAuB,EAGvB,WAAW,EACX,iBAAiB,EAGjB,UAAU,EACV,6BAA6B,EAC7B,OAAO,EACP,MAAM,EACN,kBAAkB,EAClB,SAAS,EACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,qBAAqB,EAGxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAEH,eAAe,EAClB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAOtE;;GAEG;AACH,8BAAsB,yBAA0B,SAAQ,qBAAqB;IACzE;;;OAGG;IACH,SAAS,CAAC,uBAAuB,CAC7B,aAAa,CAAC,EAAE,iBAAiB,GAClC,uBAAuB;IA6G1B;;;;OAIG;IACH,SAAS,CAAC,8BAA8B,CACpC,OAAO,EAAE,WAAW,GACrB,MAAM,GAAG,IAAI;IAyBhB;;;;;;;;;OASG;cACa,oBAAoB,CAAC,MAAM,EAAE;QACzC,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;KACzB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAgBpC;;;;;;;;;OASG;cACa,sBAAsB,CAAC,MAAM,EAAE;QAC3C,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;KACzB,GAAG,OAAO,CAAC,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EAEnB,uBAAuB,EAGvB,WAAW,EACX,iBAAiB,EAGjB,UAAU,EACV,6BAA6B,EAC7B,OAAO,EACP,MAAM,EACN,kBAAkB,EAClB,SAAS,EACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,qBAAqB,EAGxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAEH,eAAe,EAClB,M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;;;;GAYG;AACH,wBAAsB,8BAA8B,CAChD,OAAO,EAAE,eAAe,GAAG,YAAY,GAAG,gBAAgB,EAC1D,eAAe,EAAE,eAAe,EAChC,MAAM,EAAE,oBAAoB,EAC5B,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,mBAAmB,EACnC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,6BAA6B,CAAC,CA0ExC"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.28.0 2026-11-05 */
|
|
2
|
-
'use strict';
|
|
3
|
-
import { AuthFlowActionRequiredStateBase } from '../../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
|
-
import { CustomAuthResultV2 } from '../../../../core/auth_flow/v2/CustomAuthResultV2.mjs';
|
|
5
|
-
import { CompletedStateV2 } from '../../../../core/auth_flow/v2/state/CompletedStateV2.mjs';
|
|
6
|
-
import { CustomAuthAccountData } from '../../../../get_account/auth_flow/CustomAuthAccountData.mjs';
|
|
7
|
-
import { AuthMethodSelectionRequiredStateV2 } from '../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs';
|
|
8
|
-
import { FLOW_COMPLETED_V2, FLOW_AUTH_METHOD_REGISTRATION_REQUIRED_V2, FLOW_MFA_REQUIRED_V2 } from '../../../../core/interaction_client/v2/result/FlowActionResultV2.mjs';
|
|
9
|
-
import { CustomAuthError } from '../../../../core/error/CustomAuthError.mjs';
|
|
10
|
-
import { UNSUPPORTED_FLOW_TRANSITION } from '../../../../core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs';
|
|
11
|
-
import { AuthenticationFactorV2 } from '../../../../core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs';
|
|
12
|
-
import { AuthMethodRegistrationRequiredStateV2 } from '../../../../core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs';
|
|
13
|
-
|
|
14
|
-
/*
|
|
15
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
16
|
-
* Licensed under the MIT License.
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* State returned when the selected sign-in method requires the user's
|
|
20
|
-
* password.
|
|
21
|
-
*/
|
|
22
|
-
class PasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase {
|
|
23
|
-
constructor() {
|
|
24
|
-
super(...arguments);
|
|
25
|
-
this.stateType = "passwordRequired";
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Submits the password and advances sign-in.
|
|
29
|
-
* @param password - The account password.
|
|
30
|
-
* @returns A completed sign-in, MFA selection, or password submission error.
|
|
31
|
-
*/
|
|
32
|
-
async submitPassword(password) {
|
|
33
|
-
const { correlationId, logger, continuationState, flowClient } = this.stateParameters;
|
|
34
|
-
try {
|
|
35
|
-
this.ensurePasswordIsNotEmpty(password);
|
|
36
|
-
const result = await flowClient.submitSignInPassword({
|
|
37
|
-
correlationId,
|
|
38
|
-
continuationState,
|
|
39
|
-
password,
|
|
40
|
-
});
|
|
41
|
-
const resultType = result.type;
|
|
42
|
-
if (result.type === FLOW_COMPLETED_V2) {
|
|
43
|
-
const account = new CustomAuthAccountData(result.authenticationResult.account, this.stateParameters.config, this.stateParameters.cacheClient, logger, correlationId);
|
|
44
|
-
return new CustomAuthResultV2(new CompletedStateV2(), account, continuationState.scenario);
|
|
45
|
-
}
|
|
46
|
-
if (result.type === FLOW_AUTH_METHOD_REGISTRATION_REQUIRED_V2) {
|
|
47
|
-
return new CustomAuthResultV2(new AuthMethodRegistrationRequiredStateV2({
|
|
48
|
-
correlationId: result.correlationId,
|
|
49
|
-
logger,
|
|
50
|
-
config: this.stateParameters.config,
|
|
51
|
-
flowClient,
|
|
52
|
-
continuationState: result.continuationState,
|
|
53
|
-
cacheClient: this.stateParameters.cacheClient,
|
|
54
|
-
methods: result.methods,
|
|
55
|
-
}), undefined, result.continuationState.scenario);
|
|
56
|
-
}
|
|
57
|
-
if (result.type === FLOW_MFA_REQUIRED_V2) {
|
|
58
|
-
return new CustomAuthResultV2(new AuthMethodSelectionRequiredStateV2({
|
|
59
|
-
correlationId: result.correlationId,
|
|
60
|
-
logger,
|
|
61
|
-
config: this.stateParameters.config,
|
|
62
|
-
flowClient,
|
|
63
|
-
continuationState: result.continuationState,
|
|
64
|
-
cacheClient: this.stateParameters.cacheClient,
|
|
65
|
-
methods: result.methods,
|
|
66
|
-
authenticationFactor: AuthenticationFactorV2.MULTI_FACTOR,
|
|
67
|
-
}), undefined, result.continuationState.scenario);
|
|
68
|
-
}
|
|
69
|
-
throw new CustomAuthError(UNSUPPORTED_FLOW_TRANSITION, `Password verification result type '${resultType}' is not supported.`, correlationId);
|
|
70
|
-
}
|
|
71
|
-
catch (error) {
|
|
72
|
-
logger.errorPii(`0qvjzk ${error}`, correlationId);
|
|
73
|
-
return CustomAuthResultV2.createWithError(error, {
|
|
74
|
-
scenario: continuationState.scenario,
|
|
75
|
-
correlationId,
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export { PasswordRequiredStateV2 };
|
|
82
|
-
//# sourceMappingURL=PasswordRequiredStateV2.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordRequiredStateV2.mjs","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;AAmBH;;;AAGG;AACG,MAAO,uBAAwB,SAAQ,+BAAkE,CAAA;AAA/G,IAAA,WAAA,GAAA;;QACa,IAAA,CAAA,SAAS,GAAG,kBAAkB,CAAC;IAuF5C,CAAC;AArFG;;;;AAIG;IACH,MAAM,cAAc,CAAC,QAAgB,EAAA;AACjC,QAAA,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAC1D,IAAI,CA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AAE,MAAM,CAAC,aAAa;oBACnC,MAAM;AACN,oBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;oBACnC,UAAU;oBACV,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC3C,oBAAA,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW;oBAC7C,OAAO,EAAE,MAAM,CAAC,OAAO;oBACvB,oBAAoB,EAChB,sBAAsB,CAAC,YAAY;iBAC1C,CAAC,EACF,SAAS,EACT,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CACpC,CAAC;AACL,YAAA,CAAA;YAED,MAAM,IAAI,eAAe,CACrB,2BAA2B,EAC3B,CAAA,mCAAA,EAAsC,UAAU,CAAA,mBAAA,CAAqB,EACrE,aAAa,CAChB,CAAC;AACL,QAAA,CAAA;AAAC,QAAA,OAAO,KAAK,EAAE;YACZ,MAAM,CAAC,QAAQ,CACX,CAAA,OAAA,EAAA,KAAA,CAAA,CAAA,EAAA,aAAA,CAAA,CAAA;AAIJ,YAAA,OAAO,kBAAkB,CAAC,eAAe,CAAC,KAAK,EAAE;gBAC7C,QAAQ,EAAE,iBAAiB,CAAC,QAAQ;gBACpC,aAAa;AAChB,aAAA,CAAC,CAAC;AACN,QAAA,CAAA;IACL,CAAC;AACJ;;;;"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.28.0 2026-11-05 */
|
|
2
|
-
'use strict';
|
|
3
|
-
import { AuthFlowActionRequiredStateBase } from '../../../../core/auth_flow/AuthFlowState.mjs';
|
|
4
|
-
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
|
-
* Licensed under the MIT License.
|
|
8
|
-
*/
|
|
9
|
-
class SignUpAttributesRequiredStateBaseV2 extends AuthFlowActionRequiredStateBase {
|
|
10
|
-
constructor(stateParameters) {
|
|
11
|
-
super(stateParameters);
|
|
12
|
-
this.attributes = stateParameters.attributes;
|
|
13
|
-
}
|
|
14
|
-
async submitAttributesAction(attributes) {
|
|
15
|
-
const { correlationId, continuationState, flowClient } = this.stateParameters;
|
|
16
|
-
return flowClient.submitSignUpAttributes({
|
|
17
|
-
correlationId,
|
|
18
|
-
continuationState,
|
|
19
|
-
attributes,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export { SignUpAttributesRequiredStateBaseV2 };
|
|
25
|
-
//# sourceMappingURL=SignUpAttributesRequiredStateBaseV2.mjs.map
|
package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpAttributesRequiredStateBaseV2.mjs","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAQG,MAAgB,mCAEpB,SAAQ,+BAA4C,CAAA;AAGlD,IAAA,WAAA,CAAY,eAA4B,EAAA;QACpC,KAAK,CAAC,eAAe,CAAC,CAAC;AACvB,QAAA,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC;IACjD,CAAC;IAES,MAAM,sBAAsB,CAClC,UAAiC,EAAA;QAEjC,MAAM,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAClD,IAAI,CAAC,eAAe,CAAC;QAEzB,OAAO,UAAU,CAAC,sBAAsB,CAAC;YACrC,aAAa;YACb,iBAAiB;YACjB,UAAU;AACb,SAAA,CAAC,CAAC;IACP,CAAC;AACJ;;;;"}
|