DeviceAuthorization
Type: object
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
device_code | string | Optional | writeOnly |
expires_in | integer | Optional | minimum: 0 |
interval | integer | Optional | minimum: 0 |
user_code | string | Optional | — |
verification_uri | string (uri) | Optional | — |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"device_code": {
"type": "string",
"writeOnly": true
},
"expires_in": {
"minimum": 0,
"type": "integer"
},
"interval": {
"minimum": 0,
"type": "integer"
},
"user_code": {
"type": "string"
},
"verification_uri": {
"format": "uri",
"type": "string"
}
},
"type": "object"
}