Auth0 · Schema
DeviceCredential
AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM
Properties
| Name | Type | Description |
|---|---|---|
| id | string | ID of this device. |
| device_name | string | User agent for this device |
| device_id | string | Unique identifier for the device. NOTE: This field is generally not populated for refresh_tokens and rotating_refresh_tokens |
| type | object | Type of credential. Can be `public_key`, `refresh_token`, or `rotating_refresh_token`. |
| user_id | string | user_id this credential is associated with. |
| client_id | string | client_id of the client (application) this credential is for. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/DeviceCredential",
"title": "DeviceCredential",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"description": "ID of this device.",
"default": "dcr_0000000000000001"
},
"device_name": {
"type": "string",
"description": "User agent for this device",
"default": "iPhone Mobile Safari UI/WKWebView"
},
"device_id": {
"type": "string",
"description": "Unique identifier for the device. NOTE: This field is generally not populated for refresh_tokens and rotating_refresh_tokens",
"default": "550e8400-e29b-41d4-a716-446655440000"
},
"type": {
"$ref": "#/components/schemas/DeviceCredentialTypeEnum",
"description": "Type of credential. Can be `public_key`, `refresh_token`, or `rotating_refresh_token`."
},
"user_id": {
"type": "string",
"description": "user_id this credential is associated with.",
"default": "usr_5457edea1b8f33391a000004"
},
"client_id": {
"type": "string",
"description": "client_id of the client (application) this credential is for.",
"default": "AaiyAPdpYdesoKnqjj8HJqRn4T5titww"
}
}
}