![]() |
MySQL 9.0.0
Source Code Documentation
|
#include <common.h>
#include <my_dbug.h>
#include <mysql.h>
#include <mysql/client_plugin.h>
#include <scope_guard.h>
#include "webauthn_assertion.h"
#include "webauthn_registration.h"
Functions | |
static bool | do_registration () |
WebAuthN client side registration method. More... | |
static int | webauthn_auth_client_plugin_init (char *, size_t, int, va_list) |
authentication_webauthn_client plugin API to initialize More... | |
static int | webauthn_auth_client_plugin_option (const char *option, const void *val) |
authentication_webauthn_client plugin API to allow client to pass optional data for plugin to process More... | |
static int | webauthn_auth_client_get_plugin_option (const char *option, void *val) |
authentication_webauthn_client plugin API to allow client to get optional data from plugin More... | |
static int | webauthn_auth_client (MYSQL_PLUGIN_VIO *vio, MYSQL *) |
WebAuthN client side authentication method. More... | |
mysql_declare_client_plugin (AUTHENTICATION) "authentication_webauthn_client" | |
|
static |
WebAuthN client side registration method.
This method does following:
false | Successful registration |
true | Registration failure |
mysql_declare_client_plugin | ( | AUTHENTICATION | ) |
|
static |
WebAuthN 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.
Get the credential ID from MySQL server.
|
static |
authentication_webauthn_client plugin API to allow client to get optional data from plugin
|
static |
authentication_webauthn_client plugin API to initialize
|
static |
authentication_webauthn_client plugin API to allow client to pass optional data for plugin to process
Webauthn Client Authentication GPL |
|
static |
unsigned int libfido_device_id = 0 |
The libfido "device" to use.
plugin_messages_callback_get_password mc_get_password = nullptr |
plugin_messages_callback_get_uint mc_get_uint = nullptr |
MYSQL_CLIENT_PLUGIN_AUTHOR_ORACLE |
Webauthn Client Authentication mysql_end_client_plugin |
Webauthn Client Authentication nullptr |
Webauthn Client Authentication Plugin |
|
static |
|
static |
|
static |
Webauthn Client Authentication webauthn_auth_client |
Webauthn Client Authentication webauthn_auth_client_get_plugin_option |
static int webauthn_auth_client_plugin_deinit |
Deinitialize authentication_webauthn_client plugin.
Webauthn Client Authentication webauthn_auth_client_plugin_init |
Webauthn Client Authentication webauthn_auth_client_plugin_option |