23#ifndef MYSQL_PLUGIN_VALIDATE_PASSWORD_INCLUDED
24#define MYSQL_PLUGIN_VALIDATE_PASSWORD_INCLUDED
32#define MYSQL_VALIDATE_PASSWORD_INTERFACE_VERSION 0x0100
static char * password
Definition: mysql_secure_installation.cc:57
void * mysql_string_handle
Definition: plugin_validate_password.h:34
This plugin type defines interface that the server uses to enforce a password policy.
Definition: plugin_validate_password.h:58
int(* validate_password)(mysql_string_handle password)
Checks if a password is valid by the password policy.
Definition: plugin_validate_password.h:67
int interface_version
Definition: plugin_validate_password.h:59
int(* get_password_strength)(mysql_string_handle password)
Calculates the strength of a password in the scale of 0 to 100.
Definition: plugin_validate_password.h:74