You are here

public function LinkedinAuthManager::authenticate in Social Auth LinkedIn 8

Same name and namespace in other branches
  1. 8.2 src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::authenticate()
  2. 3.x src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::authenticate()

File

src/LinkedinAuthManager.php, line 47

Class

LinkedinAuthManager
Manages the authentication requests.

Namespace

Drupal\social_auth_linkedin

Code

public function authenticate() {
  $this->client
    ->setAccessToken($this
    ->getAccessToken());
  return $this;
}