MySQL 8.0.30
Source Code Documentation
user_registration.h File Reference
#include <mysql.h>

Go to the source code of this file.

Functions

bool user_device_registration (MYSQL *mysql, char *register_option, char *errmsg)
 This helper method is used to perform device registration against a user account. More...
 

Function Documentation

◆ user_device_registration()

bool user_device_registration ( MYSQL mysql,
char *  register_option,
char *  errmsg 
)

This helper method is used to perform device registration against a user account.

Please refer How authentication_fido works? for more information.

Parameters
mysqlmysql connection handle
register_optionComma separated list of values, which specifies which factor requires registration. Valid values are "2", "3", "2,3" or "3,2"
errmsgBuffer tol hold error message in case of error.
Returns
true failed
false success