MySQL 5.6.14 Source Code Document
|
#include <plugin_auth.h>
Public Attributes | |
int | interface_version |
const char * | client_auth_plugin |
int(* | authenticate_user )(MYSQL_PLUGIN_VIO *vio, MYSQL_SERVER_AUTH_INFO *info) |
Server authentication plugin descriptor
Definition at line 108 of file plugin_auth.h.
int(* st_mysql_auth::authenticate_user)(MYSQL_PLUGIN_VIO *vio, MYSQL_SERVER_AUTH_INFO *info) |
Function provided by the plugin which should perform authentication (using the vio functions if necessary) and return 0 if successful. The plugin can also fill the info.authenticated_as field if a different username should be used for authorization.
Definition at line 122 of file plugin_auth.h.
const char* st_mysql_auth::client_auth_plugin |
version plugin uses A plugin that a client must use for authentication with this server plugin. Can be NULL to mean "any plugin".
Definition at line 115 of file plugin_auth.h.