tec::system::UserAuthenticator

#include <user-authenticator.hpp>

Public Functions

Name
void SetDataSource(util::DataSource< User > * data_source)
void AddUser(std::string user_id, std::string username, std::string password ="")
User * Authenticate(std::string username, std::string password ="")

Public Functions Documentation

function SetDataSource

inline void SetDataSource(
    util::DataSource< User > * data_source
)

function AddUser

inline void AddUser(
    std::string user_id,
    std::string username,
    std::string password =""
)

function Authenticate

inline User * Authenticate(
    std::string username,
    std::string password =""
)

Updated on 2022-07-24 at 19:27:35 +0000