|
| login ($username, $password, array $sasl_args=null) |
| Attempt to log in using the given username and password. More...
|
|
| login ($username, $password) |
| Attempt to log in using the given username and password. More...
|
|
| addLogoutCallback ($assoc, $state) |
| Add a logout callback association. More...
|
|
| callLogoutCallback ($assoc) |
| Call a logout callback based on association. More...
|
|
Definition at line 13 of file LDAP.php.
◆ __construct()
sspmod_ldap_Auth_Source_LDAP::__construct |
( |
|
$info, |
|
|
|
$config |
|
) |
| |
Constructor for this authentication source.
- Parameters
-
array | $info | Information about this authentication source. |
array | $config | Configuration. |
Definition at line 28 of file LDAP.php.
29 {
30 assert('is_array($info)');
31 assert('is_array($config)');
32
33
35
37 'Authentication source ' . var_export($this->authId, true));
38 }
References $config, and $info.
◆ login()
sspmod_ldap_Auth_Source_LDAP::login |
( |
|
$username, |
|
|
|
$password, |
|
|
array |
$sasl_args = null |
|
) |
| |
|
protected |
Attempt to log in using the given username and password.
- Parameters
-
string | $username | The username the user wrote. |
string | $password | The password the user wrote. param array $sasl_arg Associative array of SASL options |
- Returns
- array Associative array with the users attributes.
Definition at line 49 of file LDAP.php.
50 {
51 assert('is_string($username)');
52 assert('is_string($password)');
53
54 return $this->ldapConfig->login($username,
$password, $sasl_args);
55 }
References $password.
◆ $ldapConfig
sspmod_ldap_Auth_Source_LDAP::$ldapConfig |
|
private |
A LDAP configuration object.
Definition at line 19 of file LDAP.php.
The documentation for this class was generated from the following file:
- libs/composer/vendor/simplesamlphp/simplesamlphp/modules/ldap/lib/Auth/Source/LDAP.php