You are here

interface LdapBridgeInterface in Lightweight Directory Access Protocol (LDAP) 8.4

Ldap Bridge to symfony/ldap.

Hierarchy

Expanded class hierarchy of LdapBridgeInterface

All classes that implement LdapBridgeInterface

4 files declare their use of LdapBridgeInterface
FakeBridge.php in ldap_servers/tests/modules/ldap_servers_dummy/src/FakeBridge.php
LoginValidatorBase.php in ldap_authentication/src/Controller/LoginValidatorBase.php
QueryController.php in ldap_query/src/Controller/QueryController.php
ServerTestForm.php in ldap_servers/src/Form/ServerTestForm.php

File

ldap_servers/src/LdapBridgeInterface.php, line 13

Namespace

Drupal\ldap_servers
View source
interface LdapBridgeInterface {

  /**
   * Set Server by ID.
   *
   * @param string $sid
   *   Server machine name.
   */
  public function setServerById(string $sid) : void;

  /**
   * Set Server.
   *
   * @param \Drupal\ldap_servers\Entity\Server $server
   *   Server object.
   */
  public function setServer(Server $server) : void;

  /**
   * Bind (authenticate) against an active LDAP database.
   *
   * @return bool
   *   Binding successful.
   */
  public function bind() : bool;

  /**
   * Get LDAP service.
   *
   * @return \Symfony\Component\Ldap\LdapInterface
   *   LDAP.
   */
  public function get() : LdapInterface;

}

Members

Namesort descending Modifiers Type Description Overrides
LdapBridgeInterface::bind public function Bind (authenticate) against an active LDAP database. 2
LdapBridgeInterface::get public function Get LDAP service. 2
LdapBridgeInterface::setServer public function Set Server. 2
LdapBridgeInterface::setServerById public function Set Server by ID. 2