|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Inheritance diagram for ilPasswordEncoder:
Collaboration diagram for ilPasswordEncoder:Public Member Functions | |
| encodePassword ($raw, $salt) | |
| Encodes the raw password. More... | |
| isPasswordValid ($encoded, $raw, $salt) | |
| Checks a raw password against an encoded password. More... | |
| getName () | |
| Returns a unique name/id of the concrete password encoder. More... | |
| requiresSalt () | |
| Returns whether or not the encoder requires a salt. More... | |
Definition at line 9 of file interface.ilPasswordEncoder.php.
| ilPasswordEncoder::encodePassword | ( | $raw, | |
| $salt | |||
| ) |
Encodes the raw password.
| string | $raw | The password to encode |
| string | $salt | The salt |
Implemented in ilBcryptPasswordEncoder, and ilMd5PasswordEncoder.
| ilPasswordEncoder::getName | ( | ) |
Returns a unique name/id of the concrete password encoder.
Implemented in ilBcryptPasswordEncoder, and ilMd5PasswordEncoder.
| ilPasswordEncoder::isPasswordValid | ( | $encoded, | |
| $raw, | |||
| $salt | |||
| ) |
Checks a raw password against an encoded password.
The raw password has to be injected into the encoder instance before.
| string | $encoded | An encoded password |
| string | $raw | A raw password |
| string | $salt | The salt |
Implemented in ilBcryptPasswordEncoder, and ilMd5PasswordEncoder.
| ilPasswordEncoder::requiresSalt | ( | ) |
Returns whether or not the encoder requires a salt.
Implemented in ilBcryptPasswordEncoder, and ilMd5PasswordEncoder.