An implementation of the password_validation_service to validate password and to get its strength.
More...
#include <validate_password_imp.h>
An implementation of the password_validation_service to validate password and to get its strength.
◆ get_strength()
Gets the password strength between (0-100)
- See also
- validate_password::get_strength()
- Parameters
-
| thd | MYSQL THD object |
| password | Given Password |
[out] | strength | pointer to handle the strength of the given password. in the range of [0-100], where 0 is week password and 100 is strong password |
- Returns
- Status of performed operation
-
false success
-
true failure
◆ validate()
Validates the strength of given password.
- See also
- validate_password::validate()
- Parameters
-
thd | MYSQL THD object |
password | Given Password |
- Returns
- Status of performed operation
-
false success valid password
-
true failure invalid password
The documentation for this class was generated from the following files: