You are here

public function OpenIDConnectSession::__construct in OpenID Connect / OAuth client 8

Same name and namespace in other branches
  1. 2.x src/OpenIDConnectSession.php \Drupal\openid_connect\OpenIDConnectSession::__construct()

Construct an instance of the OpenID Connect session service.

Parameters

\Drupal\Core\Path\CurrentPathStack $current_path: The current path.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

File

src/OpenIDConnectSession.php, line 35

Class

OpenIDConnectSession
Session service of the OpenID Connect module.

Namespace

Drupal\openid_connect

Code

public function __construct(CurrentPathStack $current_path, RequestStack $request_stack) {
  $this->currentPath = $current_path;
  $this->requestStack = $request_stack;
}