public function AuthManagerInterface::getAccessToken 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::getAccessToken()
- 8.2 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAccessToken()
- 8.3 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAccessToken()
- 8.4 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAccessToken()
- 8.5 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAccessToken()
- 8.6 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAccessToken()
- 8.7 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAccessToken()
- 8.8 modules/custom/social_auth_extra/src/AuthManagerInterface.php \Drupal\social_auth_extra\AuthManagerInterface::getAccessToken()
Reads user's access token from social network.
Parameters
string $type: Type of action. "login" or "register".
Return value
object User's access token, if it could be read from social network. Null, otherwise.
4 methods override AuthManagerInterface::getAccessToken()
- FacebookAuthManager::getAccessToken in modules/
custom/ social_auth_facebook/ src/ FacebookAuthManager.php - Reads user's access token from social network.
- GoogleAuthManager::getAccessToken in modules/
custom/ social_auth_google/ src/ GoogleAuthManager.php - Reads user's access token from social network.
- LinkedInAuthManager::getAccessToken in modules/
custom/ social_auth_linkedin/ src/ LinkedInAuthManager.php - Reads user's access token from social network.
- TwitterAuthManager::getAccessToken in modules/
custom/ social_auth_twitter/ src/ TwitterAuthManager.php - Reads user's access token from social network.
File
- modules/
custom/ social_auth_extra/ src/ AuthManagerInterface.php, line 56
Class
- AuthManagerInterface
- Interface AuthManagerInterface.
Namespace
Drupal\social_auth_extraCode
public function getAccessToken($type);