Interface ExchangeOptions

Options for the /oauth/token endpoint to exchange a code for an access token

interface ExchangeOptions {
    code: string;
    redirectUri: string;
    verifier: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Custom parameters to send to the /oauth/token endpoint

Properties

code: string

The code returned by /authorize.

redirectUri: string

The original redirectUri used when calling /authorize.

verifier: string

The value used to generate the code challenge sent to /authorize.