Skip to content

getAuthType

This method returns either oauth or apiKey.

Request parameters

None.

Return value(s)

This interface returns a single string, either oauth or apiKey to indicate what kind of auth is supported by the target CRM.

Reference

function getAuthType() {
    return 'apiKey'; // Return either 'oauth' OR 'apiKey'
}
function getAuthType() {
    return 'oauth';
}