Table of Contents

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

ReadOnlyAdditionalProperties

Email

Applies to email authentication methods only. The email address used to send verification messages.

[JsonPropertyName("email")]
public string? Email { get; set; }

Property Value

string

Name

AA human-readable label to identify the authentication method.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

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

string

PreferredAuthenticationMethod

[JsonPropertyName("preferred_authentication_method")]
public PreferredAuthenticationMethodEnum? PreferredAuthenticationMethod { get; set; }

Property Value

PreferredAuthenticationMethodEnum?

TotpSecret

Applies to totp authentication methods only. The base32 encoded secret for TOTP generation.

[JsonPropertyName("totp_secret")]
public string? TotpSecret { get; set; }

Property Value

string

Type

[JsonPropertyName("type")]
public required AuthenticationTypeEnum Type { get; set; }

Property Value

AuthenticationTypeEnum

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.