interface LoginValidatorInterface in Lightweight Directory Access Protocol (LDAP) 8.4
Handles the actual testing of credentials and authentication of users.
Hierarchy
- interface \Drupal\ldap_authentication\Controller\LoginValidatorInterface
Expanded class hierarchy of LoginValidatorInterface
All classes that implement LoginValidatorInterface
File
- ldap_authentication/
src/ Controller/ LoginValidatorInterface.php, line 13
Namespace
Drupal\ldap_authentication\ControllerView source
interface LoginValidatorInterface {
/**
* Perform the actual logging in.
*/
public function processLogin() : void;
/**
* Check if exclusion criteria match.
*
* @param string $authName
* Authname.
* @param \Symfony\Component\Ldap\Entry $ldap_user
* LDAP Entry.
*
* @return bool
* Exclusion result.
*/
public function checkAllowedExcluded(string $authName, Entry $ldap_user) : bool;
/**
* Returns the derived user account.
*
* @return \Drupal\user\UserInterface|null
* User account.
*/
public function getDrupalUser() : ?UserInterface;
/**
* Credentials are tested.
*
* @return int
* Returns the authentication result.
*/
public function testCredentials() : int;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LoginValidatorInterface:: |
public | function | Check if exclusion criteria match. | 1 |
LoginValidatorInterface:: |
public | function | Returns the derived user account. | 1 |
LoginValidatorInterface:: |
public | function | Perform the actual logging in. | 2 |
LoginValidatorInterface:: |
public | function | Credentials are tested. | 2 |