You are here

public function Salesforce::isAuthorized in Salesforce Suite 7.3

Determine if this SF instance is fully configured.

@TODO: Consider making a test API call.

File

includes/salesforce.inc, line 89
Objects, properties, and methods to communicate with the Salesforce REST API

Class

Salesforce
Ability to authorize and communicate with the Salesforce REST API.

Code

public function isAuthorized() {
  return !empty($this->consumer_key) && !empty($this->consumer_secret) && $this
    ->getRefreshToken();
}