You are here

public function FakeBridge::bind in Lightweight Directory Access Protocol (LDAP) 8.4

Bind (authenticate) against an active LDAP database.

Return value

bool Binding successful.

Overrides LdapBridgeInterface::bind

File

ldap_servers/tests/modules/ldap_servers_dummy/src/FakeBridge.php, line 82

Class

FakeBridge
Fake LdapBridge to instantiate a fake server for testing.

Namespace

Drupal\ldap_servers_dummy

Code

public function bind() : bool {
  $this->ldap
    ->bind();
  return $this->bindResult;
}