public static function SimpleLdapUser::hash in Simple LDAP 7.2
Same name and namespace in other branches
- 7 simple_ldap_user/SimpleLdapUser.class.php \SimpleLdapUser::hash()
Internal password hash storage.
This is called by the customized user_hash_password() function in simple_ldap_user.password.inc to create an internal reverse hash lookup, so passwords can be updated in LDAP. The hash is not exposed by the class API, and is cleared after every page load.
Parameters
string $key: The hash key
string $value: The hash value
2 calls to SimpleLdapUser::hash()
- SimpleLdapUserTestCase::setUp in simple_ldap_user/
simple_ldap_user.test - Inherited parent::setUp().
- user_hash_password in simple_ldap_user/
simple_ldap_user.password.inc - Hash a password using a secure hash.
File
- simple_ldap_user/
SimpleLdapUser.class.php, line 430 - Class defining a simple LDAP user.
Class
- SimpleLdapUser
- @file Class defining a simple LDAP user.
Code
public static function hash($key, $value) {
self::$hash[$key] = $value;
}