Class SetUserAuthenticationMethods
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record SetUserAuthenticationMethods : IJsonOnDeserialized, IEquatable<SetUserAuthenticationMethods>
- Inheritance
-
SetUserAuthenticationMethods
- Implements
- Inherited Members
- Extension Methods
Properties
AdditionalProperties
[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }
Property Value
Applies to email authentication methods only. The email address used to send verification messages.
[JsonPropertyName("email")]
public string? Email { get; set; }
Property Value
Name
AA 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
TotpSecret
Applies to totp authentication methods only. The base32 encoded secret for TOTP generation.
[JsonPropertyName("totp_secret")]
public string? TotpSecret { get; set; }
Property Value
Type
[JsonPropertyName("type")]
public required AuthenticationTypeEnum 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.