Skip to content

OAuthTokenResult

Defined in: namespaces.ts:1386

Token data returned from oauth.authorize() and oauth.getToken().

accessToken: string

Defined in: namespaces.ts:1388

The access token string.


tokenType: string

Defined in: namespaces.ts:1390

Token type (typically “Bearer”).


expiresAt: string | null

Defined in: namespaces.ts:1392

Expiry timestamp in ISO 8601 format, or null if no expiry.


scopes: string[]

Defined in: namespaces.ts:1394

Granted scopes.