Alokai

OAuthToken

Response from authorization server when user or application is authorized.

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