API referenceFunctions
exchangeAuthorizationCode
Generated API reference for exchangeAuthorizationCode in @kysoql/auth.
@kysoql/auth / exchangeAuthorizationCode
function exchangeAuthorizationCode(options): Promise<SalesforceOAuthSession>;OAuth 2.0 web-server authorization-code exchange, including PKCE and headless code exchanges.
Parameters
| Parameter | Type |
|---|---|
options | AuthorizationCodeOptions |
Returns
Promise<SalesforceOAuthSession>