public function SalesforceAuthTokenStorage::storeAccessToken in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::storeAccessToken()
- 5.0.x src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::storeAccessToken()
1 call to SalesforceAuthTokenStorage::storeAccessToken()
- SalesforceAuthTokenStorage::updateToken in src/
Storage/ SalesforceAuthTokenStorage.php - Backwards-compatibility for legacy singleton auth.
File
- src/
Storage/ SalesforceAuthTokenStorage.php, line 116
Class
- SalesforceAuthTokenStorage
- Salesforce auth token storage.
Namespace
Drupal\salesforce\StorageCode
public function storeAccessToken($service, TokenInterface $token) {
$this->state
->set(self::getTokenStorageId($service), $token);
return $this;
}