Skip to content

OAuthAccessToken

Defined in: src/profiles/OAuthTokenSource.ts:21

Token material returned by OAuthRefreshCallback.

PropertyTypeDescriptionDefined in
accessTokenstringAccess token value. Required.src/profiles/OAuthTokenSource.ts:23
expiresAt?DateAbsolute expiry. Wins over expiresInSeconds when both are provided.src/profiles/OAuthTokenSource.ts:30
expiresInSeconds?numberLifetime in seconds (expires_in-style). When provided, the helper caches the token until now + (expiresInSeconds - skewSeconds).src/profiles/OAuthTokenSource.ts:28