SignInSecondFactor
The SignInSecondFactor
type represents the second factor verification strategy that can be used in the sign-in process.
type SignInSecondFactor = | PhoneCodeFactor | TOTPFactor | BackupCodeFactor;
Property | Type | Description |
---|---|---|
strategy | string | The strategy of the factor. Supports the following values:
|
phoneNumberId | string | The ID of the phone number that a code will be sent to. Populated when the strategy is "phone_code" . |
safeIdentifier | string | The safe identifier of the factor. Supports the following values:
Populated when the strategy is "phone_code" . |
primary | boolean | Whether the factor is the primary factor. Populated when the strategy is "phone_code" . |
TOTPFactor
type TOTPFactor = { strategy: TOTPStrategy; };
BackupCodeFactor
type BackupCodeFactor = { strategy: BackupCodeStrategy; };
Last updated on March 26, 2024