You are here

public function LdapUserManager::__construct in Lightweight Directory Access Protocol (LDAP) 8.4

Constructor.

Parameters

\Psr\Log\LoggerInterface $logger: Logger.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity Type Manager.

\Drupal\ldap_servers\LdapBridgeInterface $ldap_bridge: LDAP bridge.

\Drupal\Core\Extension\ModuleHandler $module_handler: Module handler.

\Drupal\Core\Cache\CacheBackendInterface $cache: Cache.

\Drupal\externalauth\Authmap $external_auth: External auth.

Overrides LdapBaseManager::__construct

File

ldap_servers/src/LdapUserManager.php, line 53

Class

LdapUserManager
LDAP User Manager.

Namespace

Drupal\ldap_servers

Code

public function __construct(LoggerInterface $logger, EntityTypeManagerInterface $entity_type_manager, LdapBridgeInterface $ldap_bridge, ModuleHandler $module_handler, CacheBackendInterface $cache, Authmap $external_auth) {
  parent::__construct($logger, $entity_type_manager, $ldap_bridge, $module_handler);
  $this->cache = $cache;
  $this->externalAuth = $external_auth;
}