You are here

public function OpenIDConnectSession::__construct in OpenID Connect / OAuth client 2.x

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

Construct an instance of the OpenID Connect session service.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.

\Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session object.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager service.

File

src/OpenIDConnectSession.php, line 57

Class

OpenIDConnectSession
Session service of the OpenID Connect module.

Namespace

Drupal\openid_connect

Code

public function __construct(ConfigFactoryInterface $config_factory, RedirectDestinationInterface $redirect_destination, SessionInterface $session, LanguageManagerInterface $language_manager) {
  $this->configFactory = $config_factory;
  $this->redirectDestination = $redirect_destination;
  $this->session = $session;
  $this->languageManager = $language_manager;
}