|
dolibarr 21.0.0-beta
|
Class to generate a password according to a dolibarr standard rule (12 random chars) More...


Public Member Functions | |
| __construct ($db, $conf, $langs, $user) | |
| Constructor. | |
| getDescription () | |
| Return description of module. | |
| getExample () | |
| Return an example of password generated by this module. | |
| getNewGeneratedPassword () | |
| Build new password. | |
| validatePassword ($password) | |
| Validate a password This function is called by User->setPassword() and internally to validate that the password matches the constraints. | |
Public Member Functions inherited from ModeleGenPassword | |
| isEnabled () | |
| Return if a module can be used or not. | |
Class to generate a password according to a dolibarr standard rule (12 random chars)
Definition at line 32 of file modGeneratePassStandard.class.php.
| modGeneratePassStandard::__construct | ( | $db, | |
| $conf, | |||
| $langs, | |||
| $user ) |
| modGeneratePassStandard::getDescription | ( | ) |
Return description of module.
Reimplemented from ModeleGenPassword.
Definition at line 66 of file modGeneratePassStandard.class.php.
| modGeneratePassStandard::getExample | ( | ) |
Return an example of password generated by this module.
Reimplemented from ModeleGenPassword.
Definition at line 77 of file modGeneratePassStandard.class.php.
References getNewGeneratedPassword().
| modGeneratePassStandard::getNewGeneratedPassword | ( | ) |
Build new password.
Reimplemented from ModeleGenPassword.
Definition at line 87 of file modGeneratePassStandard.class.php.
References dol_strlen().
Referenced by getExample().
| modGeneratePassStandard::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 from ModeleGenPassword.
Definition at line 124 of file modGeneratePassStandard.class.php.
References dol_strlen().