Pardot_API::authenticate
Call Pardot API to authenticate and retrieve API Key
The $auth parameters passed will be used to authenticate the login request. If successful $this->api_key will be set.
Signature
public function authenticate([array
$auth = ] )
Parameters
$auth
— array- Values 'email', 'password', 'user_key' and 'api_key' supported.
Returns
- string|bool
- An $api_key on success, false on failure.