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
ClientId
client_id of the client (application) this credential is for.
[JsonPropertyName("client_id")]
public string? ClientId { get; set; }
Property Value
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
DeviceName
User agent for this device
[JsonPropertyName("device_name")]
public string? DeviceName { get; set; }
Property Value
Id
ID of this device.
[JsonPropertyName("id")]
public string? Id { get; set; }
Property Value
Type
Type of credential. Can be public_key, refresh_token, or rotating_refresh_token.
[JsonPropertyName("type")]
public DeviceCredentialTypeEnum? Type { get; set; }
Property Value
UserId
user_id this credential is associated with.
[JsonPropertyName("user_id")]
public string? UserId { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.