You are here

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

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

The constructor.

Parameters

\Drupal\openid_connect\OpenIDConnectSession $session: The OpenID Connect session service.

\Drupal\openid_connect\Plugin\OpenIDConnectClientManager $plugin_manager: The plugin manager.

\Drupal\openid_connect\OpenIDConnectClaims $claims: The OpenID Connect claims.

File

src/Form/OpenIDConnectLoginForm.php, line 51

Class

OpenIDConnectLoginForm
Provides the OpenID Connect login form.

Namespace

Drupal\openid_connect\Form

Code

public function __construct(OpenIDConnectSession $session, OpenIDConnectClientManager $plugin_manager, OpenIDConnectClaims $claims) {
  $this->session = $session;
  $this->pluginManager = $plugin_manager;
  $this->claims = $claims;
}