MySQL 8.0.39
Source Code Documentation
|
#include <mysql.h>
#include <mysql/client_plugin.h>
#include "my_dbug.h"
#include "fido_assertion.h"
#include "fido_common.h"
#include "fido_registration.h"
Functions | |
static bool | do_registration () |
FIDO client side registration method. More... | |
void | get_plugin_messages (const std::string &msg, message_type type) |
static int | fido_auth_client_plugin_init (char *, size_t, int, va_list) |
authentication_fido_client plugin API to initialize More... | |
static int | fido_auth_client_plugin_option (const char *option, const void *val) |
authentication_fido_client plugin API to allow server to pass optional data for plugin to process More... | |
static int | fido_auth_client_get_plugin_option (const char *option, void *val) |
authentication_fido_client plugin API to allow server to get optional data from plugin More... | |
static int | fido_auth_client (MYSQL_PLUGIN_VIO *vio, MYSQL *) |
FIDO client side authentication method. More... | |
mysql_declare_client_plugin (AUTHENTICATION) "authentication_fido_client" | |
Variables | |
static bool | is_fido_testing = false |
static unsigned char | registration_challenge [128] = {0} |
static unsigned char * | registration_challenge_response = nullptr |
plugin_messages_callback | mc = nullptr |
MYSQL_CLIENT_PLUGIN_AUTHOR_ORACLE | |
Fido Client Authentication | Plugin |
Fido Client Authentication | GPL |
Fido Client Authentication | nullptr |
Fido Client Authentication | fido_auth_client_plugin_init |
Fido Client Authentication | fido_auth_client_plugin_deinit () |
Deinitialize authentication_fido_client plugin. More... | |
Fido Client Authentication | fido_auth_client_plugin_option |
Fido Client Authentication | fido_auth_client_get_plugin_option |
Fido Client Authentication | fido_auth_client |
Fido Client Authentication | mysql_end_client_plugin |
|
static |
FIDO client side registration method.
This method does following:
false | Successful registration |
true | Registration failure |
|
static |
FIDO client side authentication method.
This method does following:
[in] | vio | Virtual I/O interface |
CR_OK | Successful authentication |
true | Authentication failure |
Get the challenge from the MySQL server.
|
static |
authentication_fido_client plugin API to allow server to get optional data from plugin
|
static |
authentication_fido_client plugin API to initialize
|
static |
authentication_fido_client plugin API to allow server to pass optional data for plugin to process
void get_plugin_messages | ( | const std::string & | msg, |
message_type | type | ||
) |
mysql_declare_client_plugin | ( | AUTHENTICATION | ) |
Fido Client Authentication fido_auth_client |
Fido Client Authentication fido_auth_client_get_plugin_option |
static int fido_auth_client_plugin_deinit |
Deinitialize authentication_fido_client plugin.
Fido Client Authentication fido_auth_client_plugin_init |
Fido Client Authentication fido_auth_client_plugin_option |
Fido Client Authentication GPL |
|
static |
MYSQL_CLIENT_PLUGIN_AUTHOR_ORACLE |
Fido Client Authentication mysql_end_client_plugin |
Dialog Client Authentication nullptr |
Fido Client Authentication Plugin |
|
static |
|
static |