The TokenReply data model contains the data returned from a successful login or token refresh (API end point /token). The fields defined in this data model follow the OAuth2 recommendations.
Data Model
| Key | Type | Value |
|---|---|---|
| access_token | String | The access token (JWT) to be added as 'Authorization: Bearer ...' header field with subsequent API calls. |
| refresh_token | String | The refresh token (JWT) to be used to refresh an expired access token with the /token API end point and grant_type set to 'refresh_token'. |
| token_type | String | Always 'JWT' |
| expires | Number | The number of seconds the access_token is valid |