Kysoql
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

ParameterType
optionsAuthorizationCodeOptions

Returns

Promise<SalesforceOAuthSession>

On this page