Function: exchangeCode()
exchangeCode(
exchange):Promise<TokenResponse>
Defined in: src/auth/oauth.ts:97
Trades the callback's code for an access token. The redirect URI must be the one the code was asked with.
Parameters
exchange
CodeExchange
Returns
Promise<TokenResponse>