Interface CodeExchangeRequest

Interface of a Nylas code exchange request

Hierarchy

  • CodeExchangeRequest

Properties

clientId: string

Client ID of the application.

clientSecret?: string

Client secret of the application. If not provided, the API Key will be used instead.

code: string

OAuth 2.0 code fetched from the previous step.

codeVerifier?: string

The original plain text code verifier (code_challenge) used in the initial authorization request (PKCE).

redirectUri: string

Should match the same redirect URI that was used for getting the code during the initial authorization request.

Generated using TypeDoc