public function LinkedinAuthManager::getUserInfo in Social Auth LinkedIn 8
Same name and namespace in other branches
- 8.2 src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::getUserInfo()
- 3.x src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::getUserInfo()
File
- src/
LinkedinAuthManager.php, line 66
Class
- LinkedinAuthManager
- Manages the authentication requests.
Namespace
Drupal\social_auth_linkedinCode
public function getUserInfo() {
return $this->client
->get('/people/~:(id,first-name,last-name,email-address,picture-urls::(original))');
}