MediaWiki REL1_34
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 wfDeprecated( __METHOD__, '1.33' );
42
43 return false;
44 }
45
46 public function verify( $password ) {
47 return false;
48 }
49
50 public function needsUpdate() {
51 return false;
52 }
53}
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
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