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

Aaguid

Applies to passkeys only. Authenticator Attestation Globally Unique Identifier

[JsonPropertyName("aaguid")]
public string? Aaguid { get; set; }

Property Value

string

CredentialBackedUp

Applies to passkeys only. Whether the credential was backed up.

[JsonPropertyName("credential_backed_up")]
public bool? CredentialBackedUp { get; set; }

Property Value

bool?

CredentialDeviceType

[JsonPropertyName("credential_device_type")]
public CredentialDeviceTypeEnum? CredentialDeviceType { get; set; }

Property Value

CredentialDeviceTypeEnum?

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

IdentityUserId

Applies to passkeys only. The ID of the user identity linked with the authentication method.

[JsonPropertyName("identity_user_id")]
public string? IdentityUserId { get; set; }

Property Value

string

KeyId

Applies to webauthn/passkey 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/passkey 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

Transports

Applies to passkeys only. The transports used by clients to communicate with the authenticator.

[JsonPropertyName("transports")]
public IEnumerable<string>? Transports { get; set; }

Property Value

IEnumerable<string>

Type

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

Property Value

CreatedUserAuthenticationMethodTypeEnum

UserAgent

Applies to passkeys only. The user-agent of the browser used to create the passkey.

[JsonPropertyName("user_agent")]
public string? UserAgent { get; set; }

Property Value

string

UserHandle

Applies to passkeys only. The user handle of the user identity.

[JsonPropertyName("user_handle")]
public string? UserHandle { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.