MySQL 8.0.31
Source Code Documentation
validate_password.h File Reference

Go to the source code of this file.

Classes

struct  s_mysql_validate_password
 This component defines interface that the server uses to enforce a password policy. More...
 

Typedefs

typedef struct s_mysql_validate_password mysql_service_validate_password_t
 This component defines interface that the server uses to enforce a password policy. More...
 

Typedef Documentation

◆ mysql_service_validate_password_t

This component defines interface that the server uses to enforce a password policy.

The policy is enfoced through two methods 1) validate_password_imp::validate() that answers the question of whether this password is good enough or not.

2) validate_password_imp::get_strength() that can be used by password changing UIs to display a password strength meter in the range of [0-100] as the user enters a password.