Class CreateUserAuthenticationMethodRequestContent
- Namespace
- Auth0.ManagementApi.Users
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record CreateUserAuthenticationMethodRequestContent : IEquatable<CreateUserAuthenticationMethodRequestContent>
- Inheritance
-
CreateUserAuthenticationMethodRequestContent
- Implements
- Inherited Members
- Extension Methods
Properties
Applies to email authentication methods only. The email address used to send verification messages.
[JsonPropertyName("email")]
public string? Email { get; set; }
Property Value
KeyId
Applies to webauthn authentication methods only. The id of the credential.
[JsonPropertyName("key_id")]
public string? KeyId { get; set; }
Property Value
Name
A human-readable label to identify the authentication method.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
PhoneNumber
Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
[JsonPropertyName("phone_number")]
public string? PhoneNumber { get; set; }
Property Value
PreferredAuthenticationMethod
[JsonPropertyName("preferred_authentication_method")]
public PreferredAuthenticationMethodEnum? PreferredAuthenticationMethod { get; set; }
Property Value
PublicKey
Applies to webauthn authentication methods only. The public key, which is encoded as base64.
[JsonPropertyName("public_key")]
public string? PublicKey { get; set; }
Property Value
RelyingPartyIdentifier
Applies to webauthn authentication methods only. The relying party identifier.
[JsonPropertyName("relying_party_identifier")]
public string? RelyingPartyIdentifier { get; set; }
Property Value
TotpSecret
Base32 encoded secret for TOTP generation.
[JsonPropertyName("totp_secret")]
public string? TotpSecret { get; set; }
Property Value
Type
[JsonPropertyName("type")]
public required CreatedUserAuthenticationMethodTypeEnum Type { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.