public static function CredentialsStorage::testCredentials in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 ldap_servers/src/Helper/CredentialsStorage.php \Drupal\ldap_servers\Helper\CredentialsStorage::testCredentials()
Turn testing of user credentials on or off.
Parameters
bool $validate: Defaults to false.
2 calls to CredentialsStorage::testCredentials()
- LoginValidatorBase::bindToServerAsUser in ldap_authentication/
src/ Controller/ LoginValidatorBase.php - Bind to server.
- LoginValidatorBase::testUserPassword in ldap_authentication/
src/ Controller/ LoginValidatorBase.php - Tests the user's password.
File
- ldap_servers/
src/ Helper/ CredentialsStorage.php, line 63
Class
- CredentialsStorage
- Temporarily stores credentials from user input.
Namespace
Drupal\ldap_servers\HelperCode
public static function testCredentials(bool $validate) : void {
self::$validate = $validate;
}