Comparing version 10.5.0 to 10.6.0
@@ -38,4 +38,6 @@ "use strict"; | ||
* The `intermediate_session_token` can be passed into the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA step and acquire a full member session. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to complete | ||
* the MFA step and acquire a full member session. | ||
* The `intermediate_session_token` can also be used with the | ||
@@ -42,0 +44,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -8,2 +8,3 @@ "use strict"; | ||
var _method_options = require("../shared/method_options"); | ||
var _organizations_members_oauth_providers = require("./organizations_members_oauth_providers"); | ||
var _shared = require("../shared"); | ||
@@ -53,2 +54,3 @@ // !!! | ||
this.fetchConfig = fetchConfig; | ||
this.oauthProviders = new _organizations_members_oauth_providers.OAuthProviders(this.fetchConfig); | ||
} | ||
@@ -55,0 +57,0 @@ |
@@ -93,4 +93,6 @@ "use strict"; | ||
* The `intermediate_session_token` can be passed into the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA step and acquire a full member session. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to complete | ||
* the MFA step and acquire a full member session. | ||
* The `session_duration_minutes` and `session_custom_claims` parameters will be ignored. | ||
@@ -97,0 +99,0 @@ * |
@@ -44,3 +44,3 @@ "use strict"; | ||
* [Authenticate OTP](https://stytch.com/docs/api/authenticate-otp) using the OTP `code` along with the | ||
* `phone_id` found in the response as the `method_id`. | ||
* `email_id` found in the response as the `method_id`. | ||
* @param data {@link OTPsEmailSendRequest} | ||
@@ -47,0 +47,0 @@ * @returns {@link OTPsEmailSendResponse} |
{ | ||
"name": "stytch", | ||
"version": "10.5.0", | ||
"version": "10.6.0", | ||
"description": "A wrapper for the Stytch API", | ||
@@ -5,0 +5,0 @@ "types": "./types/lib/index.d.ts", |
@@ -10,4 +10,6 @@ import { fetchConfig } from "../shared"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -89,4 +91,6 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* It can also be used with the | ||
@@ -93,0 +97,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -11,4 +11,6 @@ import { DiscoveredOrganization } from "./discovery"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -190,4 +192,6 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* It can also be used with the | ||
@@ -214,4 +218,6 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -218,0 +224,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -8,2 +8,3 @@ export type { SearchQueryOperand } from "./organizations"; | ||
export type { B2BOrganizationsMembersCreateRequest, B2BOrganizationsMembersCreateResponse, B2BOrganizationsMembersDangerouslyGetRequest, B2BOrganizationsMembersDeleteMFAPhoneNumberRequest, B2BOrganizationsMembersDeleteMFAPhoneNumberResponse, B2BOrganizationsMembersDeletePasswordRequest, B2BOrganizationsMembersDeletePasswordResponse, B2BOrganizationsMembersDeleteRequest, B2BOrganizationsMembersDeleteResponse, B2BOrganizationsMembersDeleteTOTPRequest, B2BOrganizationsMembersDeleteTOTPResponse, B2BOrganizationsMembersGetRequest, B2BOrganizationsMembersGetResponse, B2BOrganizationsMembersReactivateRequest, B2BOrganizationsMembersReactivateResponse, B2BOrganizationsMembersSearchRequest, B2BOrganizationsMembersSearchResponse, B2BOrganizationsMembersUpdateRequest, B2BOrganizationsMembersUpdateResponse, B2BOrganizationsMembersUpdateRequestOptions, B2BOrganizationsMembersDeleteRequestOptions, B2BOrganizationsMembersReactivateRequestOptions, B2BOrganizationsMembersDeleteMFAPhoneNumberRequestOptions, B2BOrganizationsMembersDeleteTOTPRequestOptions, B2BOrganizationsMembersSearchRequestOptions, B2BOrganizationsMembersDeletePasswordRequestOptions, B2BOrganizationsMembersCreateRequestOptions, } from "./organizations_members"; | ||
export type { B2BOrganizationsMembersOAuthProvidersGoogleResponse, B2BOrganizationsMembersOAuthProvidersMicrosoftRequest, B2BOrganizationsMembersOAuthProvidersMicrosoftResponse, } from "./organizations_members_oauth_providers"; | ||
export type { AuthorizationCheck, AuthorizationVerdict, MemberSession, B2BSessionsAuthenticateRequest, B2BSessionsAuthenticateResponse, B2BSessionsExchangeRequest, B2BSessionsExchangeResponse, B2BSessionsGetJWKSRequest, B2BSessionsGetJWKSResponse, B2BSessionsGetRequest, B2BSessionsGetResponse, B2BSessionsRevokeRequest, B2BSessionsRevokeResponse, } from "./sessions"; | ||
@@ -10,0 +11,0 @@ export type { B2BRecoveryCodesGetRequest, B2BRecoveryCodesGetResponse, B2BRecoveryCodesRecoverRequest, B2BRecoveryCodesRecoverResponse, B2BRecoveryCodesRotateRequest, B2BRecoveryCodesRotateResponse, } from "./recovery_codes"; |
@@ -17,4 +17,6 @@ import { DiscoveredOrganization } from "./discovery"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -21,0 +23,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -99,4 +99,6 @@ import { Discovery } from "./magic_links_discovery"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* It can also be used with the | ||
@@ -136,4 +138,6 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) | ||
* The `intermediate_session_token` can be passed into the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA step and acquire a full member session. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to complete | ||
* the MFA step and acquire a full member session. | ||
* The `intermediate_session_token` can also be used with the | ||
@@ -140,0 +144,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
export interface MemberOptions { | ||
mfa_phone_number: string; | ||
totp_registration_id: string; | ||
} | ||
@@ -4,0 +5,0 @@ export interface MfaRequired { |
@@ -21,4 +21,6 @@ import { DiscoveredOrganization } from "./discovery"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -25,0 +27,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -108,4 +108,6 @@ import { Discovery } from "./oauth_discovery"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* It can also be used with the | ||
@@ -112,0 +114,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
import { Authorization } from "../shared/method_options"; | ||
import { B2BOrganizationsResultsMetadata, Member, Organization, SearchQuery } from "./organizations"; | ||
import { fetchConfig } from "../shared"; | ||
import { OAuthProviders } from "./organizations_members_oauth_providers"; | ||
export interface B2BOrganizationsMembersCreateRequestOptions { | ||
@@ -425,5 +426,11 @@ /** | ||
/** | ||
* The Member's default MFA method. This value is used to determine which secondary MFA method to use in | ||
* the case of multiple methods registered for a Member. The current possible values are `sms_otp` and | ||
* `totp`. | ||
* Sets whether the Member is enrolled in MFA. If true, the Member must complete an MFA step whenever they | ||
* wish to log in to their Organization. If false, the Member only needs to complete an MFA step if the | ||
* Organization's MFA policy is set to `REQUIRED_FOR_ALL`. | ||
* | ||
* If this field is provided and a session header is passed into the request, the Member Session must have | ||
* permission to perform the `update.settings.default-mfa-method` action on the `stytch.member` Resource. | ||
* Alternatively, if the Member Session matches the Member associated with the `member_id` passed in the | ||
* request, the authorization check will also allow a Member Session that has permission to perform the | ||
* `update.settings.default-mfa-method` action on the `stytch.self` Resource. | ||
*/ | ||
@@ -449,2 +456,3 @@ default_mfa_method?: string; | ||
private fetchConfig; | ||
oauthProviders: OAuthProviders; | ||
constructor(fetchConfig: fetchConfig); | ||
@@ -451,0 +459,0 @@ /** |
@@ -20,4 +20,6 @@ import { fetchConfig } from "../shared"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -124,4 +126,6 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -128,0 +132,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -89,4 +89,6 @@ import { fetchConfig } from "../shared"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* Password factors are not transferable between Organizations, so the intermediate session token is | ||
@@ -93,0 +95,0 @@ * not valid for use with discovery endpoints. |
@@ -74,4 +74,6 @@ import { fetchConfig } from "../shared"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* Password factors are not transferable between Organizations, so the intermediate session token is | ||
@@ -78,0 +80,0 @@ * not valid for use with discovery endpoints. |
@@ -69,4 +69,6 @@ import { fetchConfig } from "../shared"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -73,0 +75,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -115,4 +115,6 @@ import { Argon2Config, MD5Config, PBKDF2Config, SHA1Config, ScryptConfig } from "../b2c/passwords"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* Password factors are not transferable between Organizations, so the intermediate session token is | ||
@@ -119,0 +121,0 @@ * not valid for use with discovery endpoints. |
@@ -52,4 +52,6 @@ import { fetchConfig } from "../shared"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -56,0 +58,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -216,4 +216,6 @@ import { AuthenticationFactor, JWK } from "../b2c/sessions"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the target Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the target Organization. | ||
* It can also be used with the | ||
@@ -220,0 +222,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -143,4 +143,6 @@ import { Authorization } from "../shared/method_options"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA flow and log in to the Organization. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete the MFA flow and log in to the Organization. | ||
* SSO factors are not transferable between Organizations, so the intermediate session token is not | ||
@@ -247,4 +249,6 @@ * valid for use with discovery endpoints. | ||
* The `intermediate_session_token` can be passed into the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete the | ||
* MFA step and acquire a full member session. | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to complete | ||
* the MFA step and acquire a full member session. | ||
* The `session_duration_minutes` and `session_custom_claims` parameters will be ignored. | ||
@@ -251,0 +255,0 @@ * |
@@ -20,4 +20,6 @@ import { fetchConfig } from "../shared"; | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -118,4 +120,6 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) | ||
* The token can be used with the | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms) to complete an MFA | ||
* flow; | ||
* [OTP SMS Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-otp-sms), | ||
* [TOTP Authenticate endpoint](https://stytch.com/docs/b2b/api/authenticate-totp), | ||
* or [Recovery Codes Recover endpoint](https://stytch.com/docs/b2b/api/recovery-codes-recover) to | ||
* complete an MFA flow; | ||
* the | ||
@@ -122,0 +126,0 @@ * [Exchange Intermediate Session endpoint](https://stytch.com/docs/b2b/api/exchange-intermediate-session) |
@@ -137,3 +137,3 @@ import { Attributes } from "./attribute"; | ||
* [Authenticate OTP](https://stytch.com/docs/api/authenticate-otp) using the OTP `code` along with the | ||
* `phone_id` found in the response as the `method_id`. | ||
* `email_id` found in the response as the `method_id`. | ||
* @param data {@link OTPsEmailSendRequest} | ||
@@ -140,0 +140,0 @@ * @returns {@link OTPsEmailSendResponse} |
@@ -184,3 +184,3 @@ import { fetchConfig } from "../shared"; | ||
* Globally unique UUID that identifies a Passkey or WebAuthn registration in the Stytch API. The | ||
* `webautn_registration_id` is used when you need to operate on a specific User's WebAuthn registartion. | ||
* `webauthn_registration_id` is used when you need to operate on a specific User's WebAuthn registration. | ||
*/ | ||
@@ -187,0 +187,0 @@ webauthn_registration_id: string; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
700258
124
15071