Table of Contents

Class DeviceCredential

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

Properties

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

ClientId

client_id of the client (application) this credential is for.

[JsonPropertyName("client_id")]
public string? ClientId { get; set; }

Property Value

string

DeviceId

Unique identifier for the device. NOTE: This field is generally not populated for refresh_tokens and rotating_refresh_tokens

[JsonPropertyName("device_id")]
public string? DeviceId { get; set; }

Property Value

string

DeviceName

User agent for this device

[JsonPropertyName("device_name")]
public string? DeviceName { get; set; }

Property Value

string

Id

ID of this device.

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string

Type

Type of credential. Can be public_key, refresh_token, or rotating_refresh_token.

[JsonPropertyName("type")]
public DeviceCredentialTypeEnum? Type { get; set; }

Property Value

DeviceCredentialTypeEnum?

UserId

user_id this credential is associated with.

[JsonPropertyName("user_id")]
public string? UserId { 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.