Table of Contents

Class CreateUserAuthenticationMethodResponseContent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

The successfully created authentication method.

[Serializable]
public record CreateUserAuthenticationMethodResponseContent : IJsonOnDeserialized, IEquatable<CreateUserAuthenticationMethodResponseContent>
Inheritance
CreateUserAuthenticationMethodResponseContent
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

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

AuthenticationMethods

[JsonPropertyName("authentication_methods")]
public IEnumerable<UserAuthenticationMethodProperties>? AuthenticationMethods { get; set; }

Property Value

IEnumerable<UserAuthenticationMethodProperties>

CreatedAt

Authentication method creation date

[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

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

Id

The ID of the newly created authentication method (automatically generated by the application)

[JsonPropertyName("id")]
public string? Id { 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 authenticators 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

Preferred phone authentication method

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

Property Value

PreferredAuthenticationMethodEnum?

PublicKey

Applies to webauthn authenticators only. The public key.

[JsonPropertyName("public_key")]
public string? PublicKey { get; set; }

Property Value

string

RelyingPartyIdentifier

Applies to webauthn authenticators 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.