You are here

public function OAuth2ManagerInterface::getAccessToken in Social API 3.x

Same name and namespace in other branches
  1. 8.2 src/AuthManager/OAuth2ManagerInterface.php \Drupal\social_api\AuthManager\OAuth2ManagerInterface::getAccessToken()

Gets the access token after authentication.

Return value

\League\OAuth2\Client\Token\AccessToken|mixed The access token.

1 method overrides OAuth2ManagerInterface::getAccessToken()
OAuth2Manager::getAccessToken in src/AuthManager/OAuth2Manager.php
Gets the access token after authentication.

File

src/AuthManager/OAuth2ManagerInterface.php, line 42

Class

OAuth2ManagerInterface
Defines an OAuth2Manager Interface.

Namespace

Drupal\social_api\AuthManager

Code

public function getAccessToken();