Functions
MyQttD Users: authentication engine for MyQttD broker

Functions

axl_bool myqttd_users_do_auth (MyQttdCtx *ctx, MyQttdDomain *domain, axl_bool domain_selected, MyQttdUsers *users, MyQttConn *conn, const char *username, const char *password, const char *client_id)
 Allows to do an auth operation on the provided users backend (users) in the context of the provided connection (optionally provided) with credentials provided. More...
 
void myqttd_users_free (MyQttdUsers *users)
 Allows to release resources used by the provided database of users. More...
 
axlPointer myqttd_users_get_backend_ref (MyQttdUsers *users)
 Allows to get the internal reference that was created at the time the backend was initialized. More...
 
axl_bool myqttd_users_register_backend (MyQttdCtx *ctx, const char *backend_type, MyQttdUsersLoadDb loadBackend, MyQttdUsersExists userExists, MyQttdUsersAuthUser authUser, MyQttdUsersUnloadDb unloadBackend, axlPointer extensionPtr, axlPointer extensionPtr2, axlPointer extensionPtr3, axlPointer extensionPtr4)
 Allows to register a new authentication backend. More...
 

Detailed Description