Table of Contents

Class CreateUserAuthenticationMethodRequestContent

Namespace
Auth0.ManagementApi.Users
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record CreateUserAuthenticationMethodRequestContent : IEquatable<CreateUserAuthenticationMethodRequestContent>
Inheritance
CreateUserAuthenticationMethodRequestContent
Implements
Inherited Members
Extension Methods

Properties

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

KeyId

Applies to webauthn authentication methods only. The id of the credential.

[JsonPropertyName("key_id")]
public string? KeyId { get; set; }

Property Value

string

Name

A 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?

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

string

RelyingPartyIdentifier

Applies to webauthn authentication methods only. The relying party identifier.

[JsonPropertyName("relying_party_identifier")]
public string? RelyingPartyIdentifier { get; set; }

Property Value

string

TotpSecret

Base32 encoded secret for TOTP generation.

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

Property Value

string

Type

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

Property Value

CreatedUserAuthenticationMethodTypeEnum

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.