You are here

public function LinkedinAuthManager::__construct in Social Auth LinkedIn 8

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

LinkedinLoginManager constructor.

Parameters

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

File

src/LinkedinAuthManager.php, line 40

Class

LinkedinAuthManager
Manages the authentication requests.

Namespace

Drupal\social_auth_linkedin

Code

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