public static function CredentialsStorage::testCredentials in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 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()
- LoginValidator::bindToServer in ldap_authentication/
src/ Controller/ LoginValidator.php - Bind to server.
- LoginValidator::testUserPassword in ldap_authentication/
src/ Controller/ LoginValidator.php - Tests the user's password.
File
- ldap_servers/
src/ Helper/ CredentialsStorage.php, line 44
Class
- CredentialsStorage
- Temporarily stores credentials from user input.
Namespace
Drupal\ldap_servers\HelperCode
public static function testCredentials($validate) {
self::$validate = $validate;
}