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'
}
module.exports = getAuthType;
const { handleDatabaseError } = require('@app-connect/core/lib/errorHandler');
function getAuthType() {