Properties
| NAME | TYPE | DESCRIPTION |
$id | string | Token family ID. |
$createdAt | string | Token creation time in ISO 8601 format. |
$updatedAt | string | Token update date in ISO 8601 format. Refreshing the token family updates this. |
consentId | string | ID of the consent the token family was issued under. |
userId | string | ID of the user the token family belongs to. |
appId | string | ID of the registered app the token family was issued to. Empty for URL-form (CIMD) clients. |
cimdUrl | string | Client ID metadata document URL of the client the token family was issued to. Empty for registered apps. |
scopes | array | OAuth2 scopes granted on the token family. |
resources | array | RFC 8707 resource indicators granted on the token family. |
authorizationDetails | string | Authorization details granted on the token family, as a JSON string. Each entry has a |
expire | string | Expiration time of the current access token of this family in ISO 8601 format. |
Example
JSON
{
"$id": "5e5ea5c16897e",
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00",
"consentId": "5e5ea5c16897e",
"userId": "5e5ea5c16897e",
"appId": "5e5ea5c16897e",
"cimdUrl": "https://example.com/.well-known/client-metadata.json",
"scopes": [
"openid",
"email",
"profile"
],
"resources": [
"https://api.example.com/"
],
"authorizationDetails": "[{\"type\":\"calendar\",\"identifier\":\"primary\",\"actions\":[\"read_events\",\"create_event\"]}]",
"expire": "2020-10-15T06:38:00.000+00:00"
}
JSON
{
"_id": "5e5ea5c16897e",
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00",
"consentId": "5e5ea5c16897e",
"userId": "5e5ea5c16897e",
"appId": "5e5ea5c16897e",
"cimdUrl": "https://example.com/.well-known/client-metadata.json",
"scopes": [
"openid",
"email",
"profile"
],
"resources": [
"https://api.example.com/"
],
"authorizationDetails": "[{\"type\":\"calendar\",\"identifier\":\"primary\",\"actions\":[\"read_events\",\"create_event\"]}]",
"expire": "2020-10-15T06:38:00.000+00:00"
}