OAuthTokenResponse
type OAuthTokenResponse: object;The response from the OAuth token endpoint
Type declaration
accessToken
accessToken: string;access_token
tokenType
tokenType: string;token_type usually “Bearer”
validUntil
validUntil: number;Uses the expires_in value from the /oauth/token endpoint to calculate the validUntil value:
Date.now() + expires_in * 1000Source
types.ts:73