You are here

public function SimpleLdapUserAuthenticator::__construct in Simple LDAP 8

File

modules/simple_ldap_user/src/SimpleLdapUserAuthenticator.php, line 23

Class

SimpleLdapUserAuthenticator

Namespace

Drupal\simple_ldap_user

Code

public function __construct(SimpleLdapServer $server, ConfigFactoryInterface $config_factory) {
  $this->server = $server;
  $this->server
    ->connect();
  $this->config = $config_factory
    ->get('simple_ldap.user');
}