You are here

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

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

The constructor.

Parameters

\Drupal\Core\Session\AccountProxy $current_user: The current user account.

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

\Drupal\openid_connect\OpenIDConnectAuthmap $authmap: The authmap storage.

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

\Drupal\openid_connect\Plugin\OpenIDConnectClientManager $plugin_manager: The OpenID Connect client manager.

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

File

src/Form/OpenIDConnectAccountsForm.php, line 83

Class

OpenIDConnectAccountsForm
Provides the user-specific OpenID Connect settings form.

Namespace

Drupal\openid_connect\Form

Code

public function __construct(AccountProxy $current_user, OpenIDConnectSession $session, OpenIDConnectAuthmap $authmap, OpenIDConnectClaims $claims, OpenIDConnectClientManager $plugin_manager, ConfigFactory $config_factory) {
  $this->currentUser = $current_user;
  $this->session = $session;
  $this->authmap = $authmap;
  $this->claims = $claims;
  $this->pluginManager = $plugin_manager;
  $this->configFactory = $config_factory;
}