You are here

public function AuthManagerInterface::setAccessToken in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
  2. 8 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
  3. 8.2 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
  4. 8.3 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
  5. 8.5 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
  6. 8.6 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
  7. 8.7 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
  8. 8.8 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()

Set access token to AuthManager to use it for API calls.

Parameters

mixed $access_token: Access token to use in API calls.

Return value

null Returns null.

4 methods override AuthManagerInterface::setAccessToken()
FacebookAuthManager::setAccessToken in modules/custom/social_auth_facebook/src/FacebookAuthManager.php
Set access token to AuthManager to use it for API calls.
GoogleAuthManager::setAccessToken in modules/custom/social_auth_google/src/GoogleAuthManager.php
Set access token to AuthManager to use it for API calls.
LinkedInAuthManager::setAccessToken in modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php
Set access token to AuthManager to use it for API calls.
TwitterAuthManager::setAccessToken in modules/custom/social_auth_twitter/src/TwitterAuthManager.php
Set access token to AuthManager to use it for API calls.

File

modules/custom/social_auth_extra/src/AuthManagerInterface.php, line 105

Class

AuthManagerInterface
Interface AuthManagerInterface.

Namespace

Drupal\social_auth_extra

Code

public function setAccessToken($access_token);