OAuth - TypeScript SDK
OAuth method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
(oAuth)
Overview
OAuth authentication endpoints
Available Operations
- exchangeAuthCodeForAPIKey - Exchange authorization code for API key
- createAuthCode - Create authorization code
exchangeAuthCodeForAPIKey
Exchange an authorization code from the PKCE flow for a user-controlled API key
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<operations.ExchangeAuthCodeForAPIKeyResponse>
Errors
createAuthCode
Create an authorization code for the PKCE flow to generate a user-controlled API key
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<operations.CreateAuthKeysCodeResponse>