Alokai
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

NameRequiredTypeDescription
access_tokenRequiredstringAn access token issued by the authorization server.
expires_inRequirednumberTime in seconds when the token will expire.
refresh_tokenOptionalstringAdditional token for refreshing user session when the access token expires.
scopeRequiredstringToken scope.
token_typeRequiredstringToken type.

On this page