Skip to content

Interface: OAuth2ManagerOptions ​

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

Properties ​

accessToken? ​

ts
accessToken?: string;

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


clientId? ​

ts
clientId?: string;

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


clientSecret? ​

ts
clientSecret?: string;

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


cloudId? ​

ts
cloudId?: string;

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


expiresAt? ​

ts
expiresAt?: number;

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


fetch? ​

ts
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
onTokenRefresh?: OnTokenRefresh;

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


refreshToken? ​

ts
refreshToken?: string;

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


siteUrl? ​

ts
siteUrl?: string;

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