OptionalnameA human-readable label to identify the authentication method.
Optionaltotp_Base32 encoded secret for TOTP generation.
Optionalphone_Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
OptionalemailApplies to email authentication methods only. The email address used to send verification messages.
Optionalpreferred_Optionalkey_Applies to webauthn authentication methods only. The id of the credential.
Optionalpublic_Applies to webauthn authentication methods only. The public key, which is encoded as base64.
Optionalrelying_Applies to webauthn authentication methods only. The relying party identifier.
Example