ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilSetupPasswordManager. More...
Public Member Functions | |
__construct (array $config=[]) | |
ilSetupPasswordManager constructor. More... | |
getEncoderFactory () | |
setEncoderFactory (\ilSetupPasswordEncoderFactory $encoderFactory) | |
getEncoderName () | |
setEncoderName (string $encoderName) | |
encodePassword (string $raw) | |
Encodes the raw password based on the relevant encoding strategy. More... | |
verifyPassword (string $encoded, string $raw, callable $passwordReHashCallback) | |
Verifies if the passed raw password matches the encoded one, based on the current encoding strategy. More... | |
Private Attributes | |
$encoderName | |
$encoderFactory | |
Class ilSetupPasswordManager.
Definition at line 8 of file class.ilSetupPasswordManager.php.
ilSetupPasswordManager::__construct | ( | array | $config = [] | ) |
ilSetupPasswordManager constructor.
array | $config |
Exception |
Definition at line 25 of file class.ilSetupPasswordManager.php.
References $config, $key, getEncoderFactory(), getEncoderName(), setEncoderFactory(), and setEncoderName().
ilSetupPasswordManager::encodePassword | ( | string | $raw | ) |
Encodes the raw password based on the relevant encoding strategy.
string | $raw |
Definition at line 88 of file class.ilSetupPasswordManager.php.
References getEncoderFactory(), and getEncoderName().
ilSetupPasswordManager::getEncoderFactory | ( | ) |
Definition at line 53 of file class.ilSetupPasswordManager.php.
References $encoderFactory.
Referenced by __construct(), encodePassword(), and verifyPassword().
ilSetupPasswordManager::getEncoderName | ( | ) |
Definition at line 69 of file class.ilSetupPasswordManager.php.
References $encoderName.
Referenced by __construct(), encodePassword(), and verifyPassword().
ilSetupPasswordManager::setEncoderFactory | ( | \ilSetupPasswordEncoderFactory | $encoderFactory | ) |
\ilSetupPasswordEncoderFactory | $encoderFactory |
Definition at line 61 of file class.ilSetupPasswordManager.php.
References $encoderFactory.
Referenced by __construct().
ilSetupPasswordManager::setEncoderName | ( | string | $encoderName | ) |
string | $encoderName |
Definition at line 77 of file class.ilSetupPasswordManager.php.
References $encoderName.
Referenced by __construct().
ilSetupPasswordManager::verifyPassword | ( | string | $encoded, |
string | $raw, | ||
callable | $passwordReHashCallback | ||
) |
Verifies if the passed raw password matches the encoded one, based on the current encoding strategy.
string | $encoded | |
string | $raw | |
callable | $passwordReHashCallback | A callback passed by consumer, which accepts the raw password and is called if the encoder strategy decides a password has to be re-hashed. |
Definition at line 104 of file class.ilSetupPasswordManager.php.
References getEncoderFactory(), and getEncoderName().
|
private |
Definition at line 18 of file class.ilSetupPasswordManager.php.
Referenced by getEncoderFactory(), and setEncoderFactory().
|
private |
Definition at line 13 of file class.ilSetupPasswordManager.php.
Referenced by getEncoderName(), and setEncoderName().