Skip to main content
type OAuthToken = {
  access_token: string;
  expires_at?: number;
  expires_in?: number;
  refresh_token?: string;
  scope?: string;
  token_type?: string;
};
Defined in: client/auth.ts:19

Properties

access_token

access_token: string;
Defined in: client/auth.ts:20

expires_at?

optional expires_at?: number;
Defined in: client/auth.ts:24 Unix timestamp in milliseconds (normalized internally).

expires_in?

optional expires_in?: number;
Defined in: client/auth.ts:26 Seconds until expiry — used to compute expires_at on receipt.

refresh_token?

optional refresh_token?: string;
Defined in: client/auth.ts:22

scope?

optional scope?: string;
Defined in: client/auth.ts:27

token_type?

optional token_type?: string;
Defined in: client/auth.ts:21