You are here

public function SalesforceAuthTokenStorage::clearIdentity in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::clearIdentity()
  2. 5.0.x src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::clearIdentity()

Clear identity for service.

Return value

$this

Overrides SalesforceAuthTokenStorageInterface::clearIdentity

File

src/Storage/SalesforceAuthTokenStorage.php, line 189

Class

SalesforceAuthTokenStorage
Salesforce auth token storage.

Namespace

Drupal\salesforce\Storage

Code

public function clearIdentity($service) {
  $this->state
    ->delete(static::getIdentityStorageId($service));
  return $this;
}