public function SalesforceAuthTokenStorage::retrieveAccessToken in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 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 106
Class
- SalesforceAuthTokenStorage
- Salesforce auth token storage.
Namespace
Drupal\salesforce\StorageCode
public function retrieveAccessToken($service) {
if ($token = $this->state
->get(self::getTokenStorageId($service))) {
return $token;
}
throw new TokenNotFoundException();
}