Skip to content

OAuthTokenResult

Defined in: namespaces.ts:1385

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

accessToken: string

Defined in: namespaces.ts:1387

The access token string.


tokenType: string

Defined in: namespaces.ts:1389

Token type (typically “Bearer”).


expiresAt: string | null

Defined in: namespaces.ts:1391

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


scopes: string[]

Defined in: namespaces.ts:1393

Granted scopes.