You are here

public function TfaContextInterface::__construct in Two-factor Authentication (TFA) 8

TfaContextInterface constructor.

Parameters

\Drupal\tfa\TfaValidationPluginManager $tfa_validation_manager: The plugin manager for TFA validation plugins.

\Drupal\tfa\TfaLoginPluginManager $tfa_plugin_manager: The plugin manager for TFA login plugins.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration service.

\Drupal\user\UserInterface $user: The user currently attempting to log in.

\Drupal\user\UserDataInterface $user_data: The user data service.

\Symfony\Component\HttpFoundation\Request $request: The current request.

1 method overrides TfaContextInterface::__construct()
TfaContext::__construct in src/TfaContext.php
TfaContextInterface constructor.

File

src/TfaContextInterface.php, line 31

Class

TfaContextInterface
Provide context for the current login attempt.

Namespace

Drupal\tfa

Code

public function __construct(TfaValidationPluginManager $tfa_validation_manager, TfaLoginPluginManager $tfa_plugin_manager, ConfigFactoryInterface $config_factory, UserInterface $user, UserDataInterface $user_data, Request $request);