You are here

public function GoogleAuthManager::__construct in Social Auth Google 8

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

GoogleLoginManager constructor.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $request: Used to get the parameter code returned by Google.

File

src/GoogleAuthManager.php, line 41

Class

GoogleAuthManager
Manages the authentication requests.

Namespace

Drupal\social_auth_google

Code

public function __construct(RequestStack $request) {
  $this->request = $request
    ->getCurrentRequest();
}