TokenInfo
A request or response body; the type column links to the schemas it refers to.
TokenInfo
| Field | Type | Required | Description |
|---|---|---|---|
| active | boolean | yes | one of true |
| subject | string | no | — |
| client_id | string | no | — |
| issuer | string | no | — |
| audience | array of string | yes | — |
| scopes | array of string | yes | — |
| issued_at | integer | no | Seconds since the epoch. |
| expires_at | integer | no | Seconds since the epoch. |
| validated_by | string | yes | Whether the token was validated locally against the JWKS or by introspection. one of "jwks" | "introspection" |
jsonExample
{
"active": true,
"subject": "usr_123",
"client_id": "botree-lrs",
"issuer": "https://auth.botreeinc.com",
"audience": [
"string"
],
"scopes": [
"lrs:read"
],
"issued_at": 0,
"expires_at": 0,
"validated_by": "jwks"
}