dolibarr 18.0.6
|
Parent class for password rules/management modules. More...
Public Member Functions | |
isEnabled () | |
Return if a module can be used or not. | |
getDescription () | |
Return description of module. | |
getExample () | |
Return an example of password generated by this module. | |
getNewGeneratedPassword () | |
Build new password. | |
validatePassword ($password) | |
Validate a password. | |
Parent class for password rules/management modules.
Definition at line 30 of file modules_genpassword.php.
ModeleGenPassword::getDescription | ( | ) |
Return description of module.
Reimplemented in modGeneratePassNone, modGeneratePassPerso, and modGeneratePassStandard.
Definition at line 61 of file modules_genpassword.php.
ModeleGenPassword::getExample | ( | ) |
Return an example of password generated by this module.
Reimplemented in modGeneratePassNone, modGeneratePassPerso, and modGeneratePassStandard.
Definition at line 72 of file modules_genpassword.php.
ModeleGenPassword::getNewGeneratedPassword | ( | ) |
Build new password.
Reimplemented in modGeneratePassNone, modGeneratePassPerso, and modGeneratePassStandard.
Definition at line 84 of file modules_genpassword.php.
ModeleGenPassword::isEnabled | ( | ) |
Return if a module can be used or not.
Definition at line 51 of file modules_genpassword.php.
ModeleGenPassword::validatePassword | ( | $password | ) |
Validate a password.
This function is called by User->setPassword() and internally to validate that the password matches the constraints.
string | $password | Password to check |
Reimplemented in modGeneratePassNone, modGeneratePassPerso, and modGeneratePassStandard.
Definition at line 97 of file modules_genpassword.php.