![]() |
MySQL 9.2.0
Source Code Documentation
|
The internal version of what plugins know as MYSQL_PLUGIN_VIO, basically the context of the authentication session. More...
#include <sql_authentication.h>
Public Types | |
enum | { SUCCESS , FAILURE , RESTART , START_MFA } |
when plugin returns a failure this tells us what really happened More... | |
Public Member Functions | |
bool | can_authenticate () |
Public Attributes | |
MYSQL_SERVER_AUTH_INFO | auth_info |
const ACL_USER * | acl_user |
Restrictions * | restrictions |
plugin_ref | plugin |
what plugin we're under More... | |
LEX_STRING | db |
db name from the handshake packet More... | |
struct { | |
const char * plugin | |
const char * pkt | |
pointers into NET::buff More... | |
uint pkt_len | |
} | cached_client_reply |
when restarting a plugin this caches the last client reply More... | |
struct { | |
char * pkt | |
uint pkt_len | |
} | cached_server_packet |
this caches the first plugin packet for restart request on the client More... | |
int | packets_read |
int | packets_written |
counters for send/received packets More... | |
enum MPVIO_EXT:: { ... } | status |
when plugin returns a failure this tells us what really happened More... | |
char * | scramble |
MEM_ROOT * | mem_root |
struct rand_struct * | rand |
my_thread_id | thread_id |
uint * | server_status |
Protocol_classic * | protocol |
ulong | max_client_packet_length |
const char * | ip |
const char * | host |
Thd_charset_adapter * | charset_adapter |
LEX_CSTRING | acl_user_plugin |
int | vio_is_encrypted |
![]() | |
int(* | read_packet )(struct MYSQL_PLUGIN_VIO *vio, unsigned char **buf) |
Plugin provides a pointer reference and this function sets it to the contents of any incoming packet. More... | |
int(* | write_packet )(struct MYSQL_PLUGIN_VIO *vio, const unsigned char *packet, int packet_len) |
Plugin provides a buffer with data and the length and this function sends it as a packet. More... | |
void(* | info )(struct MYSQL_PLUGIN_VIO *vio, struct MYSQL_PLUGIN_VIO_INFO *info) |
Fills in a MYSQL_PLUGIN_VIO_INFO structure, providing the information about the connection. More... | |
enum net_async_status(* | read_packet_nonblocking )(struct MYSQL_PLUGIN_VIO *vio, unsigned char **buf, int *result) |
Non blocking version of read_packet. More... | |
enum net_async_status(* | write_packet_nonblocking )(struct MYSQL_PLUGIN_VIO *vio, const unsigned char *pkt, int pkt_len, int *result) |
Non blocking version of write_packet. More... | |
The internal version of what plugins know as MYSQL_PLUGIN_VIO, basically the context of the authentication session.
anonymous enum |
bool MPVIO_EXT::can_authenticate | ( | ) |
const ACL_USER* MPVIO_EXT::acl_user |
LEX_CSTRING MPVIO_EXT::acl_user_plugin |
MYSQL_SERVER_AUTH_INFO MPVIO_EXT::auth_info |
struct { ... } MPVIO_EXT::cached_client_reply |
when restarting a plugin this caches the last client reply
struct { ... } MPVIO_EXT::cached_server_packet |
this caches the first plugin packet for restart request on the client
Thd_charset_adapter* MPVIO_EXT::charset_adapter |
LEX_STRING MPVIO_EXT::db |
db name from the handshake packet
const char* MPVIO_EXT::host |
const char* MPVIO_EXT::ip |
ulong MPVIO_EXT::max_client_packet_length |
MEM_ROOT* MPVIO_EXT::mem_root |
int MPVIO_EXT::packets_read |
int MPVIO_EXT::packets_written |
counters for send/received packets
const char * MPVIO_EXT::pkt |
pointers into NET::buff
char* MPVIO_EXT::pkt |
uint MPVIO_EXT::pkt_len |
plugin_ref MPVIO_EXT::plugin |
what plugin we're under
const char* MPVIO_EXT::plugin |
Protocol_classic* MPVIO_EXT::protocol |
struct rand_struct* MPVIO_EXT::rand |
Restrictions* MPVIO_EXT::restrictions |
char* MPVIO_EXT::scramble |
uint* MPVIO_EXT::server_status |
enum { ... } MPVIO_EXT::status |
when plugin returns a failure this tells us what really happened
my_thread_id MPVIO_EXT::thread_id |
int MPVIO_EXT::vio_is_encrypted |