Optionalca?: string | string[] | Buffer<ArrayBufferLike>Contains the CA.
Contains the client ID.
Contains the code.
Optionallogger?: LoggerContains the logger.
Contains the redirect uri.
OptionaltimeoutMs?: numberContains the timeout ms.
Contains the token endpoint.
Contains the verifier.
Exchanges an authorization code and PKCE verifier for OAuth tokens.
The function rejects non-success HTTP responses. Treat the returned access token and optional refresh token as secrets.