public function Oauth2ClientPluginInterface::storeAccessToken in OAuth2 Client 8.3
Stores access tokens obtained by this client.
Parameters
\League\OAuth2\Client\Token\AccessToken $accessToken: The token to store.
4 methods override Oauth2ClientPluginInterface::storeAccessToken()
- AuthCodeAccessExample::storeAccessToken in examples/
oauth2_client_example_plugins/ src/ Plugin/ Oauth2Client/ AuthCodeAccessExample.php - Stores access tokens obtained by this client.
- AuthCodeExample::storeAccessToken in examples/
oauth2_client_example_plugins/ src/ Plugin/ Oauth2Client/ AuthCodeExample.php - Stores access tokens obtained by this client.
- AuthCodeRedirectExample::storeAccessToken in examples/
oauth2_client_example_plugins/ src/ Plugin/ Oauth2Client/ AuthCodeRedirectExample.php - Stores access tokens obtained by this client.
- ResourceOwnerExample::storeAccessToken in examples/
oauth2_client_example_plugins/ src/ Plugin/ Oauth2Client/ ResourceOwnerExample.php - Stores access tokens obtained by this client.
File
- src/
Plugin/ Oauth2Client/ Oauth2ClientPluginInterface.php, line 130
Class
- Oauth2ClientPluginInterface
- Interface for Oauth2 Client plugins.
Namespace
Drupal\oauth2_client\Plugin\Oauth2ClientCode
public function storeAccessToken(AccessToken $accessToken);