24#ifndef AUTHENTICATION_WEBAUTH_CLIENTOPT_VARS_H
25#define AUTHENTICATION_WEBAUTH_CLIENTOPT_VARS_H
42 if (!webauthn_client_plugin) {
43 snprintf(
error, error_size,
44 "Failed to load authentication_webauthn_client.");
50 webauthn_client_plugin,
51 "authentication_webauthn_client_preserve_privacy",
53 snprintf(
error, error_size,
54 "Failed to set value 'TRUE' for "
55 "--plugin-authentication-webauthn-client-preserve-privacy");
63 snprintf(
error, error_size,
64 "Failed to set device id for the webauthn client plugin");
static int set_authentication_webauthn_options(MYSQL *mysql, char *error, size_t error_size)
Definition: authentication_webauthn_clientopt-vars.h:35
static unsigned int opt_authentication_webauthn_client_device
Definition: authentication_webauthn_clientopt-vars.h:33
bool opt_authentication_webauthn_client_preserve_privacy
Definition: authentication_webauthn_clientopt-vars.h:31
int mysql_plugin_options(struct st_mysql_client_plugin *plugin, const char *option, const void *value)
set plugin options
Definition: client_plugin.cc:657
struct st_mysql_client_plugin * mysql_client_find_plugin(struct MYSQL *mysql, const char *name, int type)
finds an already loaded plugin by name, or loads it, if necessary
Definition: client_plugin.cc:630
#define MYSQL_CLIENT_AUTHENTICATION_PLUGIN
Definition: client_plugin.h:80
This file defines the client API to MySQL and also the ABI of the dynamically linked libmysqlclient.
void error(const char *format,...)
Definition: instrumented_condition_variable.h:32
Definition: client_plugin.h:114