public function Oauth2ClientServiceInterface::retrieveAccessToken in OAuth2 Client 8.3
Same name and namespace in other branches
- 8.2 src/Service/Oauth2ClientServiceInterface.php \Drupal\oauth2_client\Service\Oauth2ClientServiceInterface::retrieveAccessToken()
Retrieve an access token from storage.
Parameters
string $pluginId: The client for which a provider should be created.
Return value
\League\OAuth2\Client\Token\AccessTokenInterface|null The Access Token for the given client ID.
1 method overrides Oauth2ClientServiceInterface::retrieveAccessToken()
- Oauth2ClientServiceBase::retrieveAccessToken in src/
Service/ Oauth2ClientServiceBase.php - Retrieve an access token from storage.
File
- src/
Service/ Oauth2ClientServiceInterface.php, line 30
Class
- Oauth2ClientServiceInterface
- Interface for the OAuth2 Client service.
Namespace
Drupal\oauth2_client\ServiceCode
public function retrieveAccessToken($pluginId);