MySQL  8.0.22
Source Code Documentation
client_async_authentication.h File Reference
#include <openssl/ossl_typ.h>
#include "mysql/plugin_auth_common.h"
#include "mysql_async.h"

Go to the source code of this file.

Classes

struct  MCPVIO_EXT
 
struct  mysql_async_auth
 
struct  mysql_async_connect
 

Typedefs

typedef mysql_state_machine_status(* authsm_function) (mysql_async_auth *)
 
typedef mysql_state_machine_status(* csm_function) (mysql_async_connect *)
 

Enumerations

enum  mysql_state_machine_status { STATE_MACHINE_FAILED, STATE_MACHINE_CONTINUE, STATE_MACHINE_WOULD_BLOCK, STATE_MACHINE_DONE }
 
enum  client_auth_native_password_plugin_status { NATIVE_READING_PASSWORD = 1, NATIVE_WRITING_RESPONSE }
 
enum  client_auth_sha256_password_plugin_status {
  SHA256_READING_PASSWORD = 1, SHA256_REQUEST_PUBLIC_KEY, SHA256_READ_PUBLIC_KEY, SHA256_SEND_ENCRYPTED_PASSWORD,
  SHA256_SEND_PLAIN_PASSWORD
}
 
enum  client_auth_caching_sha2_password_plugin_status {
  CACHING_SHA2_READING_PASSWORD = 1, CACHING_SHA2_WRITING_RESPONSE, CACHING_SHA2_CHALLENGE_RESPONSE, CACHING_SHA2_REQUEST_PUBLIC_KEY,
  CACHING_SHA2_READ_PUBLIC_KEY, CACHING_SHA2_SEND_ENCRYPTED_PASSWORD, CACHING_SHA2_SEND_PLAIN_PASSWORD
}
 
enum  ssl_exchange_state { SSL_REQUEST = 8100, SSL_CONNECT = 8101, SSL_COMPLETE = 8102, SSL_NONE = 8103 }
 

Typedef Documentation

◆ authsm_function

typedef mysql_state_machine_status(* authsm_function) (mysql_async_auth *)

◆ csm_function

typedef mysql_state_machine_status(* csm_function) (mysql_async_connect *)

Enumeration Type Documentation

◆ client_auth_caching_sha2_password_plugin_status

Enumerator
CACHING_SHA2_READING_PASSWORD 
CACHING_SHA2_WRITING_RESPONSE 
CACHING_SHA2_CHALLENGE_RESPONSE 
CACHING_SHA2_REQUEST_PUBLIC_KEY 
CACHING_SHA2_READ_PUBLIC_KEY 
CACHING_SHA2_SEND_ENCRYPTED_PASSWORD 
CACHING_SHA2_SEND_PLAIN_PASSWORD 

◆ client_auth_native_password_plugin_status

Enumerator
NATIVE_READING_PASSWORD 
NATIVE_WRITING_RESPONSE 

◆ client_auth_sha256_password_plugin_status

Enumerator
SHA256_READING_PASSWORD 
SHA256_REQUEST_PUBLIC_KEY 
SHA256_READ_PUBLIC_KEY 
SHA256_SEND_ENCRYPTED_PASSWORD 
SHA256_SEND_PLAIN_PASSWORD 

◆ mysql_state_machine_status

Enumerator
STATE_MACHINE_FAILED 
STATE_MACHINE_CONTINUE 
STATE_MACHINE_WOULD_BLOCK 
STATE_MACHINE_DONE 

◆ ssl_exchange_state

Enumerator
SSL_REQUEST 
SSL_CONNECT 
SSL_COMPLETE 
SSL_NONE