You are here

public function LinkedinAuthManager::getUserInfo in Social Auth LinkedIn 8

Same name and namespace in other branches
  1. 8.2 src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::getUserInfo()
  2. 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_linkedin

Code

public function getUserInfo() {
  return $this->client
    ->get('/people/~:(id,first-name,last-name,email-address,picture-urls::(original))');
}