MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
st_mysql_auth Struct Reference

#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)

Detailed Description

Server authentication plugin descriptor

Definition at line 108 of file plugin_auth.h.

Member Data Documentation

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.


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