public function LoginValidatorBase::__construct in Lightweight Directory Access Protocol (LDAP) 8.4
Constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Config factory.
\Drupal\ldap_servers\Logger\LdapDetailLog $detailLog: Detail log.
\Drupal\Core\Logger\LoggerChannelInterface $logger: Logger channel.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.
\Drupal\Core\Extension\ModuleHandler $module_handler: Module handler.
\Drupal\ldap_servers\LdapBridgeInterface $ldap_bridge: LDAP bridge.
\Drupal\externalauth\Authmap $external_auth: External auth.
\Drupal\ldap_authentication\AuthenticationServers $authentication_servers: Authentication servers.
\Drupal\ldap_servers\LdapUserManager $ldap_user_manager: Ldap user manager.
\Drupal\Core\Messenger\MessengerInterface $messenger: Messenger.
\Drupal\ldap_user\Processor\DrupalUserProcessor $drupal_user_processor: Drupal User Processor.
File
- ldap_authentication/
src/ Controller/ LoginValidatorBase.php, line 250
Class
- LoginValidatorBase
- Handles the actual testing of credentials and authentication of users.
Namespace
Drupal\ldap_authentication\ControllerCode
public function __construct(ConfigFactoryInterface $configFactory, LdapDetailLog $detailLog, LoggerChannelInterface $logger, EntityTypeManagerInterface $entity_type_manager, ModuleHandler $module_handler, LdapBridgeInterface $ldap_bridge, Authmap $external_auth, AuthenticationServers $authentication_servers, LdapUserManager $ldap_user_manager, MessengerInterface $messenger, DrupalUserProcessor $drupal_user_processor) {
$this->configFactory = $configFactory;
$this->config = $configFactory
->get('ldap_authentication.settings');
$this->detailLog = $detailLog;
$this->logger = $logger;
$this->entityTypeManager = $entity_type_manager;
$this->moduleHandler = $module_handler;
$this->ldapBridge = $ldap_bridge;
$this->externalAuth = $external_auth;
$this->authenticationServers = $authentication_servers;
$this->ldapUserManager = $ldap_user_manager;
$this->messenger = $messenger;
$this->drupalUserProcessor = $drupal_user_processor;
}