You are here

public function SalesforceAuthTokenStorage::clearToken in Salesforce Suite 8.3

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

File

src/Storage/SalesforceAuthTokenStorage.php, line 136

Class

SalesforceAuthTokenStorage
Salesforce auth token storage.

Namespace

Drupal\salesforce\Storage

Code

public function clearToken($service) {
  $this->state
    ->delete(self::getTokenStorageId($service));
  return $this;
}