|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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... | |
| requiresReencoding ($encoded) | |
| Returns whether or not the a encoded password needs to be re-encoded. More... | |
| isSupportedByRuntime () | |
| Returns whether or not the encoder is supported by the runtime (PHP, HHVM, ...) 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, ilBcryptPhpPasswordEncoder, and ilMd5PasswordEncoder.
| ilPasswordEncoder::getName | ( | ) |
Returns a unique name/id of the concrete password encoder.
Implemented in ilBcryptPasswordEncoder, ilBcryptPhpPasswordEncoder, 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, ilBcryptPhpPasswordEncoder, and ilMd5PasswordEncoder.
| ilPasswordEncoder::isSupportedByRuntime | ( | ) |
Returns whether or not the encoder is supported by the runtime (PHP, HHVM, ...)
Implemented in ilBasePasswordEncoder, and ilBcryptPhpPasswordEncoder.
| ilPasswordEncoder::requiresReencoding | ( | $encoded | ) |
Returns whether or not the a encoded password needs to be re-encoded.
| $encoded | string |
Implemented in ilBasePasswordEncoder, ilBcryptPasswordEncoder, and ilBcryptPhpPasswordEncoder.
| ilPasswordEncoder::requiresSalt | ( | ) |
Returns whether or not the encoder requires a salt.
Implemented in ilBasePasswordEncoder, and ilBcryptPasswordEncoder.