dhaga.docs
API referenceInterfaces

CalendarTokens

Defined in: calendar/types.ts:27

Token set returned by a provider after an authorization-code exchange or refresh.

Properties

accessToken

accessToken: string;

Defined in: calendar/types.ts:28


refreshToken

refreshToken: string | null;

Defined in: calendar/types.ts:30

Absent when the provider issues one-shot tokens; then the user re-connects.


expiresAt

expiresAt: Date | null;

Defined in: calendar/types.ts:32

Absolute expiry of accessToken; null when the provider omits one.


scope

scope: string | null;

Defined in: calendar/types.ts:33


accountEmail

accountEmail: string | null;

Defined in: calendar/types.ts:35

The connected account's address, when the provider surfaces it (for the UI).

On this page