public function SalesforceAuthTokenStorage::retrieveAccessToken in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::retrieveAccessToken()
- 5.0.x src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::retrieveAccessToken()
1 call to SalesforceAuthTokenStorage::retrieveAccessToken()
File
- src/
Storage/ SalesforceAuthTokenStorage.php, line 70
Class
- SalesforceAuthTokenStorage
- Salesforce auth token storage.
Namespace
Drupal\salesforce\StorageCode
public function retrieveAccessToken($service) {
if ($token = $this->state
->get(static::getTokenStorageId($service))) {
return $token;
}
throw new TokenNotFoundException();
}