MediaWiki
1.28.0
|
Represents an invalid password hash. More...
Public Member Functions | |
crypt ($plaintext) | |
equals ($other) | |
needsUpdate () | |
toString () | |
Public Member Functions inherited from Password | |
__construct (PasswordFactory $factory, array $config, $hash=null) | |
Construct the Password object using a string hash. More... | |
crypt ($password) | |
Hash a password and store the result in this object. More... | |
equals ($other) | |
Compare one Password object to this object. More... | |
getType () | |
Get the type name of the password. More... | |
needsUpdate () | |
Determine if the hash needs to be updated. More... | |
toString () | |
Convert this hash to a string that can be stored in the database. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Password | |
parseHash ($hash) | |
Perform any parsing necessary on the hash to see if the hash is valid and/or to perform logic for seeing if the hash needs updating. More... | |
Protected Attributes inherited from Password | |
array | $config |
Array of configuration variables injected from the constructor. More... | |
PasswordFactory | $factory |
Factory that created the object. More... | |
string | $hash |
String representation of the hash without the type. More... | |
Represents an invalid password hash.
It is represented as the empty string (i.e., a password hash with no type).
No two invalid passwords are equal. Comparing anything to an invalid password will return false.
Definition at line 32 of file InvalidPassword.php.
InvalidPassword::crypt | ( | $plaintext | ) |
Definition at line 33 of file InvalidPassword.php.
InvalidPassword::equals | ( | $other | ) |
Definition at line 40 of file InvalidPassword.php.
InvalidPassword::needsUpdate | ( | ) |
Definition at line 44 of file InvalidPassword.php.
InvalidPassword::toString | ( | ) |
Definition at line 36 of file InvalidPassword.php.