MySQL 8.4.2
Source Code Documentation
mysql_password_policy_service_st Struct Reference

This service allows plugins to validate passwords based on a common policy. More...

#include <service_mysql_password_policy.h>

Public Attributes

int(* my_validate_password_policy_func )(const char *, unsigned int)
 Validates a password. More...
 
int(* my_calculate_password_strength_func )(const char *, unsigned int)
 Evaluates the strength of a password in a scale 0-100. More...
 

Detailed Description

This service allows plugins to validate passwords based on a common policy.

This is a "bridge service", i.e. facade with no real functionality that just calls the actual password validation plugin APIs. This serive is needed by other plugins to call into the password validation plugins and thus overcome the limitation that only the server can call plugins.

See also
st_mysql_validate_password

Member Data Documentation

◆ my_calculate_password_strength_func

int(* mysql_password_policy_service_st::my_calculate_password_strength_func) (const char *, unsigned int)

Evaluates the strength of a password in a scale 0-100.

See also
my_calculate_password_strength, st_mysql_validate_password::get_password_strength

◆ my_validate_password_policy_func

int(* mysql_password_policy_service_st::my_validate_password_policy_func) (const char *, unsigned int)

Validates a password.

See also
my_validate_password_policy, st_mysql_validate_password::validate_password

The documentation for this struct was generated from the following file: