Skip to content

Interface: OAuth2ManagerOptions ​

Defined in: src/core/oauth/oauth2Manager.ts:12

Properties ​

accessToken? ​

ts
optional accessToken?: string;

Defined in: src/core/oauth/oauth2Manager.ts:13


clientId? ​

ts
optional clientId?: string;

Defined in: src/core/oauth/oauth2Manager.ts:15


clientSecret? ​

ts
optional clientSecret?: string;

Defined in: src/core/oauth/oauth2Manager.ts:16


cloudId? ​

ts
optional cloudId?: string;

Defined in: src/core/oauth/oauth2Manager.ts:18


expiresAt? ​

ts
optional expiresAt?: number;

Defined in: src/core/oauth/oauth2Manager.ts:17


fetch? ​

ts
optional fetch?: FetchLike;

Defined in: src/core/oauth/oauth2Manager.ts:22

The fetch the client was configured with, so a proxy or a log covers the token calls too.


onTokenRefresh? ​

ts
optional onTokenRefresh?: OnTokenRefresh;

Defined in: src/core/oauth/oauth2Manager.ts:20


refreshToken? ​

ts
optional refreshToken?: string;

Defined in: src/core/oauth/oauth2Manager.ts:14


siteUrl? ​

ts
optional siteUrl?: string;

Defined in: src/core/oauth/oauth2Manager.ts:19