30 assert(
'is_array($info)');
31 assert(
'is_array($config)');
37 'Authentication source ' . var_export($this->authId,
true));
51 assert(
'is_string($username)');
52 assert(
'is_string($password)');
54 return $this->ldapConfig->login($username,
$password, $sasl_args);
An exception for terminatinating execution or to throw for unit testing.
__construct($info, $config)
Constructor for this authentication source.
login($username, $password, array $sasl_args=null)
Attempt to log in using the given username and password.
$ldapConfig
A LDAP configuration object.