Table of Contents

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

string

DeviceId

Gets or sets a unique identifier for the device.

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

Property Value

string

DeviceName

Gets or sets the device's name.

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

Property Value

string

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

string

Remarks

This should be either "public_key" or "refresh_token".