|
dolibarr
16.0.1
|
Parent class for password rules/management modules. More...
Inheritance diagram for ModeleGenPassword:Public Member Functions | |
| isEnabled () | |
| Return if a module can be used or not. More... | |
| getDescription () | |
| Return description of module. More... | |
| getExample () | |
| Return an example of password generated by this module. More... | |
| getNewGeneratedPassword () | |
| Build new password. More... | |
| validatePassword ($password) | |
| Validate a password. More... | |
Parent class for password rules/management modules.
Definition at line 30 of file modules_genpassword.php.
| ModeleGenPassword::getDescription | ( | ) |
Return description of module.
Definition at line 59 of file modules_genpassword.php.
| ModeleGenPassword::getExample | ( | ) |
Return an example of password generated by this module.
Definition at line 70 of file modules_genpassword.php.
| ModeleGenPassword::getNewGeneratedPassword | ( | ) |
Build new password.
Definition at line 82 of file modules_genpassword.php.
| ModeleGenPassword::isEnabled | ( | ) |
Return if a module can be used or not.
Definition at line 49 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 |
Definition at line 95 of file modules_genpassword.php.