public function LoginValidator::__construct in Lightweight Directory Access Protocol (LDAP) 8.3
Constructor.
File
- ldap_authentication/
src/ Controller/ LoginValidator.php, line 73
Class
- LoginValidator
- Handles the actual testing of credentials and authentication of users.
Namespace
Drupal\ldap_authentication\ControllerCode
public function __construct(ConfigFactoryInterface $configFactory, LdapDetailLog $detailLog, LoggerInterface $logger, EntityTypeManagerInterface $entity_type_manager, ModuleHandler $module_handler) {
$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;
}