public function AuthManagerInterface::setAccessToken in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
- 8.2 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
- 8.3 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
- 8.4 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
- 8.5 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
- 8.6 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
- 8.7 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::setAccessToken()
- 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_extraCode
public function setAccessToken($access_token);