Interface: ServerOAuth2ManagerOptions
Defined in: src/core/oauthServer/serverOAuth2Manager.ts:10
Properties
accessToken?
optional accessToken?: string;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:13
clientId?
optional clientId?: string;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:15
clientSecret?
optional clientSecret?: string;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:16
expiresAt?
optional expiresAt?: number;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:20
Access-token expiry as epoch milliseconds.
fetch?
optional fetch?: FetchLike;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:23
The fetch the client was configured with, so a proxy or a log covers the token calls too.
host
host: string;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:12
The instance the tokens belong to. Also the base URL for every request, since there is no gateway.
onTokenRefresh?
optional onTokenRefresh?: OnTokenRefresh;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:21
redirectUri?
optional redirectUri?: string;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:18
The redirect URI the incoming link was registered with. The provider validates it on refresh too.
refreshToken?
optional refreshToken?: string;Defined in: src/core/oauthServer/serverOAuth2Manager.ts:14