docs/interfaces/management.Management.CreateUserAuthenticationMethodRequestContent.html
{ * type: "phone" * }Copy
interface CreateUserAuthenticationMethodRequestContent {
type: Management.CreatedUserAuthenticationMethodTypeEnum;
name?: string;
totp_secret?: string;
phone_number?: string;
email?: string;
preferred_authentication_method?: Management.PreferredAuthenticationMethodEnum;
key_id?: string;
public_key?: string;
relying_party_identifier?: string;
}
typename?totp_secret?phone_number?email?preferred_authentication_method?key_id?public_key?relying_party_identifier?
type: Management.CreatedUserAuthenticationMethodTypeEnum
Optionalnamename?: string
A human-readable label to identify the authentication method.
Optionaltotp_secrettotp_secret?: string
Base32 encoded secret for TOTP generation.
Optionalphone_numberphone_number?: string
Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
Optionalemailemail?: string
Applies to email authentication methods only. The email address used to send verification messages.
Optionalpreferred_authentication_methodpreferred_authentication_method?: Management.PreferredAuthenticationMethodEnum
Optionalkey_idkey_id?: string
Applies to webauthn authentication methods only. The id of the credential.
Optionalpublic_keypublic_key?: string
Applies to webauthn authentication methods only. The public key, which is encoded as base64.
Optionalrelying_party_identifierrelying_party_identifier?: string
Applies to webauthn authentication methods only. The relying party identifier.
Member Visibility
ThemeOSLightDark
Properties typenametotp_secretphone_numberemailpreferred_authentication_methodkey_idpublic_keyrelying_party_identifier