You are here

public function GoogleAuthManager::authenticate in Social Auth Google 8

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

File

src/GoogleAuthManager.php, line 48

Class

GoogleAuthManager
Manages the authentication requests.

Namespace

Drupal\social_auth_google

Code

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