@azure/msal-browser 5.26.0 → 5.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +54 -14
- package/dist/app/PublicClientApplication.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +9 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +7 -6
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +4 -2
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +21 -7
- package/dist/broker/nativeBroker/PlatformAuthRequest.mjs.map +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +14 -1
- package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +9 -2
- package/dist/cache/BrowserCacheManager.mjs.map +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 +32 -4
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +100 -11
- package/dist/controllers/StandardController.mjs.map +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 +14 -1
- package/dist/crypto/TokenBindingKeyManager.mjs.map +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +14 -2
- 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 +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs +68 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +3 -2
- 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 +87 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +5 -3
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +14 -2
- 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 +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +4 -3
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
- 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 +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 +246 -73
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +10 -2
- 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 +10 -2
- 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 +118 -25
- 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 +2 -2
- 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 +2 -12
- 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 +2 -1
- 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 +17 -3
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +9 -3
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +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 +3 -1
- 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 +32 -13
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -1
- 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/PasswordRequiredStateV2.mjs +14 -2
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +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 +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +9 -2
- 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 +504 -75
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +54 -20
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +30 -16
- 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 +44 -32
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +7 -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 +79 -19
- 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 +43 -25
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +35 -11
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/request/SilentRequestHelpers.mjs +6 -6
- package/dist/request/SilentRequestHelpers.mjs.map +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +3 -2
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +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 +7 -2
- package/dist/utils/BrowserUtils.mjs.map +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/IframeMonitor.mjs +81 -0
- package/dist/utils/IframeMonitor.mjs.map +1 -0
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/utils/PopupMonitor.mjs +119 -0
- package/dist/utils/PopupMonitor.mjs.map +1 -0
- package/dist/utils/PopupOriginCheck.mjs +88 -0
- package/dist/utils/PopupOriginCheck.mjs.map +1 -0
- 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 +71 -11
- package/lib/custom-auth-path/msal-custom-auth.cjs +2085 -451
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +2085 -451
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +39 -11
- package/lib/msal-browser.cjs +1461 -320
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +1461 -320
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
- package/lib/popup-relay/msal-popup-relay.js +2 -2
- package/lib/popup-relay/msal-popup-relay.js.map +1 -1
- package/lib/popup-relay/msal-popup-relay.min.js +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
- package/package.json +2 -2
- package/src/app/PublicClientApplication.ts +108 -8
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +15 -0
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +6 -21
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +3 -1
- package/src/broker/nativeBroker/PlatformAuthRequest.ts +12 -8
- package/src/broker/nativeBroker/PlatformAuthResponse.ts +31 -0
- package/src/cache/AsyncMemoryStorage.ts +16 -0
- package/src/cache/BrowserCacheManager.ts +19 -1
- package/src/config/Configuration.ts +63 -6
- package/src/controllers/StandardController.ts +153 -14
- package/src/crypto/TokenBindingKeyManager.ts +21 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +18 -0
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.ts +15 -0
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.ts +23 -0
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.ts +26 -0
- package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +1 -1
- package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +2 -0
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.ts +94 -0
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +7 -2
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.ts +132 -0
- package/src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts +8 -2
- package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +18 -0
- package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +13 -0
- package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +8 -2
- package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +1 -0
- package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +445 -91
- package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +25 -0
- package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +34 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +9 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +262 -43
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +4 -7
- package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +21 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +41 -2
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +44 -19
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +4 -6
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +6 -1
- package/src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts +25 -1
- package/src/custom_auth/core/telemetry/PublicApiId.ts +6 -0
- package/src/custom_auth/index.ts +11 -0
- 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 +47 -15
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +2 -0
- package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +2 -0
- package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +18 -0
- package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +2 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts +13 -0
- package/src/interaction_client/PlatformAuthInteractionClient.ts +851 -128
- package/src/interaction_client/PopupClient.ts +140 -83
- package/src/interaction_client/RedirectClient.ts +88 -35
- package/src/interaction_client/SilentIframeClient.ts +121 -95
- package/src/interaction_client/StandardInteractionClient.ts +6 -0
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +80 -46
- package/src/request/RequestHelpers.ts +64 -11
- package/src/request/SilentRequestHelpers.ts +8 -9
- package/src/telemetry/BrowserPerformanceEvents.ts +1 -0
- package/src/utils/BrowserUtils.ts +8 -1
- package/src/utils/IframeMonitor.ts +98 -0
- package/src/utils/PopupMonitor.ts +158 -0
- package/src/utils/PopupOriginCheck.ts +94 -0
- package/types/app/PublicClientApplication.d.ts +6 -4
- package/types/app/PublicClientApplication.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthRequest.d.ts +6 -1
- package/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthResponse.d.ts +21 -0
- package/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -1
- package/types/cache/AsyncMemoryStorage.d.ts +5 -0
- package/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/types/cache/BrowserCacheManager.d.ts +4 -0
- package/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/types/config/Configuration.d.ts +16 -0
- package/types/config/Configuration.d.ts.map +1 -1
- package/types/controllers/StandardController.d.ts +5 -0
- package/types/controllers/StandardController.d.ts.map +1 -1
- package/types/crypto/TokenBindingKeyManager.d.ts +9 -0
- package/types/crypto/TokenBindingKeyManager.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts +11 -0
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts +14 -0
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts +15 -0
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +2 -1
- 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 +22 -0
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts.map +1 -0
- 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 +28 -0
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts +3 -2
- package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +9 -0
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +1 -0
- 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 -5
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +17 -0
- 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 +18 -2
- 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 +8 -0
- 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 +8 -2
- 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 +3 -3
- 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 +12 -0
- 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/ResponsesV2.d.ts +29 -2
- 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 +30 -17
- 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 +3 -1
- 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 +3 -2
- 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 +6 -1
- package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts.map +1 -1
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts +6 -0
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/types/custom_auth/index.d.ts +5 -0
- 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 +4 -4
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +2 -1
- 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/result/SubmitPasswordResultV2.d.ts +2 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +2 -1
- 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/SignUpStateTransitionHandlerV2.d.ts.map +1 -1
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts +106 -5
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/PopupClient.d.ts +12 -0
- package/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/types/protocol/Authorize.d.ts +4 -4
- package/types/protocol/Authorize.d.ts.map +1 -1
- package/types/request/RequestHelpers.d.ts +21 -3
- package/types/request/RequestHelpers.d.ts.map +1 -1
- package/types/request/SilentRequestHelpers.d.ts.map +1 -1
- package/types/telemetry/BrowserPerformanceEvents.d.ts +1 -0
- package/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/types/utils/BrowserUtils.d.ts +2 -1
- package/types/utils/BrowserUtils.d.ts.map +1 -1
- package/types/utils/IframeMonitor.d.ts +17 -0
- package/types/utils/IframeMonitor.d.ts.map +1 -0
- package/types/utils/PopupMonitor.d.ts +37 -0
- package/types/utils/PopupMonitor.d.ts.map +1 -0
- package/types/utils/PopupOriginCheck.d.ts +27 -0
- package/types/utils/PopupOriginCheck.d.ts.map +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../src/config/Configuration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,aAAa,EACb,cAAc,EAEd,YAAY,EACZ,WAAW,EAIX,iBAAiB,EACjB,oBAAoB,EAGpB,kBAAkB,EAIrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../src/config/Configuration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,aAAa,EACb,cAAc,EAEd,YAAY,EACZ,WAAW,EAIX,iBAAiB,EACjB,oBAAoB,EAGpB,kBAAkB,EAIrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAMvE,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAC9C,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAC/C,eAAO,MAAM,2BAA2B,QAAQ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;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC9B,MAAM,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IACvC,YAAY,EAAE,QAAQ,CAAC,0BAA0B,CAAC,CAAC;IACnD,SAAS,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;CAChD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,EACI,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,eAAe,EACvB,YAAY,EAAE,qBAAqB,EACnC,SAAS,EAAE,kBAAkB,GAChC,EAAE,aAAa,EAChB,oBAAoB,EAAE,OAAO,GAC9B,oBAAoB,CAsLtB"}
|
|
@@ -200,6 +200,7 @@ export declare class StandardController implements IController {
|
|
|
200
200
|
* @param logoutRequest
|
|
201
201
|
*/
|
|
202
202
|
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
|
203
|
+
private clearNativeCache;
|
|
203
204
|
/**
|
|
204
205
|
* Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
|
|
205
206
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
@@ -228,6 +229,10 @@ export declare class StandardController implements IController {
|
|
|
228
229
|
* @returns
|
|
229
230
|
*/
|
|
230
231
|
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
|
232
|
+
/**
|
|
233
|
+
* Removes internal DPoP key state from application-originated broker requests.
|
|
234
|
+
*/
|
|
235
|
+
private sanitizeNativeBrokerRequest;
|
|
231
236
|
/**
|
|
232
237
|
* Acquire a token from native device (e.g. WAM)
|
|
233
238
|
* @param request
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardController.d.ts","sourceRoot":"","sources":["../../src/controllers/StandardController.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,WAAW,EACX,cAAc,EACd,MAAM,EACN,uBAAuB,EACvB,OAAO,EAGP,2BAA2B,EAC3B,kBAAkB,EAClB,eAAe,EAKf,aAAa,EAWb,uBAAuB,EAC1B,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACH,mBAAmB,EAEtB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,oBAAoB,EAAgB,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAEH,KAAK,EAEL,UAAU,EACV,iBAAiB,EAKpB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"StandardController.d.ts","sourceRoot":"","sources":["../../src/controllers/StandardController.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,WAAW,EACX,cAAc,EACd,MAAM,EACN,uBAAuB,EACvB,OAAO,EAGP,2BAA2B,EAC3B,kBAAkB,EAClB,eAAe,EAKf,aAAa,EAWb,uBAAuB,EAC1B,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACH,mBAAmB,EAEtB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,oBAAoB,EAAgB,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAEH,KAAK,EAEL,UAAU,EACV,iBAAiB,EAKpB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC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;;;;;;OAQG;IACG,aAAa,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAS7D;;;;;;OAMG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,oBAAoB,CAAC;IASjE;;;;;OAKG;IACG,kBAAkB,CACpB,OAAO,EAAE,aAAa,GACvB,OAAO,CAAC,oBAAoB,CAAC;IA2DhC;;;;;;OAMG;YACW,yBAAyB;IAoEvC;;;;;OAKG;cACa,uBAAuB,CACnC,OAAO,EAAE,aAAa,GAAG;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,EAClD,OAAO,EAAE,WAAW,GACrB,OAAO,CAAC,oBAAoB,CAAC;IA8KhC;;;;;OAKG;YACW,0BAA0B;IA0FxC;;;OAGG;YACW,oBAAoB;IAYlC;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAwBhC,OAAO,CAAC,oBAAoB;CA8B/B"}
|
|
@@ -61,6 +61,10 @@ export declare class TokenBindingKeyManager implements ITokenBindingKeyManager {
|
|
|
61
61
|
* @param correlationId - Request correlation identifier.
|
|
62
62
|
*/
|
|
63
63
|
removeTokenBindingKey(kid: string, correlationId: string): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* Returns whether a browser token-binding key is available.
|
|
66
|
+
*/
|
|
67
|
+
hasTokenBindingKey(keyId: string, correlationId: string): Promise<boolean>;
|
|
64
68
|
/**
|
|
65
69
|
* Clears browser token-binding keys from memory and persistent storage.
|
|
66
70
|
* @param correlationId - Request correlation identifier.
|
|
@@ -76,6 +80,11 @@ export declare class TokenBindingKeyManager implements ITokenBindingKeyManager {
|
|
|
76
80
|
private generateKeyPairAndThumbprint;
|
|
77
81
|
/** @internal */
|
|
78
82
|
getTokenBindingKeyPair(keyId: string, correlationId: string): Promise<CachedKeyPair>;
|
|
83
|
+
/**
|
|
84
|
+
* Returns whether a browser token-binding key survived in persistent
|
|
85
|
+
* storage and can be restored after a redirect navigation.
|
|
86
|
+
*/
|
|
87
|
+
isTokenBindingKeyPersisted(keyId: string, correlationId: string): Promise<boolean>;
|
|
79
88
|
/** @internal */
|
|
80
89
|
getTokenBindingKeyTelemetry(cachedKeyPair: CachedKeyPair, fallbackAlgorithm?: string): TokenBindingKeyTelemetry;
|
|
81
90
|
private getTokenBindingKeyGenAlgorithmOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenBindingKeyManager.d.ts","sourceRoot":"","sources":["../../src/crypto/TokenBindingKeyManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,kBAAkB,EAElB,MAAM,EACT,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACR,uBAAuB,EACvB,qCAAqC,EACxC,MAAM,4BAA4B,CAAC;AASpC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC,CAAC;AAEF;;;GAGG;AACH,qBAAa,sBAAuB,YAAW,uBAAuB;IAClE,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAGrC;IACF,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAoC;IACzE,OAAO,CAAC,KAAK,CAAoC;IACjD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,iBAAiB,CAAiC;gBAE9C,MAAM,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,kBAAkB;IAQlE,OAAO,CAAC,MAAM,CAAC,yBAAyB;IAWxC;;;OAGG;IACG,wBAAwB,CAC1B,OAAO,EAAE,qCAAqC,GAC/C,OAAO,CAAC,MAAM,CAAC;IAyBlB;;;;OAIG;IACG,qBAAqB,CACvB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC;IAWhB;;;OAGG;IACG,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAuB5D;;;;OAIG;IACG,2BAA2B,CAC7B,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,UAAU,CAAC;YASR,qBAAqB;YA6BrB,4BAA4B;IAwB1C,gBAAgB;IACV,sBAAsB,CACxB,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,aAAa,CAAC;IAYzB,gBAAgB;IAChB,2BAA2B,CACvB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,CAAC,EAAE,MAAM,GAC3B,wBAAwB;IAe3B,OAAO,CAAC,qCAAqC;CAiBhD"}
|
|
1
|
+
{"version":3,"file":"TokenBindingKeyManager.d.ts","sourceRoot":"","sources":["../../src/crypto/TokenBindingKeyManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,kBAAkB,EAElB,MAAM,EACT,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACR,uBAAuB,EACvB,qCAAqC,EACxC,MAAM,4BAA4B,CAAC;AASpC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF;;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gB;IAChB,2BAA2B,CACvB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,CAAC,EAAE,MAAM,GAC3B,wBAAwB;IAe3B,OAAO,CAAC,qCAAqC;CAiBhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAM3E,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EAEnB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACjB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAC;AAI3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAM3E,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAA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ACb,sBAAsB,CAAC,EAAE,sBAAsB,GAChD,gBAAgB;IAqCb,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAiOzD,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAkHzD,aAAa,CACf,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC;IAsD9B,eAAe,CACjB,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,0BAA0B,CAAC;IA8FhC,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAoK9D,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAyHpE,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,qBAAqB;CAWhC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An authentication method that can be registered for the current account.
|
|
3
|
+
* The enrollment link is supplied by the server and is used when the app
|
|
4
|
+
* selects this method.
|
|
5
|
+
*/
|
|
6
|
+
export interface AuthenticationMethodRegistrationV2 {
|
|
7
|
+
type: string;
|
|
8
|
+
channels?: readonly string[];
|
|
9
|
+
enrollHref: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AuthenticationMethodRegistrationV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticationMethodRegistrationV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
|
|
2
|
+
import type { FailedStateV2 } from "../state/FailedStateV2.js";
|
|
3
|
+
import type { AuthMethodVerificationRequiredStateV2 } from "../state/AuthMethodVerificationRequiredStateV2.js";
|
|
4
|
+
/**
|
|
5
|
+
* The states a registration challenge action can resolve to. Successful
|
|
6
|
+
* registration requires verification before the flow can complete.
|
|
7
|
+
*/
|
|
8
|
+
export type AuthMethodRegistrationChallengeResultStateV2 = AuthMethodVerificationRequiredStateV2 | FailedStateV2;
|
|
9
|
+
/**
|
|
10
|
+
* Result of challenging a selected authentication method for registration.
|
|
11
|
+
* It wraps the verification-required or failed state.
|
|
12
|
+
*/
|
|
13
|
+
export type AuthMethodRegistrationChallengeResultV2 = CustomAuthResultV2<AuthMethodRegistrationChallengeResultStateV2>;
|
|
14
|
+
//# sourceMappingURL=AuthMethodRegistrationChallengeResultV2.d.ts.map
|
package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAE/G;;;GAGG;AACH,MAAM,MAAM,4CAA4C,GAClD,qCAAqC,GACrC,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,uCAAuC,GAC/C,kBAAkB,CAAC,4CAA4C,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
5
|
+
/**
|
|
6
|
+
* The states an authentication-method verification submission can resolve to.
|
|
7
|
+
* A successful submission completes the authentication flow.
|
|
8
|
+
*/
|
|
9
|
+
export type AuthMethodVerificationSubmitChallengeResultStateV2 = CompletedStateV2 | FailedStateV2;
|
|
10
|
+
/**
|
|
11
|
+
* Result of submitting the authentication-method verification challenge. It
|
|
12
|
+
* includes account data when verification and token completion succeed.
|
|
13
|
+
*/
|
|
14
|
+
export type AuthMethodVerificationSubmitChallengeResultV2 = CustomAuthResultV2<AuthMethodVerificationSubmitChallengeResultStateV2, CustomAuthAccountData>;
|
|
15
|
+
//# sourceMappingURL=AuthMethodVerificationSubmitChallengeResultV2.d.ts.map
|
|
@@ -0,0 +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;AAExG;;;GAGG;AACH,MAAM,MAAM,kDAAkD,GACxD,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,6CAA6C,GAAG,kBAAkB,CAC1E,kDAAkD,EAClD,qBAAqB,CACxB,CAAC"}
|
|
@@ -9,7 +9,7 @@ import type { PasswordRequiredStateV2 } from "../../../../sign_in/auth_flow/v2/s
|
|
|
9
9
|
*/
|
|
10
10
|
export type RequestChallengeResultStateV2 = CodeRequiredStateV2 | MFAVerificationRequiredStateV2 | PasswordRequiredStateV2 | FailedStateV2;
|
|
11
11
|
/**
|
|
12
|
-
* Result of requesting
|
|
12
|
+
* Result of requesting a challenge. It wraps one of
|
|
13
13
|
* {@link RequestChallengeResultStateV2} plus, on failure, the unified V2 flow
|
|
14
14
|
* error.
|
|
15
15
|
*/
|
|
@@ -7,12 +7,13 @@ import type { AttributesRequiredStateV2 } from "../../../../sign_up/auth_flow/v2
|
|
|
7
7
|
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
8
8
|
import type { SignUpPasswordRequiredStateV2 } from "../../../../sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.js";
|
|
9
9
|
import type { AuthMethodSelectionRequiredStateV2 } from "../state/AuthMethodSelectionRequiredStateV2.js";
|
|
10
|
+
import type { AuthMethodRegistrationRequiredStateV2 } from "../state/AuthMethodRegistrationRequiredStateV2.js";
|
|
10
11
|
/**
|
|
11
12
|
* The states a verify-challenge action can resolve to. Verifying the one-time
|
|
12
13
|
* code advances password reset to `NewPasswordRequiredStateV2` or completes
|
|
13
14
|
* MFA sign-in. Failures resolve to `FailedStateV2`.
|
|
14
15
|
*/
|
|
15
|
-
export type VerifyChallengeResultStateV2 = NewPasswordRequiredStateV2 | SignUpPasswordRequiredStateV2 | AttributesRequiredStateV2 | SignInContinuationStateV2 | AuthMethodSelectionRequiredStateV2 | CompletedStateV2 | FailedStateV2;
|
|
16
|
+
export type VerifyChallengeResultStateV2 = NewPasswordRequiredStateV2 | SignUpPasswordRequiredStateV2 | AttributesRequiredStateV2 | SignInContinuationStateV2 | AuthMethodSelectionRequiredStateV2 | AuthMethodRegistrationRequiredStateV2 | CompletedStateV2 | FailedStateV2;
|
|
16
17
|
/**
|
|
17
18
|
* Result of verifying a challenge. It wraps one of
|
|
18
19
|
* {@link VerifyChallengeResultStateV2} plus, on failure, the unified V2 flow
|
|
@@ -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,6BAA6B,EAAE,MAAM,yEAAyE,CAAC;AAC7H,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;
|
|
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,6BAA6B,EAAE,MAAM,yEAAyE,CAAC;AAC7H,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAE/G;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAClC,0BAA0B,GAC1B,6BAA6B,GAC7B,yBAAyB,GACzB,yBAAyB,GACzB,kCAAkC,GAClC,qCAAqC,GACrC,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CACpD,4BAA4B,EAC5B,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AuthFlowActionRequiredStateBase } from "../../AuthFlowState.js";
|
|
2
|
+
import type { AuthenticationMethodRegistrationV2 } from "../AuthenticationMethodRegistrationV2.js";
|
|
3
|
+
import type { AuthMethodRegistrationChallengeResultV2 } from "../result/AuthMethodRegistrationChallengeResultV2.js";
|
|
4
|
+
import type { AuthMethodRegistrationRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
5
|
+
/**
|
|
6
|
+
* State returned when an authentication method must be registered. Applications
|
|
7
|
+
* select one of the sanitized offered methods and provide its contact value.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AuthMethodRegistrationRequiredStateV2 extends AuthFlowActionRequiredStateBase<AuthMethodRegistrationRequiredStateParametersV2> {
|
|
10
|
+
readonly stateType = "authMethodRegistrationRequired";
|
|
11
|
+
readonly methods: readonly AuthenticationMethodRegistrationV2[];
|
|
12
|
+
constructor(stateParameters: AuthMethodRegistrationRequiredStateParametersV2);
|
|
13
|
+
/**
|
|
14
|
+
* Selects an authentication method for strong-auth registration and requests
|
|
15
|
+
* its activation challenge.
|
|
16
|
+
* @param method - A method from {@link methods}.
|
|
17
|
+
* @param verificationContact - The email address or phone number to register.
|
|
18
|
+
* @returns The registration activation result.
|
|
19
|
+
*/
|
|
20
|
+
selectAuthMethod(method: AuthenticationMethodRegistrationV2, verificationContact: string): Promise<AuthMethodRegistrationChallengeResultV2>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=AuthMethodRegistrationRequiredStateV2.d.ts.map
|
package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAEnG,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,kCAAkC,CAAC;AAKxG;;;GAGG;AACH,qBAAa,qCAAsC,SAAQ,+BAA+B,CAAC,+CAA+C,CAAC;IACvI,QAAQ,CAAC,SAAS,oCAAoC;IACtD,QAAQ,CAAC,OAAO,EAAE,SAAS,kCAAkC,EAAE,CAAC;gBAG5D,eAAe,EAAE,+CAA+C;IAMpE;;;;;;OAMG;IACG,gBAAgB,CAClB,MAAM,EAAE,kCAAkC,EAC1C,mBAAmB,EAAE,MAAM,GAC5B,OAAO,CAAC,uCAAuC,CAAC;CAsDtD"}
|
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;AActF;;;;;GAKG;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;;;;;OAKG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;YAuHtB,8BAA8B;
|
|
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;AActF;;;;;GAKG;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;;;;;OAKG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;YAuHtB,8BAA8B;CAkC/C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AuthFlowActionRequiredStateBase } from "../../AuthFlowState.js";
|
|
2
|
+
import type { AuthMethodRegistrationChallengeResultV2 } from "../result/AuthMethodRegistrationChallengeResultV2.js";
|
|
3
|
+
import type { AuthMethodVerificationSubmitChallengeResultV2 } from "../result/AuthMethodVerificationSubmitChallengeResultV2.js";
|
|
4
|
+
import type { AuthMethodVerificationRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
5
|
+
/**
|
|
6
|
+
* State returned when a newly registered authentication method must be
|
|
7
|
+
* activated with the challenge sent by the service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AuthMethodVerificationRequiredStateV2 extends AuthFlowActionRequiredStateBase<AuthMethodVerificationRequiredStateParametersV2> {
|
|
10
|
+
readonly stateType = "authMethodVerificationRequired";
|
|
11
|
+
readonly type: string;
|
|
12
|
+
readonly sentTo?: string;
|
|
13
|
+
readonly codeLength: number;
|
|
14
|
+
constructor(stateParameters: AuthMethodVerificationRequiredStateParametersV2);
|
|
15
|
+
/**
|
|
16
|
+
* Submits the activation challenge for the registered method.
|
|
17
|
+
* @param challenge - The activation challenge to submit.
|
|
18
|
+
* @returns The completed authentication result or a failed state.
|
|
19
|
+
*/
|
|
20
|
+
submitChallenge(challenge: string): Promise<AuthMethodVerificationSubmitChallengeResultV2>;
|
|
21
|
+
/**
|
|
22
|
+
* Requests a replacement activation challenge using the retained server
|
|
23
|
+
* resend link.
|
|
24
|
+
* @returns Refreshed activation metadata or a failed state.
|
|
25
|
+
*/
|
|
26
|
+
resendChallenge(): Promise<AuthMethodRegistrationChallengeResultV2>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=AuthMethodVerificationRequiredStateV2.d.ts.map
|
package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts.map
ADDED
|
@@ -0,0 +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;AAKxG;;;GAGG;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;IA6CzD;;;;OAIG;IACG,eAAe,IAAI,OAAO,CAAC,uCAAuC,CAAC;CAyC5E"}
|
|
@@ -2,13 +2,14 @@ import { AuthFlowActionRequiredStateBase } from "../../AuthFlowState.js";
|
|
|
2
2
|
import type { AuthenticationMethodV2 } from "../AuthenticationMethodV2.js";
|
|
3
3
|
import type { CodeVerificationStateParametersV2 } from "./CustomAuthStateParametersV2.js";
|
|
4
4
|
import type { FlowCodeRequiredResultV2, FlowSubmitCodeResultV2 } from "../../../interaction_client/v2/result/FlowActionResultV2.js";
|
|
5
|
+
import type { AuthenticationFactorV2 } from "../../../network_client/custom_auth_api/v2/result/BaseResultsV2.js";
|
|
5
6
|
export declare abstract class ChallengeVerificationStateBaseV2<TParameters extends CodeVerificationStateParametersV2 = CodeVerificationStateParametersV2> extends AuthFlowActionRequiredStateBase<TParameters> {
|
|
6
7
|
readonly method?: AuthenticationMethodV2;
|
|
7
8
|
readonly sentTo?: string;
|
|
8
9
|
readonly channel?: string;
|
|
9
10
|
readonly codeLength?: number;
|
|
10
11
|
constructor(stateParameters: TParameters);
|
|
11
|
-
protected submitCodeCore(code: string): Promise<FlowSubmitCodeResultV2>;
|
|
12
|
-
protected resendCodeCore(): Promise<FlowCodeRequiredResultV2>;
|
|
12
|
+
protected submitCodeCore(code: string, authenticationFactor?: AuthenticationFactorV2): Promise<FlowSubmitCodeResultV2>;
|
|
13
|
+
protected resendCodeCore(authenticationFactor?: AuthenticationFactorV2): Promise<FlowCodeRequiredResultV2>;
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=ChallengeVerificationStateBaseV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChallengeVerificationStateBaseV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,KAAK,EACR,wBAAwB,EACxB,sBAAsB,EACzB,MAAM,6DAA6D,CAAC;
|
|
1
|
+
{"version":3,"file":"ChallengeVerificationStateBaseV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,KAAK,EACR,wBAAwB,EACxB,sBAAsB,EACzB,MAAM,6DAA6D,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oEAAoE,CAAC;AAEjH,8BAAsB,gCAAgC,CAClD,WAAW,SAAS,iCAAiC,GAAG,iCAAiC,CAC3F,SAAQ,+BAA+B,CAAC,WAAW,CAAC;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAEzC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;gBAEjB,eAAe,EAAE,WAAW;cAQxB,cAAc,CAC1B,IAAI,EAAE,MAAM,EACZ,oBAAoB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,sBAAsB,CAAC;cAelB,cAAc,CAC1B,oBAAoB,CAAC,EAAE,sBAAsB,GAC9C,OAAO,CAAC,wBAAwB,CAAC;CAOvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAe1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAGzF;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,gCAAgC,CAAC,6BAA6B,CAAC;IACpG,QAAQ,CAAC,SAAS,kBAAkB;IAEpC;;;;;OAKG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;IA8HhE;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,kBAAkB,CAAC;CAwClD"}
|
|
@@ -6,6 +6,7 @@ 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 { AuthenticationMethodRegistrationV2 } from "../AuthenticationMethodRegistrationV2.js";
|
|
9
10
|
export interface CustomAuthActionRequiredStateParametersV2 extends AuthFlowActionRequiredStateParameters {
|
|
10
11
|
flowClient: FlowInteractionClientV2;
|
|
11
12
|
continuationState: FlowContinuationStateV2;
|
|
@@ -27,4 +28,12 @@ export interface CodeRequiredStateParametersV2 extends CodeVerificationStatePara
|
|
|
27
28
|
signInStateTransitionHandler?: SignInStateTransitionHandlerV2;
|
|
28
29
|
}
|
|
29
30
|
export type MFAVerificationRequiredStateParametersV2 = CodeVerificationStateParametersV2;
|
|
31
|
+
export interface AuthMethodRegistrationRequiredStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
|
|
32
|
+
methods: readonly AuthenticationMethodRegistrationV2[];
|
|
33
|
+
}
|
|
34
|
+
export interface AuthMethodVerificationRequiredStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
|
|
35
|
+
type: string;
|
|
36
|
+
sentTo?: string;
|
|
37
|
+
codeLength: number;
|
|
38
|
+
}
|
|
30
39
|
//# sourceMappingURL=CustomAuthStateParametersV2.d.ts.map
|
|
@@ -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;
|
|
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;AAEnG,MAAM,WAAW,yCACb,SAAQ,qCAAqC;IAC7C,UAAU,EAAE,uBAAuB,CAAC;IACpC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,WAAW,EAAE,2BAA2B,CAAC;CAC5C;AAED,MAAM,WAAW,4CACb,SAAQ,yCAAyC;IACjD,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAC3C,oBAAoB,EAAE,sBAAsB,CAAC;IAC7C,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;CACjE;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,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 +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,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAM1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;
|
|
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,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAM1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAGzF;;;GAGG;AACH,qBAAa,8BAA+B,SAAQ,gCAAgC,CAAC,wCAAwC,CAAC;IAC1H,QAAQ,CAAC,SAAS,6BAA6B;IAE/C;;;;;OAKG;IACG,eAAe,CACjB,SAAS,EAAE,MAAM,GAClB,OAAO,CAAC,0BAA0B,CAAC;IA6CtC;;;;OAIG;IACG,eAAe,IAAI,OAAO,CAAC,0BAA0B,CAAC;CAsC/D"}
|
|
@@ -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;AAM1F,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAOD,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,EAAE;QACL,mBAAmB,EAAE,OAAO,CAAC;KAChC,CAAC;CACL"}
|
|
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;AAM1F,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;AAOD,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,EAAE;QACL,mBAAmB,EAAE,OAAO,CAAC;KAChC,CAAC;CACL"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ICrypto, IPerformanceClient, Logger } from "@azure/msal-common/browser";
|
|
2
2
|
import { InteractionClientBaseV2 } from "./InteractionClientBaseV2.js";
|
|
3
|
-
import { FlowStartParamsV2, FlowSignInStartParamsV2, FlowSignUpStartParamsV2, FlowChallengeParamsV2, FlowSubmitCodeParamsV2, FlowSubmitNewPasswordParamsV2, FlowSubmitSignInPasswordParamsV2, FlowSubmitSignUpAttributesParamsV2, FlowSignInWithContinuationParamsV2 } from "./parameter/FlowParamsV2.js";
|
|
4
|
-
import type { FlowMethodSelectionRequiredResultV2, FlowCodeRequiredResultV2, FlowSignInCodeRequiredResultV2, FlowResetPasswordCodeRequiredResultV2, FlowPasswordRequiredResultV2, FlowSignUpPasswordRequiredResultV2, FlowMFARequiredResultV2, FlowAttributesRequiredResultV2, FlowSignInContinuationRequiredResultV2, FlowCompletedResultV2, FlowSignUpActionResultV2, FlowSubmitCodeResultV2 } from "./result/FlowActionResultV2.js";
|
|
3
|
+
import { FlowStartParamsV2, FlowSignInStartParamsV2, FlowSignUpStartParamsV2, FlowChallengeParamsV2, FlowSubmitCodeParamsV2, FlowSubmitNewPasswordParamsV2, FlowSubmitSignInPasswordParamsV2, FlowSubmitSignUpAttributesParamsV2, FlowSignInWithContinuationParamsV2, FlowRegisterAuthMethodParamsV2, FlowVerifyAuthMethodRegistrationParamsV2 } from "./parameter/FlowParamsV2.js";
|
|
4
|
+
import type { FlowMethodSelectionRequiredResultV2, FlowCodeRequiredResultV2, FlowSignInCodeRequiredResultV2, FlowResetPasswordCodeRequiredResultV2, FlowPasswordRequiredResultV2, FlowSignUpPasswordRequiredResultV2, FlowMFARequiredResultV2, FlowAttributesRequiredResultV2, FlowSignInContinuationRequiredResultV2, FlowCompletedResultV2, FlowSignUpActionResultV2, FlowSubmitCodeResultV2, FlowAuthMethodRegistrationRequiredResultV2, 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,25 @@ 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<FlowMethodSelectionRequiredResultV2 | FlowPasswordRequiredResultV2 | FlowSignInCodeRequiredResultV2 | FlowMFARequiredResultV2 | FlowCompletedResultV2>;
|
|
14
|
+
signIn(parameters: FlowSignInStartParamsV2): Promise<FlowMethodSelectionRequiredResultV2 | FlowPasswordRequiredResultV2 | FlowSignInCodeRequiredResultV2 | FlowMFARequiredResultV2 | FlowAuthMethodRegistrationRequiredResultV2 | FlowCompletedResultV2>;
|
|
15
15
|
signUp(parameters: FlowSignUpStartParamsV2): Promise<FlowCodeRequiredResultV2 | FlowSignUpPasswordRequiredResultV2 | FlowAttributesRequiredResultV2>;
|
|
16
16
|
resetPassword(parameters: FlowStartParamsV2): Promise<FlowMethodSelectionRequiredResultV2 | FlowResetPasswordCodeRequiredResultV2>;
|
|
17
17
|
requestChallenge(parameters: FlowChallengeParamsV2): Promise<FlowCodeRequiredResultV2 | FlowPasswordRequiredResultV2>;
|
|
18
|
+
registerAuthMethod(parameters: FlowRegisterAuthMethodParamsV2): Promise<FlowAuthMethodVerificationRequiredResultV2>;
|
|
19
|
+
verifyAuthMethodRegistration(parameters: FlowVerifyAuthMethodRegistrationParamsV2): Promise<FlowCompletedResultV2>;
|
|
20
|
+
resendAuthMethodRegistrationChallenge(parameters: FlowChallengeParamsV2): Promise<FlowAuthMethodVerificationRequiredResultV2>;
|
|
18
21
|
submitCode(parameters: FlowSubmitCodeParamsV2): Promise<FlowSubmitCodeResultV2>;
|
|
19
22
|
resendCode(parameters: FlowChallengeParamsV2): Promise<FlowCodeRequiredResultV2>;
|
|
20
23
|
submitSignUpAttributes(parameters: FlowSubmitSignUpAttributesParamsV2): Promise<FlowSignUpActionResultV2>;
|
|
21
|
-
submitNewPassword(parameters: FlowSubmitNewPasswordParamsV2): Promise<FlowSignInContinuationRequiredResultV2>;
|
|
22
|
-
submitSignInPassword(parameters: FlowSubmitSignInPasswordParamsV2): Promise<FlowMFARequiredResultV2 | FlowCompletedResultV2>;
|
|
24
|
+
submitNewPassword(parameters: FlowSubmitNewPasswordParamsV2): Promise<FlowSignInContinuationRequiredResultV2 | FlowAuthMethodRegistrationRequiredResultV2>;
|
|
25
|
+
submitSignInPassword(parameters: FlowSubmitSignInPasswordParamsV2): Promise<FlowMFARequiredResultV2 | FlowAuthMethodRegistrationRequiredResultV2 | FlowCompletedResultV2>;
|
|
23
26
|
signInWithContinuation(parameters: FlowSignInWithContinuationParamsV2): Promise<FlowCompletedResultV2>;
|
|
24
27
|
private handleSignInVerification;
|
|
28
|
+
private handleSignUpVerification;
|
|
25
29
|
private getSupportedSignInMethods;
|
|
30
|
+
private createRegistrationRequest;
|
|
31
|
+
private createAuthMethodRegistrationRequiredResult;
|
|
32
|
+
private createAuthMethodVerificationRequiredResult;
|
|
26
33
|
private toSignUpActionResult;
|
|
27
34
|
private ensureAuthenticationFactor;
|
|
28
35
|
private verifySignInPassword;
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"FlowInteractionClientV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/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iFhC,OAAO,CAAC,yBAAyB;IA2BjC,OAAO,CAAC,yBAAyB;IAgCjC,OAAO,CAAC,0CAA0C;IAuElD,OAAO,CAAC,0CAA0C;IAuBlD,OAAO,CAAC,oBAAoB;IAqG5B,OAAO,CAAC,0BAA0B;YAmBpB,oBAAoB;IAyBlC,OAAO,CAAC,+BAA+B;YAgBzB,mBAAmB;IAuDjC,OAAO,CAAC,gCAAgC;IAqBxC,OAAO,CAAC,gBAAgB;IAsBxB,OAAO,CAAC,WAAW;CAkBtB"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FlowContinuationStateV2 } from "../FlowContinuationStateV2.js";
|
|
2
2
|
import { UserAccountAttributes } from "../../../../UserAccountAttributes.js";
|
|
3
|
+
import type { AuthenticationFactorV2, EnrollmentMethodV2 } from "../../../network_client/custom_auth_api/v2/result/BaseResultsV2.js";
|
|
4
|
+
import type { AuthenticationMethodRegistrationV2 } from "../../../auth_flow/v2/AuthenticationMethodRegistrationV2.js";
|
|
3
5
|
interface FlowParamsBaseV2 {
|
|
4
6
|
correlationId: string;
|
|
5
7
|
}
|
|
@@ -17,9 +19,11 @@ export interface FlowSignUpStartParamsV2 extends FlowStartParamsV2 {
|
|
|
17
19
|
}
|
|
18
20
|
export interface FlowChallengeParamsV2 extends FlowParamsBaseV2 {
|
|
19
21
|
continuationState: FlowContinuationStateV2;
|
|
22
|
+
authenticationFactor?: AuthenticationFactorV2;
|
|
20
23
|
}
|
|
21
24
|
export interface FlowSubmitCodeParamsV2 extends FlowParamsBaseV2 {
|
|
22
25
|
continuationState: FlowContinuationStateV2;
|
|
26
|
+
authenticationFactor?: AuthenticationFactorV2;
|
|
23
27
|
code: string;
|
|
24
28
|
}
|
|
25
29
|
export interface FlowSubmitNewPasswordParamsV2 extends FlowParamsBaseV2 {
|
|
@@ -37,5 +41,18 @@ export interface FlowSubmitSignUpAttributesParamsV2 extends FlowParamsBaseV2 {
|
|
|
37
41
|
export interface FlowSignInWithContinuationParamsV2 extends FlowParamsBaseV2 {
|
|
38
42
|
continuationState: FlowContinuationStateV2;
|
|
39
43
|
}
|
|
44
|
+
export interface FlowAuthMethodRegistrationRequiredParamsV2 extends FlowParamsBaseV2 {
|
|
45
|
+
continuationState: FlowContinuationStateV2;
|
|
46
|
+
methods: EnrollmentMethodV2[];
|
|
47
|
+
}
|
|
48
|
+
export interface FlowRegisterAuthMethodParamsV2 extends FlowParamsBaseV2 {
|
|
49
|
+
continuationState: FlowContinuationStateV2;
|
|
50
|
+
method: AuthenticationMethodRegistrationV2;
|
|
51
|
+
verificationContact: string;
|
|
52
|
+
}
|
|
53
|
+
export interface FlowVerifyAuthMethodRegistrationParamsV2 extends FlowParamsBaseV2 {
|
|
54
|
+
continuationState: FlowContinuationStateV2;
|
|
55
|
+
code: string;
|
|
56
|
+
}
|
|
40
57
|
export {};
|
|
41
58
|
//# sourceMappingURL=FlowParamsV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowParamsV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"FlowParamsV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACR,sBAAsB,EACtB,kBAAkB,EACrB,MAAM,oEAAoE,CAAC;AAC5E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,6DAA6D,CAAC;AAOtH,UAAU,gBAAgB;IACtB,aAAa,EAAE,MAAM,CAAC;CAC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BAA+B,SAAQ,gBAAgB;IACpE,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,MAAM,EAAE,kCAAkC,CAAC;IAC3C,mBAAmB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,wCACb,SAAQ,gBAAgB;IACxB,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -2,6 +2,7 @@ import { AuthenticationResult } from "../../../../../response/AuthenticationResu
|
|
|
2
2
|
import { AuthenticationMethodV2 } from "../../../auth_flow/v2/AuthenticationMethodV2.js";
|
|
3
3
|
import { FlowContinuationStateV2 } from "../FlowContinuationStateV2.js";
|
|
4
4
|
import { SignUpAttributeV2 } from "../../../network_client/custom_auth_api/v2/result/SignUpResultsV2.js";
|
|
5
|
+
import { AuthenticationMethodRegistrationV2 } from "../../../auth_flow/v2/AuthenticationMethodRegistrationV2.js";
|
|
5
6
|
interface FlowActionResultBaseV2 {
|
|
6
7
|
type: string;
|
|
7
8
|
correlationId: string;
|
|
@@ -56,8 +57,19 @@ export interface FlowCompletedResultV2 extends FlowActionResultBaseV2 {
|
|
|
56
57
|
type: typeof FLOW_COMPLETED_V2;
|
|
57
58
|
authenticationResult: AuthenticationResult;
|
|
58
59
|
}
|
|
59
|
-
export
|
|
60
|
-
|
|
60
|
+
export interface FlowAuthMethodRegistrationRequiredResultV2 extends FlowActionResultBaseV2 {
|
|
61
|
+
type: typeof FLOW_AUTH_METHOD_REGISTRATION_REQUIRED_V2;
|
|
62
|
+
continuationState: FlowContinuationStateV2;
|
|
63
|
+
methods: AuthenticationMethodRegistrationV2[];
|
|
64
|
+
}
|
|
65
|
+
export interface FlowAuthMethodVerificationRequiredResultV2 extends FlowActionResultBaseV2 {
|
|
66
|
+
type: typeof FLOW_AUTH_METHOD_VERIFICATION_REQUIRED_V2;
|
|
67
|
+
continuationState: FlowContinuationStateV2;
|
|
68
|
+
sentTo?: string;
|
|
69
|
+
codeLength: number;
|
|
70
|
+
}
|
|
71
|
+
export type FlowSubmitCodeResultV2 = FlowNewPasswordRequiredResultV2 | FlowSignUpPasswordRequiredResultV2 | FlowAttributesRequiredResultV2 | FlowSignInContinuationRequiredResultV2 | FlowMFARequiredResultV2 | FlowAuthMethodRegistrationRequiredResultV2 | FlowCompletedResultV2;
|
|
72
|
+
export type FlowSignUpActionResultV2 = FlowCodeRequiredResultV2 | FlowSignUpPasswordRequiredResultV2 | FlowAttributesRequiredResultV2 | FlowAuthMethodRegistrationRequiredResultV2 | FlowSignInContinuationRequiredResultV2;
|
|
61
73
|
export declare const FLOW_METHOD_SELECTION_REQUIRED_V2 = "FlowMethodSelectionRequiredResultV2";
|
|
62
74
|
export declare const FLOW_CODE_REQUIRED_V2 = "FlowCodeRequiredResultV2";
|
|
63
75
|
export declare const FLOW_PASSWORD_REQUIRED_V2 = "FlowPasswordRequiredResultV2";
|
|
@@ -67,6 +79,8 @@ export declare const FLOW_NEW_PASSWORD_REQUIRED_V2 = "FlowNewPasswordRequiredRes
|
|
|
67
79
|
export declare const FLOW_ATTRIBUTES_REQUIRED_V2 = "FlowAttributesRequiredResultV2";
|
|
68
80
|
export declare const FLOW_SIGN_IN_CONTINUATION_REQUIRED_V2 = "FlowSignInContinuationRequiredResultV2";
|
|
69
81
|
export declare const FLOW_COMPLETED_V2 = "FlowCompletedResultV2";
|
|
82
|
+
export declare const FLOW_AUTH_METHOD_REGISTRATION_REQUIRED_V2 = "FlowAuthMethodRegistrationRequiredResultV2";
|
|
83
|
+
export declare const FLOW_AUTH_METHOD_VERIFICATION_REQUIRED_V2 = "FlowAuthMethodVerificationRequiredResultV2";
|
|
70
84
|
export declare function createFlowMethodSelectionRequiredResultV2(input: Omit<FlowMethodSelectionRequiredResultV2, "type">): FlowMethodSelectionRequiredResultV2;
|
|
71
85
|
export declare function createFlowCodeRequiredResultV2(input: Omit<FlowCodeRequiredResultV2, "type">): FlowCodeRequiredResultV2;
|
|
72
86
|
export declare function createFlowPasswordRequiredResultV2(input: Omit<FlowPasswordRequiredResultV2, "type">): FlowPasswordRequiredResultV2;
|
|
@@ -76,5 +90,7 @@ export declare function createFlowNewPasswordRequiredResultV2(input: Omit<FlowNe
|
|
|
76
90
|
export declare function createFlowAttributesRequiredResultV2(input: Omit<FlowAttributesRequiredResultV2, "type">): FlowAttributesRequiredResultV2;
|
|
77
91
|
export declare function createFlowSignInContinuationRequiredResultV2(input: Omit<FlowSignInContinuationRequiredResultV2, "type">): FlowSignInContinuationRequiredResultV2;
|
|
78
92
|
export declare function createFlowCompletedResultV2(input: Omit<FlowCompletedResultV2, "type">): FlowCompletedResultV2;
|
|
93
|
+
export declare function createFlowAuthMethodRegistrationRequiredResultV2(input: Omit<FlowAuthMethodRegistrationRequiredResultV2, "type">): FlowAuthMethodRegistrationRequiredResultV2;
|
|
94
|
+
export declare function createFlowAuthMethodVerificationRequiredResultV2(input: Omit<FlowAuthMethodVerificationRequiredResultV2, "type">): FlowAuthMethodVerificationRequiredResultV2;
|
|
79
95
|
export {};
|
|
80
96
|
//# sourceMappingURL=FlowActionResultV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowActionResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sEAAsE,CAAC;
|
|
1
|
+
{"version":3,"file":"FlowActionResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAAE,sBAAsB,E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,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAC3C,qBAAqB,CAEvB;AAED,wBAAgB,gDAAgD,CAC5D,KAAK,EAAE,IAAI,CAAC,0CAA0C,EAAE,MAAM,CAAC,GAChE,0CAA0C,CAE5C;AAED,wBAAgB,gDAAgD,CAC5D,KAAK,EAAE,IAAI,CAAC,0CAA0C,EAAE,MAAM,CAAC,GAChE,0CAA0C,CAE5C"}
|
|
@@ -4,9 +4,17 @@ export declare const CHALLENGE_RELATION = "challenge";
|
|
|
4
4
|
export declare const VERIFY_RELATION = "verify";
|
|
5
5
|
export declare const RISK_VERIFY_RELATION = "riskverify";
|
|
6
6
|
export declare const COLLECT_ATTRIBUTES_RELATION = "collectAttributes";
|
|
7
|
+
export declare const ENROLL_RELATION = "enroll";
|
|
8
|
+
export declare const ACTIVATE_RELATION = "activate";
|
|
9
|
+
export declare const RESEND_RELATION = "resend";
|
|
10
|
+
export declare const POLL_RELATION = "poll";
|
|
7
11
|
export declare const AuthenticationMethodTypeV2: {
|
|
8
12
|
readonly EMAIL: "email";
|
|
9
13
|
readonly PASSWORD: "password";
|
|
14
|
+
readonly PHONE: "phone";
|
|
15
|
+
readonly SMS: "sms";
|
|
16
|
+
};
|
|
17
|
+
export declare const PhoneRegistrationChannelV2: {
|
|
10
18
|
readonly SMS: "sms";
|
|
11
19
|
};
|
|
12
20
|
export declare const ResponseStateV2: {
|
package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientConstantsV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AAGpD,eAAO,MAAM,eAAe,WAAW,CAAC;AACxC,eAAO,MAAM,kBAAkB,cAAc,CAAC;AAC9C,eAAO,MAAM,eAAe,WAAW,CAAC;AACxC,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,2BAA2B,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ApiClientConstantsV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AAGpD,eAAO,MAAM,eAAe,WAAW,CAAC;AACxC,eAAO,MAAM,kBAAkB,cAAc,CAAC;AAC9C,eAAO,MAAM,eAAe,WAAW,CAAC;AACxC,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,2BAA2B,sBAAsB,CAAC;AAC/D,eAAO,MAAM,eAAe,WAAW,CAAC;AACxC,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAC5C,eAAO,MAAM,eAAe,WAAW,CAAC;AACxC,eAAO,MAAM,aAAa,SAAS,CAAC;AAEpC,eAAO,MAAM,0BAA0B;;;;;CAK7B,CAAC;AAEX,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AAMX,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
|