You are here

public function SalesforceAuthTokenStorage::storeAuthorizationState in Salesforce Suite 8.4

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

File

src/Storage/SalesforceAuthTokenStorage.php, line 124

Class

SalesforceAuthTokenStorage
Salesforce auth token storage.

Namespace

Drupal\salesforce\Storage

Code

public function storeAuthorizationState($service, $state) {
  $this->state
    ->set(static::getAuthStateStorageId($service), $state);
  return $this;
}