|
bool | MongoUserFunctions::authenticateUser (std::string username, std::string password, std::string databaseUrl, mongocxx::client &adminClient) |
|
bool | MongoUserFunctions::registerUser (std::string username, std::string password, mongocxx::client &adminClient, std::string oldSettingsCollectionName="") |
|
std::string | MongoUserFunctions::generateUserSettingsCollectionName (mongocxx::client &adminClient) |
|
User | MongoUserFunctions::getUserDataThroughUsername (const std::string &username, mongocxx::client &adminClient) |
|
User | MongoUserFunctions::getUserDataThroughId (std::string userId, mongocxx::client &adminClient) |
|
std::vector< User > | MongoUserFunctions::getAllUsers (mongocxx::client &adminClient) |
|
size_t | MongoUserFunctions::getAllUserCount (mongocxx::client &adminClient) |
|
bool | MongoUserFunctions::removeUser (User &userToBeDeleted, mongocxx::client &adminClient) |
|
bool | MongoUserFunctions::updateUserUsernameById (std::string userId, std::string newUsername, mongocxx::client &adminClient) |
|
bool | MongoUserFunctions::updateUserUsernameByName (std::string oldUsername, std::string newUsername, mongocxx::client &adminClient) |
|
bool | MongoUserFunctions::changeUserPassword (std::string username, std::string newPassword, mongocxx::client &adminClient) |
|
bool | MongoUserFunctions::updateUsername (std::string oldUsername, std::string newUsername, mongocxx::client &adminClient) |
|
std::string | MongoUserFunctions::userToJson (User &user) |
|
std::string | MongoUserFunctions::usersToJson (std::vector< User > &users) |
|
std::string | MongoUserFunctions::hashPassword (const std::string &password) |
|
bool | MongoUserFunctions::doesUserExist (const std::string &userName, mongocxx::client &adminClient) |
|
void | MongoUserFunctions::createTmpUser (std::string userName, std::string userPWD, User &_loggedInUser, mongocxx::client &adminClient, ot::JsonDocument &json) |
|
void | MongoUserFunctions::removeTmpUser (std::string userName, mongocxx::client &adminClient) |
|