public function OpenIDConnectAccountsForm::__construct in OpenID Connect / OAuth client 2.x
Same name and namespace in other branches
- 8 src/Form/OpenIDConnectAccountsForm.php \Drupal\openid_connect\Form\OpenIDConnectAccountsForm::__construct()
The constructor.
Parameters
\Drupal\Core\Config\ConfigFactory $config_factory: The config factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Session\AccountProxyInterface $current_user: The current user account.
\Drupal\externalauth\AuthmapInterface $authmap: The authmap storage.
\Drupal\openid_connect\OpenIDConnectClaims $claims: The OpenID Connect claims.
\Drupal\openid_connect\OpenIDConnectSessionInterface $session: The OpenID Connect session service.
File
- src/
Form/ OpenIDConnectAccountsForm.php, line 76
Class
- OpenIDConnectAccountsForm
- Provides the user-specific OpenID Connect settings form.
Namespace
Drupal\openid_connect\FormCode
public function __construct(ConfigFactory $config_factory, EntityTypeManagerInterface $entity_type_manager, AccountProxyInterface $current_user, AuthmapInterface $authmap, OpenIDConnectClaims $claims, OpenIDConnectSessionInterface $session) {
$this
->setConfigFactory($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->currentUser = $current_user;
$this->authmap = $authmap;
$this->claims = $claims;
$this->session = $session;
}