@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
|
@@ -2,14 +2,15 @@ import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
|
|
|
2
2
|
import type { CompletedStateV2 } from "../state/CompletedStateV2.js";
|
|
3
3
|
import type { FailedStateV2 } from "../state/FailedStateV2.js";
|
|
4
4
|
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
5
|
+
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
7
|
+
* States returned after submitting an authentication-method verification challenge.
|
|
8
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
9
|
*/
|
|
9
|
-
export type AuthMethodVerificationSubmitChallengeResultStateV2 = CompletedStateV2 | FailedStateV2;
|
|
10
|
+
export type AuthMethodVerificationSubmitChallengeResultStateV2 = SignInContinuationStateV2 | CompletedStateV2 | FailedStateV2;
|
|
10
11
|
/**
|
|
11
|
-
* Result of submitting
|
|
12
|
-
*
|
|
12
|
+
* Result of submitting an authentication-method verification challenge.
|
|
13
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
13
14
|
*/
|
|
14
|
-
export type AuthMethodVerificationSubmitChallengeResultV2 = CustomAuthResultV2<AuthMethodVerificationSubmitChallengeResultStateV2, CustomAuthAccountData>;
|
|
15
|
+
export type AuthMethodVerificationSubmitChallengeResultV2 = CustomAuthResultV2<AuthMethodVerificationSubmitChallengeResultStateV2, CustomAuthAccountData | undefined>;
|
|
15
16
|
//# sourceMappingURL=AuthMethodVerificationSubmitChallengeResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthMethodVerificationSubmitChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthMethodVerificationSubmitChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AAErH;;;GAGG;AACH,MAAM,MAAM,kDAAkD,GACxD,yBAAyB,GACzB,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,6CAA6C,GAAG,kBAAkB,CAC1E,kDAAkD,EAClD,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
|
|
@@ -2,14 +2,15 @@ import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
|
|
|
2
2
|
import type { CompletedStateV2 } from "../state/CompletedStateV2.js";
|
|
3
3
|
import type { FailedStateV2 } from "../state/FailedStateV2.js";
|
|
4
4
|
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
5
|
+
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
5
6
|
/**
|
|
6
|
-
* States returned after
|
|
7
|
-
*
|
|
7
|
+
* States returned after submitting an MFA challenge.
|
|
8
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
9
|
*/
|
|
9
|
-
export type MFASubmitChallengeResultStateV2 = CompletedStateV2 | FailedStateV2;
|
|
10
|
+
export type MFASubmitChallengeResultStateV2 = SignInContinuationStateV2 | CompletedStateV2 | FailedStateV2;
|
|
10
11
|
/**
|
|
11
|
-
* Result
|
|
12
|
-
*
|
|
12
|
+
* Result of submitting an MFA challenge.
|
|
13
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
13
14
|
*/
|
|
14
|
-
export type MFASubmitChallengeResultV2 = CustomAuthResultV2<MFASubmitChallengeResultStateV2, CustomAuthAccountData>;
|
|
15
|
+
export type MFASubmitChallengeResultV2 = CustomAuthResultV2<MFASubmitChallengeResultStateV2, CustomAuthAccountData | undefined>;
|
|
15
16
|
//# sourceMappingURL=MFASubmitChallengeResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MFASubmitChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"MFASubmitChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AAErH;;;GAGG;AACH,MAAM,MAAM,+BAA+B,GACrC,yBAAyB,GACzB,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,CACvD,+BAA+B,EAC/B,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
|
|
@@ -2,16 +2,17 @@ import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
|
|
|
2
2
|
import type { CodeRequiredStateV2 } from "../state/CodeRequiredStateV2.js";
|
|
3
3
|
import type { FailedStateV2 } from "../state/FailedStateV2.js";
|
|
4
4
|
import type { MFAVerificationRequiredStateV2 } from "../state/MFAVerificationRequiredStateV2.js";
|
|
5
|
-
import type { PasswordRequiredStateV2 } from "
|
|
5
|
+
import type { PasswordRequiredStateV2 } from "../state/PasswordRequiredStateV2.js";
|
|
6
|
+
import type { ExistingAccountCodeRequiredStateV2 } from "../../../../sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.js";
|
|
7
|
+
import type { ExistingAccountPasswordRequiredStateV2 } from "../../../../sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.js";
|
|
6
8
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
+
* States returned after requesting an authentication challenge.
|
|
10
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
9
11
|
*/
|
|
10
|
-
export type RequestChallengeResultStateV2 = CodeRequiredStateV2 | MFAVerificationRequiredStateV2 | PasswordRequiredStateV2 | FailedStateV2;
|
|
12
|
+
export type RequestChallengeResultStateV2 = CodeRequiredStateV2 | MFAVerificationRequiredStateV2 | PasswordRequiredStateV2 | ExistingAccountCodeRequiredStateV2 | ExistingAccountPasswordRequiredStateV2 | FailedStateV2;
|
|
11
13
|
/**
|
|
12
|
-
* Result of requesting
|
|
13
|
-
*
|
|
14
|
-
* error.
|
|
14
|
+
* Result of requesting an authentication challenge.
|
|
15
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
15
16
|
*/
|
|
16
17
|
export type RequestChallengeResultV2 = CustomAuthResultV2<RequestChallengeResultStateV2>;
|
|
17
18
|
//# sourceMappingURL=RequestChallengeResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RequestChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,8EAA8E,CAAC;AACvI,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,kFAAkF,CAAC;AAE/I;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GACnC,mBAAmB,GACnB,8BAA8B,GAC9B,uBAAuB,GACvB,kCAAkC,GAClC,sCAAsC,GACtC,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAChC,kBAAkB,CAAC,6BAA6B,CAAC,CAAC"}
|
|
@@ -3,15 +3,13 @@ import type { AuthMethodSelectionRequiredStateV2 } from "../state/AuthMethodSele
|
|
|
3
3
|
import type { CodeRequiredStateV2 } from "../state/CodeRequiredStateV2.js";
|
|
4
4
|
import type { FailedStateV2 } from "../state/FailedStateV2.js";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* selection. `FailedStateV2` carries a terminal error.
|
|
6
|
+
* States returned when native auth V2 password reset starts.
|
|
7
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
9
8
|
*/
|
|
10
9
|
export type ResetPasswordStartResultStateV2 = AuthMethodSelectionRequiredStateV2 | CodeRequiredStateV2 | FailedStateV2;
|
|
11
10
|
/**
|
|
12
|
-
* Result of starting
|
|
13
|
-
*
|
|
14
|
-
* plus, on failure, the unified V2 flow error.
|
|
11
|
+
* Result of starting native auth V2 password reset.
|
|
12
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
15
13
|
*/
|
|
16
14
|
export type ResetPasswordStartResultV2 = CustomAuthResultV2<ResetPasswordStartResultStateV2>;
|
|
17
15
|
//# sourceMappingURL=ResetPasswordStartResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"ResetPasswordStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,+BAA+B,GACrC,kCAAkC,GAClC,mBAAmB,GACnB,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAClC,kBAAkB,CAAC,+BAA+B,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
|
|
2
|
+
import type { CompletedStateV2 } from "../state/CompletedStateV2.js";
|
|
3
|
+
import type { FailedStateV2 } from "../state/FailedStateV2.js";
|
|
4
|
+
import type { PasswordRequiredStateV2 } from "../state/PasswordRequiredStateV2.js";
|
|
5
|
+
import type { AttributesRequiredStateV2 } from "../../../../sign_up/auth_flow/v2/state/AttributesRequiredStateV2.js";
|
|
6
|
+
import type { AuthMethodSelectionRequiredStateV2 } from "../state/AuthMethodSelectionRequiredStateV2.js";
|
|
7
|
+
import type { AuthMethodRegistrationRequiredStateV2 } from "../state/AuthMethodRegistrationRequiredStateV2.js";
|
|
8
|
+
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
9
|
+
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
10
|
+
/**
|
|
11
|
+
* States returned after submitting a sign-in or sign-up password.
|
|
12
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
13
|
+
*/
|
|
14
|
+
export type SubmitPasswordResultStateV2 = CompletedStateV2 | PasswordRequiredStateV2 | AttributesRequiredStateV2 | SignInContinuationStateV2 | AuthMethodSelectionRequiredStateV2 | AuthMethodRegistrationRequiredStateV2 | FailedStateV2;
|
|
15
|
+
/**
|
|
16
|
+
* Result of submitting a password in the active flow.
|
|
17
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
18
|
+
*/
|
|
19
|
+
export type SubmitPasswordResultV2 = CustomAuthResultV2<SubmitPasswordResultStateV2, CustomAuthAccountData | undefined>;
|
|
20
|
+
//# sourceMappingURL=SubmitPasswordResultV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmitPasswordResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAC/G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AAErH;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GACjC,gBAAgB,GAChB,uBAAuB,GACvB,yBAAyB,GACzB,yBAAyB,GACzB,kCAAkC,GAClC,qCAAqC,GACrC,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CACnD,2BAA2B,EAC3B,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
|
|
@@ -5,19 +5,17 @@ import type { CompletedStateV2 } from "../state/CompletedStateV2.js";
|
|
|
5
5
|
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
6
6
|
import type { AttributesRequiredStateV2 } from "../../../../sign_up/auth_flow/v2/state/AttributesRequiredStateV2.js";
|
|
7
7
|
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type { PasswordRequiredStateV2 } from "../state/PasswordRequiredStateV2.js";
|
|
9
9
|
import type { AuthMethodSelectionRequiredStateV2 } from "../state/AuthMethodSelectionRequiredStateV2.js";
|
|
10
10
|
import type { AuthMethodRegistrationRequiredStateV2 } from "../state/AuthMethodRegistrationRequiredStateV2.js";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* MFA sign-in. Failures resolve to `FailedStateV2`.
|
|
12
|
+
* States returned after verifying an authentication challenge.
|
|
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 VerifyChallengeResultStateV2 = NewPasswordRequiredStateV2 |
|
|
15
|
+
export type VerifyChallengeResultStateV2 = NewPasswordRequiredStateV2 | PasswordRequiredStateV2 | AttributesRequiredStateV2 | SignInContinuationStateV2 | AuthMethodSelectionRequiredStateV2 | AuthMethodRegistrationRequiredStateV2 | CompletedStateV2 | FailedStateV2;
|
|
17
16
|
/**
|
|
18
|
-
* Result of verifying
|
|
19
|
-
*
|
|
20
|
-
* error.
|
|
17
|
+
* Result of verifying an authentication challenge.
|
|
18
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
21
19
|
*/
|
|
22
20
|
export type VerifyChallengeResultV2 = CustomAuthResultV2<VerifyChallengeResultStateV2, CustomAuthAccountData | undefined>;
|
|
23
21
|
//# sourceMappingURL=VerifyChallengeResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6EAA6E,CAAC;AAC9H,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"VerifyChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6EAA6E,CAAC;AAC9H,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAE/G;;;GAGG;AACH,MAAM,MAAM,4BAA4B,GAClC,0BAA0B,GAC1B,uBAAuB,GACvB,yBAAyB,GACzB,yBAAyB,GACzB,kCAAkC,GAClC,qCAAqC,GACrC,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CACpD,4BAA4B,EAC5B,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
|
package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { AuthenticationMethodRegistrationV2 } from "../AuthenticationMethod
|
|
|
3
3
|
import type { AuthMethodRegistrationChallengeResultV2 } from "../result/AuthMethodRegistrationChallengeResultV2.js";
|
|
4
4
|
import type { AuthMethodRegistrationRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
5
5
|
/**
|
|
6
|
-
* State returned when an authentication method must be registered.
|
|
7
|
-
*
|
|
6
|
+
* State returned when an authentication method must be registered.
|
|
7
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
8
|
*/
|
|
9
9
|
export declare class AuthMethodRegistrationRequiredStateV2 extends AuthFlowActionRequiredStateBase<AuthMethodRegistrationRequiredStateParametersV2> {
|
|
10
10
|
readonly stateType = "authMethodRegistrationRequired";
|
|
@@ -3,18 +3,15 @@ import { AuthFlowActionRequiredStateBase } from "../../AuthFlowState.js";
|
|
|
3
3
|
import type { AuthMethodSelectionRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
4
4
|
import type { RequestChallengeResultV2 } from "../result/RequestChallengeResultV2.js";
|
|
5
5
|
/**
|
|
6
|
-
* State returned when the user must select
|
|
7
|
-
*
|
|
8
|
-
* methods and lets the app request a challenge for the chosen one. The flow
|
|
9
|
-
* stays on this state until a challenge is successfully requested.
|
|
6
|
+
* State returned when the user must select an authentication method.
|
|
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 declare class AuthMethodSelectionRequiredStateV2 extends AuthFlowActionRequiredStateBase<AuthMethodSelectionRequiredStateParametersV2> {
|
|
12
10
|
readonly stateType = "authMethodSelectionRequired";
|
|
13
11
|
readonly methods: readonly AuthenticationMethodV2[];
|
|
14
12
|
constructor(stateParameters: AuthMethodSelectionRequiredStateParametersV2);
|
|
15
13
|
/**
|
|
16
|
-
* Selects an authentication method and requests its challenge.
|
|
17
|
-
* state identifies the credential the application must collect.
|
|
14
|
+
* Selects an authentication method and requests its challenge.
|
|
18
15
|
* @param method - The method to select, from {@link methods}.
|
|
19
16
|
* @returns The result of selecting the method and requesting its challenge.
|
|
20
17
|
*/
|
package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthMethodSelectionRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAGzE,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,kCAAkC,CAAC;AACrG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthMethodSelectionRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAGzE,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,kCAAkC,CAAC;AACrG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAgBtF;;;GAGG;AACH,qBAAa,kCAAmC,SAAQ,+BAA+B,CAAC,4CAA4C,CAAC;IACjI,QAAQ,CAAC,SAAS,iCAAiC;IACnD,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;gBAExC,eAAe,EAAE,4CAA4C;IAKzE;;;;OAIG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;YAyKtB,8BAA8B;CAkC/C"}
|
package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { AuthMethodVerificationRequiredStateParametersV2 } from "./CustomAu
|
|
|
5
5
|
/**
|
|
6
6
|
* State returned when a newly registered authentication method must be
|
|
7
7
|
* activated with the challenge sent by the service.
|
|
8
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
9
|
*/
|
|
9
10
|
export declare class AuthMethodVerificationRequiredStateV2 extends AuthFlowActionRequiredStateBase<AuthMethodVerificationRequiredStateParametersV2> {
|
|
10
11
|
readonly stateType = "authMethodVerificationRequired";
|
|
@@ -15,12 +16,11 @@ export declare class AuthMethodVerificationRequiredStateV2 extends AuthFlowActio
|
|
|
15
16
|
/**
|
|
16
17
|
* Submits the activation challenge for the registered method.
|
|
17
18
|
* @param challenge - The activation challenge to submit.
|
|
18
|
-
* @returns
|
|
19
|
+
* @returns A sign-in continuation, completed authentication result, or failed state.
|
|
19
20
|
*/
|
|
20
21
|
submitChallenge(challenge: string): Promise<AuthMethodVerificationSubmitChallengeResultV2>;
|
|
21
22
|
/**
|
|
22
|
-
* Requests a replacement activation challenge
|
|
23
|
-
* resend link.
|
|
23
|
+
* Requests a replacement activation challenge for the registered method.
|
|
24
24
|
* @returns Refreshed activation metadata or a failed state.
|
|
25
25
|
*/
|
|
26
26
|
resendChallenge(): Promise<AuthMethodRegistrationChallengeResultV2>;
|
package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthMethodVerificationRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAEzE,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,4DAA4D,CAAC;AAChI,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthMethodVerificationRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAEzE,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,4DAA4D,CAAC;AAChI,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,kCAAkC,CAAC;AAOxG;;;;GAIG;AACH,qBAAa,qCAAsC,SAAQ,+BAA+B,CAAC,+CAA+C,CAAC;IACvI,QAAQ,CAAC,SAAS,oCAAoC;IACtD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;gBAGxB,eAAe,EAAE,+CAA+C;IAQpE;;;;OAIG;IACG,eAAe,CACjB,SAAS,EAAE,MAAM,GAClB,OAAO,CAAC,6CAA6C,CAAC;IA6DzD;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,uCAAuC,CAAC;CAyC5E"}
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import type { CodeRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
2
2
|
import type { VerifyChallengeResultV2 } from "../result/VerifyChallengeResultV2.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { RequestChallengeResultV2 } from "../result/RequestChallengeResultV2.js";
|
|
4
4
|
import { ChallengeVerificationStateBaseV2 } from "./ChallengeVerificationStateBaseV2.js";
|
|
5
5
|
/**
|
|
6
|
-
* State returned when first-factor
|
|
7
|
-
*
|
|
6
|
+
* State returned when first-factor authentication requires a one-time code.
|
|
7
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
8
|
*/
|
|
9
9
|
export declare class CodeRequiredStateV2 extends ChallengeVerificationStateBaseV2<CodeRequiredStateParametersV2> {
|
|
10
10
|
readonly stateType = "codeRequired";
|
|
11
11
|
/**
|
|
12
|
-
* Submits the first-factor
|
|
13
|
-
* result may complete the operation or require another flow-specific step.
|
|
12
|
+
* Submits the first-factor code.
|
|
14
13
|
* @param code - The code to submit.
|
|
15
14
|
* @returns The result of submitting the first-factor code.
|
|
16
15
|
*/
|
|
17
16
|
submitCode(code: string): Promise<VerifyChallengeResultV2>;
|
|
18
17
|
/**
|
|
19
|
-
* Requests a replacement first-factor
|
|
20
|
-
* contains the refreshed challenge metadata.
|
|
18
|
+
* Requests a replacement first-factor code.
|
|
21
19
|
* @returns The result of requesting a replacement code.
|
|
22
20
|
*/
|
|
23
|
-
resendCode(): Promise<
|
|
21
|
+
resendCode(): Promise<RequestChallengeResultV2>;
|
|
24
22
|
}
|
|
25
23
|
//# sourceMappingURL=CodeRequiredStateV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAetF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAGzF;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,gCAAgC,CAAC,6BAA6B,CAAC;IACpG,QAAQ,CAAC,SAAS,kBAAkB;IAEpC;;;;OAIG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAoIhE;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,wBAAwB,CAAC;CA2CxD"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { AuthFlowStateBase } from "../../AuthFlowState.js";
|
|
2
2
|
/**
|
|
3
3
|
* Terminal state indicating the operation completed successfully.
|
|
4
|
-
*
|
|
5
|
-
* Completion data (for example the signed-in account) is carried by the
|
|
6
|
-
* result's `data` payload, not by this state.
|
|
4
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
7
5
|
*/
|
|
8
6
|
export declare class CompletedStateV2 extends AuthFlowStateBase {
|
|
9
7
|
readonly stateType = "completed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompletedStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D
|
|
1
|
+
{"version":3,"file":"CompletedStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,iBAAiB;IACnD,QAAQ,CAAC,SAAS,eAAe;CACpC"}
|
|
@@ -6,16 +6,19 @@ import { CustomAuthSilentCacheClient } from "../../../../get_account/interaction
|
|
|
6
6
|
import type { SignUpStateTransitionHandlerV2 } from "../../../../sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.js";
|
|
7
7
|
import type { AuthenticationFactorV2 } from "../../../network_client/custom_auth_api/v2/result/BaseResultsV2.js";
|
|
8
8
|
import type { SignInStateTransitionHandlerV2 } from "../../../../sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.js";
|
|
9
|
+
import type { ResetPasswordStateTransitionHandlerV2 } from "../../../../reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.js";
|
|
9
10
|
import type { AuthenticationMethodRegistrationV2 } from "../AuthenticationMethodRegistrationV2.js";
|
|
11
|
+
import type { SignUpAttributeV2 } from "../../../network_client/custom_auth_api/v2/result/SignUpResultsV2.js";
|
|
10
12
|
export interface CustomAuthActionRequiredStateParametersV2 extends AuthFlowActionRequiredStateParameters {
|
|
11
13
|
flowClient: FlowInteractionClientV2;
|
|
12
14
|
continuationState: FlowContinuationStateV2;
|
|
13
15
|
cacheClient: CustomAuthSilentCacheClient;
|
|
16
|
+
signInStateTransitionHandler?: SignInStateTransitionHandlerV2;
|
|
14
17
|
}
|
|
15
18
|
export interface AuthMethodSelectionRequiredStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
|
|
16
19
|
methods: readonly AuthenticationMethodV2[];
|
|
17
20
|
authenticationFactor: AuthenticationFactorV2;
|
|
18
|
-
|
|
21
|
+
resetPasswordStateTransitionHandler?: ResetPasswordStateTransitionHandlerV2;
|
|
19
22
|
}
|
|
20
23
|
export interface CodeVerificationStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
|
|
21
24
|
method?: AuthenticationMethodV2;
|
|
@@ -25,7 +28,11 @@ export interface CodeVerificationStateParametersV2 extends CustomAuthActionRequi
|
|
|
25
28
|
}
|
|
26
29
|
export interface CodeRequiredStateParametersV2 extends CodeVerificationStateParametersV2 {
|
|
27
30
|
signUpStateTransitionHandler?: SignUpStateTransitionHandlerV2;
|
|
28
|
-
|
|
31
|
+
resetPasswordStateTransitionHandler?: ResetPasswordStateTransitionHandlerV2;
|
|
32
|
+
}
|
|
33
|
+
export interface PasswordRequiredStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
|
|
34
|
+
requestedPasswordAttribute?: SignUpAttributeV2;
|
|
35
|
+
signUpStateTransitionHandler?: SignUpStateTransitionHandlerV2;
|
|
29
36
|
}
|
|
30
37
|
export type MFAVerificationRequiredStateParametersV2 = CodeVerificationStateParametersV2;
|
|
31
38
|
export interface AuthMethodRegistrationRequiredStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qCAAqC,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,2EAA2E,CAAC;AACxH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0EAA0E,CAAC;AAC/H,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oEAAoE,CAAC;AACjH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0EAA0E,CAAC;AAC/H,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomAuthStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qCAAqC,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,2EAA2E,CAAC;AACxH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0EAA0E,CAAC;AAC/H,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oEAAoE,CAAC;AACjH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0EAA0E,CAAC;AAC/H,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,wFAAwF,CAAC;AACpJ,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AACnG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sEAAsE,CAAC;AAE9G,MAAM,WAAW,yCACb,SAAQ,qCAAqC;IAC7C,UAAU,EAAE,uBAAuB,CAAC;IACpC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,WAAW,EAAE,2BAA2B,CAAC;IACzC,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;CACjE;AAED,MAAM,WAAW,4CACb,SAAQ,yCAAyC;IACjD,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAC3C,oBAAoB,EAAE,sBAAsB,CAAC;IAC7C,mCAAmC,CAAC,EAAE,qCAAqC,CAAC;CAC/E;AAED,MAAM,WAAW,iCACb,SAAQ,yCAAyC;IACjD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,6BACb,SAAQ,iCAAiC;IACzC,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;IAC9D,mCAAmC,CAAC,EAAE,qCAAqC,CAAC;CAC/E;AAED,MAAM,WAAW,iCACb,SAAQ,yCAAyC;IACjD,0BAA0B,CAAC,EAAE,iBAAiB,CAAC;IAC/C,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;CACjE;AAED,MAAM,MAAM,wCAAwC,GAChD,iCAAiC,CAAC;AAEtC,MAAM,WAAW,+CACb,SAAQ,yCAAyC;IACjD,OAAO,EAAE,SAAS,kCAAkC,EAAE,CAAC;CAC1D;AAED,MAAM,WAAW,+CACb,SAAQ,yCAAyC;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AuthFlowStateBase } from "../../AuthFlowState.js";
|
|
2
2
|
/**
|
|
3
3
|
* Terminal state indicating the operation failed.
|
|
4
|
-
*
|
|
5
|
-
* The error is carried by the result's `error` payload, not by this state.
|
|
4
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
6
5
|
*/
|
|
7
6
|
export declare class FailedStateV2 extends AuthFlowStateBase {
|
|
8
7
|
readonly stateType = "failed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FailedStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D
|
|
1
|
+
{"version":3,"file":"FailedStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;GAGG;AACH,qBAAa,aAAc,SAAQ,iBAAiB;IAChD,QAAQ,CAAC,SAAS,YAAY;CACjC"}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import type { MFAVerificationRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
2
2
|
import type { MFASubmitChallengeResultV2 } from "../result/MFASubmitChallengeResultV2.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { RequestChallengeResultV2 } from "../result/RequestChallengeResultV2.js";
|
|
4
4
|
import { ChallengeVerificationStateBaseV2 } from "./ChallengeVerificationStateBaseV2.js";
|
|
5
5
|
/**
|
|
6
|
-
* State returned when
|
|
6
|
+
* State returned when authentication requires verification of an email or SMS MFA
|
|
7
7
|
* challenge. It allows the app to submit the challenge or request a replacement.
|
|
8
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
9
|
*/
|
|
9
10
|
export declare class MFAVerificationRequiredStateV2 extends ChallengeVerificationStateBaseV2<MFAVerificationRequiredStateParametersV2> {
|
|
10
11
|
readonly stateType = "mfaVerificationRequired";
|
|
11
12
|
/**
|
|
12
13
|
* Submits the email or SMS challenge as the second authentication factor.
|
|
13
|
-
* Successful verification completes sign-in.
|
|
14
14
|
* @param challenge - The challenge value to submit.
|
|
15
15
|
* @returns The result of submitting the MFA challenge.
|
|
16
16
|
*/
|
|
17
17
|
submitChallenge(challenge: string): Promise<MFASubmitChallengeResultV2>;
|
|
18
18
|
/**
|
|
19
|
-
* Requests a replacement challenge for the selected MFA method.
|
|
20
|
-
* returned state contains the refreshed email or SMS challenge metadata.
|
|
19
|
+
* Requests a replacement challenge for the selected MFA method.
|
|
21
20
|
* @returns The result of requesting a replacement MFA challenge.
|
|
22
21
|
*/
|
|
23
|
-
resendChallenge(): Promise<
|
|
22
|
+
resendChallenge(): Promise<RequestChallengeResultV2>;
|
|
24
23
|
}
|
|
25
24
|
//# sourceMappingURL=MFAVerificationRequiredStateV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MFAVerificationRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MFAVerificationRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAUtF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAGzF;;;;GAIG;AACH,qBAAa,8BAA+B,SAAQ,gCAAgC,CAAC,wCAAwC,CAAC;IAC1H,QAAQ,CAAC,SAAS,6BAA6B;IAE/C;;;;OAIG;IACG,eAAe,CACjB,SAAS,EAAE,MAAM,GAClB,OAAO,CAAC,0BAA0B,CAAC;IA6DtC;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAsC7D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AuthFlowActionRequiredStateBase } from "../../AuthFlowState.js";
|
|
2
|
+
import type { PasswordRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
3
|
+
import type { SubmitPasswordResultV2 } from "../result/SubmitPasswordResultV2.js";
|
|
4
|
+
import type { SignUpAttributeV2 } from "../../../network_client/custom_auth_api/v2/result/SignUpResultsV2.js";
|
|
5
|
+
/**
|
|
6
|
+
* State returned when sign-in or sign-up requires a password.
|
|
7
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<PasswordRequiredStateParametersV2> {
|
|
10
|
+
readonly stateType = "passwordRequired";
|
|
11
|
+
readonly requestedPasswordAttribute?: SignUpAttributeV2;
|
|
12
|
+
constructor(stateParameters: PasswordRequiredStateParametersV2);
|
|
13
|
+
/**
|
|
14
|
+
* Submits the password and advances the active flow. Use the returned result
|
|
15
|
+
* to continue the flow.
|
|
16
|
+
* @param password - The account password.
|
|
17
|
+
* @returns The result containing the next state or an error.
|
|
18
|
+
*/
|
|
19
|
+
submitPassword(password: string): Promise<SubmitPasswordResultV2>;
|
|
20
|
+
private submitSignUpPassword;
|
|
21
|
+
private submitSignInPassword;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=PasswordRequiredStateV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAI1F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAalF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sEAAsE,CAAC;AAG9G;;;GAGG;AACH,qBAAa,uBAAwB,SAAQ,+BAA+B,CAAC,iCAAiC,CAAC;IAC3G,QAAQ,CAAC,SAAS,sBAAsB;IAExC,QAAQ,CAAC,0BAA0B,CAAC,EAAE,iBAAiB,CAAC;gBAE5C,eAAe,EAAE,iCAAiC;IAM9D;;;;;OAKG;IACG,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;YAqCzD,oBAAoB;YA2BpB,oBAAoB;CAmErC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvalidArgumentError.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/core/error/InvalidArgumentError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,qBAAa,oBAAqB,SAAQ,eAAe;
|
|
1
|
+
{"version":3,"file":"InvalidArgumentError.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/core/error/InvalidArgumentError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,qBAAa,oBAAqB,SAAQ,eAAe;aACzB,OAAO,EAAE,MAAM;gBAAf,OAAO,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM;CAMtE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CustomAuthFlowScenarioV2 } from "../../auth_flow/v2/CustomAuthFlowScenarioV2.js";
|
|
2
|
+
import type { UserAccountAttributes } from "../../../UserAccountAttributes.js";
|
|
2
3
|
export interface FlowLinksV2 {
|
|
3
4
|
challenge?: string;
|
|
4
5
|
verify?: string;
|
|
@@ -14,7 +15,13 @@ export interface FlowContinuationStateV2 {
|
|
|
14
15
|
scopes: string[];
|
|
15
16
|
links: FlowLinksV2;
|
|
16
17
|
signUp?: {
|
|
17
|
-
|
|
18
|
+
purpose: "existingAccount";
|
|
19
|
+
pendingProfileAttributes?: never;
|
|
20
|
+
submittedAttributeIds?: never;
|
|
21
|
+
} | {
|
|
22
|
+
purpose: "newAccount";
|
|
23
|
+
pendingProfileAttributes?: Readonly<UserAccountAttributes>;
|
|
24
|
+
submittedAttributeIds: readonly string[];
|
|
18
25
|
};
|
|
19
26
|
}
|
|
20
27
|
//# sourceMappingURL=FlowContinuationStateV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowContinuationStateV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"FlowContinuationStateV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE/E,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,uBAAuB;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,CAAC,EACD;QACI,OAAO,EAAE,iBAAiB,CAAC;QAC3B,wBAAwB,CAAC,EAAE,KAAK,CAAC;QACjC,qBAAqB,CAAC,EAAE,KAAK,CAAC;KACjC,GACD;QACI,OAAO,EAAE,YAAY,CAAC;QACtB,wBAAwB,CAAC,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC;QAC3D,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC;KAC5C,CAAC;CACX"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ICrypto, IPerformanceClient, Logger } from "@azure/msal-common/browser";
|
|
2
2
|
import { InteractionClientBaseV2 } from "./InteractionClientBaseV2.js";
|
|
3
3
|
import { FlowStartParamsV2, FlowSignInStartParamsV2, FlowSignUpStartParamsV2, FlowChallengeParamsV2, FlowSubmitCodeParamsV2, FlowSubmitNewPasswordParamsV2, FlowSubmitSignInPasswordParamsV2, FlowSubmitSignUpAttributesParamsV2, FlowSignInWithContinuationParamsV2, FlowRegisterAuthMethodParamsV2, FlowVerifyAuthMethodRegistrationParamsV2 } from "./parameter/FlowParamsV2.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { FlowCodeRequiredResultV2, FlowCompletedResultV2, FlowSignInContinuationRequiredResultV2, FlowSignInStartResultV2, FlowSignUpStartResultV2, FlowResetPasswordStartResultV2, FlowRequestChallengeResultV2, FlowSubmitNewPasswordResultV2, FlowSubmitSignInPasswordResultV2, FlowSignUpSubmitAttributesResultV2, FlowSubmitCodeResultV2, FlowAuthMethodVerificationRequiredResultV2 } from "./result/FlowActionResultV2.js";
|
|
5
5
|
import { BrowserConfiguration } from "../../../../config/Configuration.js";
|
|
6
6
|
import { BrowserCacheManager } from "../../../../cache/BrowserCacheManager.js";
|
|
7
7
|
import { EventHandler } from "../../../../event/EventHandler.js";
|
|
@@ -11,18 +11,18 @@ import { CustomAuthApiClientV2 } from "../../network_client/custom_auth_api/v2/C
|
|
|
11
11
|
export declare class FlowInteractionClientV2 extends InteractionClientBaseV2 {
|
|
12
12
|
protected apiClient: CustomAuthApiClientV2;
|
|
13
13
|
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, customAuthAuthority: CustomAuthAuthority, apiClient: CustomAuthApiClientV2);
|
|
14
|
-
signIn(parameters: FlowSignInStartParamsV2): Promise<
|
|
15
|
-
signUp(parameters: FlowSignUpStartParamsV2): Promise<
|
|
16
|
-
resetPassword(parameters: FlowStartParamsV2): Promise<
|
|
17
|
-
requestChallenge(parameters: FlowChallengeParamsV2): Promise<
|
|
14
|
+
signIn(parameters: FlowSignInStartParamsV2): Promise<FlowSignInStartResultV2>;
|
|
15
|
+
signUp(parameters: FlowSignUpStartParamsV2): Promise<FlowSignUpStartResultV2>;
|
|
16
|
+
resetPassword(parameters: FlowStartParamsV2): Promise<FlowResetPasswordStartResultV2>;
|
|
17
|
+
requestChallenge(parameters: FlowChallengeParamsV2): Promise<FlowRequestChallengeResultV2>;
|
|
18
18
|
registerAuthMethod(parameters: FlowRegisterAuthMethodParamsV2): Promise<FlowAuthMethodVerificationRequiredResultV2>;
|
|
19
|
-
verifyAuthMethodRegistration(parameters: FlowVerifyAuthMethodRegistrationParamsV2): Promise<FlowCompletedResultV2>;
|
|
19
|
+
verifyAuthMethodRegistration(parameters: FlowVerifyAuthMethodRegistrationParamsV2): Promise<FlowCompletedResultV2 | FlowSignInContinuationRequiredResultV2>;
|
|
20
20
|
resendAuthMethodRegistrationChallenge(parameters: FlowChallengeParamsV2): Promise<FlowAuthMethodVerificationRequiredResultV2>;
|
|
21
21
|
submitCode(parameters: FlowSubmitCodeParamsV2): Promise<FlowSubmitCodeResultV2>;
|
|
22
22
|
resendCode(parameters: FlowChallengeParamsV2): Promise<FlowCodeRequiredResultV2>;
|
|
23
|
-
submitSignUpAttributes(parameters: FlowSubmitSignUpAttributesParamsV2): Promise<
|
|
24
|
-
submitNewPassword(parameters: FlowSubmitNewPasswordParamsV2): Promise<
|
|
25
|
-
submitSignInPassword(parameters: FlowSubmitSignInPasswordParamsV2): Promise<
|
|
23
|
+
submitSignUpAttributes(parameters: FlowSubmitSignUpAttributesParamsV2): Promise<FlowSignUpSubmitAttributesResultV2>;
|
|
24
|
+
submitNewPassword(parameters: FlowSubmitNewPasswordParamsV2): Promise<FlowSubmitNewPasswordResultV2>;
|
|
25
|
+
submitSignInPassword(parameters: FlowSubmitSignInPasswordParamsV2): Promise<FlowSubmitSignInPasswordResultV2>;
|
|
26
26
|
signInWithContinuation(parameters: FlowSignInWithContinuationParamsV2): Promise<FlowCompletedResultV2>;
|
|
27
27
|
private handleSignInVerification;
|
|
28
28
|
private handleSignUpVerification;
|
|
@@ -30,8 +30,10 @@ export declare class FlowInteractionClientV2 extends InteractionClientBaseV2 {
|
|
|
30
30
|
private createRegistrationRequest;
|
|
31
31
|
private createAuthMethodRegistrationRequiredResult;
|
|
32
32
|
private createAuthMethodVerificationRequiredResult;
|
|
33
|
-
private
|
|
33
|
+
private toSignUpSubmitAttributesResult;
|
|
34
|
+
private ensureValidSignUpAttributeCollectionAfterSubmission;
|
|
34
35
|
private ensureAuthenticationFactor;
|
|
36
|
+
private toExistingAccountChallengeResult;
|
|
35
37
|
private verifySignInPassword;
|
|
36
38
|
private completeSignInAfterVerification;
|
|
37
39
|
private sendMethodChallenge;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowInteractionClientV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,kBAAkB,EAClB,MAAM,EACT,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EAElC,8BAA8B,EAC9B,wCAAwC,EAC3C,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"FlowInteractionClientV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,kBAAkB,EAClB,MAAM,EACT,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EAElC,8BAA8B,EAC9B,wCAAwC,EAC3C,MAAM,6BAA6B,CAAC;AAkBrC,OAAO,KAAK,EACR,wBAAwB,EAExB,qBAAqB,EACrB,sCAAsC,EACtC,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,gCAAgC,EAChC,kCAAkC,EAElC,sBAAsB,EAEtB,0CAA0C,EAC7C,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kEAAkE,CAAC;AA0DzG,qBAAa,uBAAwB,SAAQ,uBAAuB;IAU5D,SAAS,CAAC,SAAS,EAAE,qBAAqB;gBAR1C,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,iBAAiB,EAAE,kBAAkB,EACrC,mBAAmB,EAAE,mBAAmB,EAC9B,SAAS,EAAE,qBAAqB;IAiBxC,MAAM,CACR,UAAU,EAAE,uBAAuB,GACpC,OAAO,CAAC,uBAAuB,CAAC;IAqF7B,MAAM,CACR,UAAU,EAAE,uBAAuB,GACpC,OAAO,CAAC,uBAAuB,CAAC;IAyI7B,aAAa,CACf,UAAU,EAAE,iBAAiB,GAC9B,OAAO,CAAC,8BAA8B,CAAC;IAiHpC,gBAAgB,CAClB,UAAU,EAAE,qBAAqB,GAClC,OAAO,CAAC,4BAA4B,CAAC;IA8ClC,kBAAkB,CACpB,UAAU,EAAE,8BAA8B,GAC3C,OAAO,CAAC,0CAA0C,CAAC;IAwChD,4BAA4B,CAC9B,UAAU,EAAE,wCAAwC,GACrD,OAAO,CAAC,qBAAqB,GAAG,sCAAsC,CAAC;IA6CpE,qCAAqC,CACvC,UAAU,EAAE,qBAAqB,GAClC,OAAO,CAAC,0CAA0C,CAAC;IA6BhD,UAAU,CACZ,UAAU,EAAE,sBAAsB,GACnC,OAAO,CAAC,sBAAsB,CAAC;IAwG5B,UAAU,CACZ,UAAU,EAAE,qBAAqB,GAClC,OAAO,CAAC,wBAAwB,CAAC;IAgC9B,sBAAsB,CACxB,UAAU,EAAE,kCAAkC,GAC/C,OAAO,CAAC,kCAAkC,CAAC;IAwDxC,iBAAiB,CACnB,UAAU,EAAE,6BAA6B,GAC1C,OAAO,CAAC,6BAA6B,CAAC;IAyInC,oBAAoB,CACtB,UAAU,EAAE,gCAAgC,GAC7C,OAAO,CAAC,gCAAgC,CAAC;IAatC,sBAAsB,CACxB,UAAU,EAAE,kCAAkC,GAC/C,OAAO,CAAC,qBAAqB,CAAC;YAwCnB,wBAAwB;YA0DxB,wBAAwB;IA+EtC,OAAO,CAAC,yBAAyB;IA2BjC,OAAO,CAAC,yBAAyB;IAgCjC,OAAO,CAAC,0CAA0C;IAuElD,OAAO,CAAC,0CAA0C;IAuBlD,OAAO,CAAC,8BAA8B;IA4EtC,OAAO,CAAC,mDAAmD;IAgC3D,OAAO,CAAC,0BAA0B;IAmBlC,OAAO,CAAC,gCAAgC;YAqC1B,oBAAoB;IA4BlC,OAAO,CAAC,+BAA+B;YAezB,mBAAmB;IAuDjC,OAAO,CAAC,gCAAgC;IAiBxC,OAAO,CAAC,gBAAgB;IAsBxB,OAAO,CAAC,WAAW;CAkBtB"}
|
|
@@ -19,7 +19,7 @@ export declare abstract class InteractionClientBaseV2 extends StandardInteractio
|
|
|
19
19
|
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, customAuthAuthority: CustomAuthAuthority);
|
|
20
20
|
acquireToken(request: RedirectRequest | PopupRequest | SsoSilentRequest): Promise<AuthenticationResult | void>;
|
|
21
21
|
logout(request: EndSessionRequest | ClearCacheRequest | undefined): Promise<void>;
|
|
22
|
-
protected getScopes(scopes: string[] |
|
|
22
|
+
protected getScopes(scopes: string[] | undefined): string[];
|
|
23
23
|
protected handleTokenResponse(tokenResponse: TokenResponseV2, requestedScopes: string[], correlationId: string, apiId: number): Promise<AuthenticationResult>;
|
|
24
24
|
protected createRequestContext(apiId: number, correlationId: string): RequestContextV2;
|
|
25
25
|
}
|