public function SalesforceAuthTokenStorage::hasIdentity in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::hasIdentity()
- 5.0.x src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::hasIdentity()
Return boolean indicating whether this service has an identity.
Return value
bool TRUE if the service has an identity.
Overrides SalesforceAuthTokenStorageInterface::hasIdentity
File
- src/
Storage/ SalesforceAuthTokenStorage.php, line 198
Class
- SalesforceAuthTokenStorage
- Salesforce auth token storage.
Namespace
Drupal\salesforce\StorageCode
public function hasIdentity($service) {
return !empty($this
->retrieveIdentity($service));
}