MediaWiki REL1_33
InvalidPassword.php
Go to the documentation of this file.
1<?php
33 public function crypt( $plaintext ) {
34 }
35
36 public function toString() {
37 return '';
38 }
39
40 public function equals( $other ) {
41 return false;
42 }
43
44 public function verify( $password ) {
45 return false;
46 }
47
48 public function needsUpdate() {
49 return false;
50 }
51}
Represents an invalid password hash.
verify( $password)
Checks whether the given password matches the hash stored in this object.
equals( $other)
Compare one Password object to this object.
needsUpdate()
Determine if the hash needs to be updated.
crypt( $plaintext)
Hash a password and store the result in this object.
toString()
Convert this hash to a string that can be stored in the database.
Represents a password hash for use in authentication.
Definition Password.php:61