public function LinkedInAuthManager::setAccessToken in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::setAccessToken()
- 8 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::setAccessToken()
- 8.2 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::setAccessToken()
- 8.3 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::setAccessToken()
- 8.4 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::setAccessToken()
- 8.5 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::setAccessToken()
- 8.7 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::setAccessToken()
- 8.8 modules/custom/social_auth_linkedin/src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::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.
Overrides AuthManagerInterface::setAccessToken
File
- modules/
custom/ social_auth_linkedin/ src/ LinkedInAuthManager.php, line 100
Class
- LinkedInAuthManager
- Class LinkedInAuthManager.
Namespace
Drupal\social_auth_linkedinCode
public function setAccessToken($access_token) {
$this->sdk
->setAccessToken($access_token);
}