You are here

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

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

The constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

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

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

File

src/Form/OpenIDConnectLoginForm.php, line 50

Class

OpenIDConnectLoginForm
Provides the OpenID Connect login form.

Namespace

Drupal\openid_connect\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, OpenIDConnectClaims $claims, OpenIDConnectSessionInterface $session) {
  $this->entityTypeManager = $entity_type_manager;
  $this->claims = $claims;
  $this->session = $session;
}