public function OAuthCredentials::isValid in Salesforce Suite 8.3
Overrides SalesforceCredentials::isValid
File
- src/
Consumer/ OAuthCredentials.php, line 57
Class
- OAuthCredentials
- Salesforce credentials extension, for drupalisms.
Namespace
Drupal\salesforce\ConsumerCode
public function isValid() {
return !empty($this->loginUrl) && !empty($this->consumerSecret) && !empty($this->consumerId);
}