You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
OAuthToken
Response from authorization server when user or application is authorized.
export interface OAuthToken {
access_token: string;
expires_in: number;
refresh_token?: string;
scope: string;
token_type: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
access_token | Required | string | An access token issued by the authorization server. |
expires_in | Required | number | Time in seconds when the token will expire. |
refresh_token | Optional | string | Additional token for refreshing user session when the access token expires. |
scope | Required | string | Token scope. |
token_type | Required | string | Token type. |