Appearance
DeviceTokenState
Type: Object
An authentication token for a device
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| createdAt | String! | Creation timestamp (ISO8601) | ||
| description | String | Token description | ||
| deviceId | DeviceID! | Associated device ID | ||
| expiresAt | ISO8601 | Expiration timestamp (ISO8601) | ||
| hasLinkedCertificate | Boolean! | Whether this token has a live mTLS certificate of its own — that is, whether revoking it would actually stop the device connecting. False for a token issued before certificates recorded the token that issued them, and for one whose certificate is already revoked; in the first case the device keeps connecting until it is deleted. | ||
| id | DeviceTokenID! | Unique identifier | ||
| isRevoked | Boolean! | Whether the token has been revoked | ||
| lastUsedAt | ISO8601 | Last used timestamp (ISO8601) | ||
| name | String! | Token name | ||
| updatedAt | String! | Last update timestamp (ISO8601) |