public static function CredentialsStorage::storeUserPassword 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::storeUserPassword()
Stores the password from user input.
Parameters
string $password: Password to store.
3 calls to CredentialsStorage::storeUserPassword()
- CredentialsStorageTests::testCredentialsStorage in ldap_servers/
tests/ src/ Unit/ CredentialsStorageTests.php - Test the temporary storage of passwords.
- ldap_user_grab_password_validate in ldap_user/
ldap_user.module - Alter password form through validation.
- ServerTestForm::testConnection in ldap_servers/
src/ Form/ ServerTestForm.php - Test the connection.
File
- ldap_servers/
src/ Helper/ CredentialsStorage.php, line 34
Class
- CredentialsStorage
- Temporarily stores credentials from user input.
Namespace
Drupal\ldap_servers\HelperCode
public static function storeUserPassword($password) {
self::$userPassword = $password;
}