Class DeviceCredentialBase
- Namespace
- Auth0.ManagementApi.Models
- Assembly
- Auth0.ManagementApi.dll
Base class for device credentials.
public abstract class DeviceCredentialBase
- Inheritance
-
DeviceCredentialBase
- Derived
- Inherited Members
Properties
ClientId
Gets or sets the ID of the client for which the credential will be created.
[JsonProperty("client_id")]
public string ClientId { get; set; }
Property Value
DeviceId
Gets or sets a unique identifier for the device.
[JsonProperty("device_id")]
public string DeviceId { get; set; }
Property Value
DeviceName
Gets or sets the device's name.
[JsonProperty("device_name")]
public string DeviceName { get; set; }
Property Value
Remarks
This is a value that must be easily recognized by the device's owner.
Type
Gets or sets the type of the credential.
[JsonProperty("type")]
public string Type { get; set; }
Property Value
Remarks
This should be either "public_key" or "refresh_token".