You are here

public function SalesforceAuthTokenStorage::clearAuthorizationState in Salesforce Suite 5.0.x

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

File

src/Storage/SalesforceAuthTokenStorage.php, line 146

Class

SalesforceAuthTokenStorage
Salesforce auth token storage.

Namespace

Drupal\salesforce\Storage

Code

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