MySQL 9.1.0
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_handle, 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_handle,
char *  register_option,
char *  errmsg 
)

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

Please refer How authentication_webauthn works? for more information.

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