OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
UserManagement Class Reference

#include "UserManagement.h"

Public Member Functions

 UserManagement ()
 
 UserManagement (const LoginData &_loginData)
 
 ~UserManagement ()
 
void setAuthServerURL (const std::string &url)
 
void setDatabaseURL (const std::string &url)
 
bool checkConnection (void) const
 
bool checkConnectionAuthorizationService (void) const
 
bool checkConnectionDataBase (const std::string &userName, const std::string &password) const
 
void initializeNewSession (void)
 
bool addUser (const std::string &userName, const std::string &password) const
 
bool deleteUser (const std::string &userName) const
 
bool checkUserName (const std::string &userName) const
 
bool checkPassword (const std::string &userName, const std::string &password, bool isEncryptedPassword, std::string &sessionUser, std::string &sessionPassword, std::string &validPassword, std::string &validEncryptedPassword) const
 
bool storeSetting (const std::string &settingName, const std::string &settingString)
 
std::string restoreSetting (const std::string &settingName)
 
bool addRecentProject (const std::string &projectName)
 
bool removeRecentProject (const std::string &projectName)
 
void getListOfRecentProjects (std::list< std::string > &recentProjectList)
 
std::string getUserSettingsCollection (void)
 

Constructor & Destructor Documentation

◆ UserManagement() [1/2]

UserManagement::UserManagement ( )

◆ UserManagement() [2/2]

UserManagement::UserManagement ( const LoginData & _loginData)

◆ ~UserManagement()

UserManagement::~UserManagement ( )

Member Function Documentation

◆ addRecentProject()

bool UserManagement::addRecentProject ( const std::string & projectName)

◆ addUser()

bool UserManagement::addUser ( const std::string & userName,
const std::string & password ) const

◆ checkConnection()

bool UserManagement::checkConnection ( void ) const

◆ checkConnectionAuthorizationService()

bool UserManagement::checkConnectionAuthorizationService ( void ) const

◆ checkConnectionDataBase()

bool UserManagement::checkConnectionDataBase ( const std::string & userName,
const std::string & password ) const

◆ checkPassword()

bool UserManagement::checkPassword ( const std::string & userName,
const std::string & password,
bool isEncryptedPassword,
std::string & sessionUser,
std::string & sessionPassword,
std::string & validPassword,
std::string & validEncryptedPassword ) const

◆ checkUserName()

bool UserManagement::checkUserName ( const std::string & userName) const

◆ deleteUser()

bool UserManagement::deleteUser ( const std::string & userName) const

◆ getListOfRecentProjects()

void UserManagement::getListOfRecentProjects ( std::list< std::string > & recentProjectList)

◆ getUserSettingsCollection()

std::string UserManagement::getUserSettingsCollection ( void )

◆ initializeNewSession()

void UserManagement::initializeNewSession ( void )

◆ removeRecentProject()

bool UserManagement::removeRecentProject ( const std::string & projectName)

◆ restoreSetting()

std::string UserManagement::restoreSetting ( const std::string & settingName)

◆ setAuthServerURL()

void UserManagement::setAuthServerURL ( const std::string & url)

◆ setDatabaseURL()

void UserManagement::setDatabaseURL ( const std::string & url)

◆ storeSetting()

bool UserManagement::storeSetting ( const std::string & settingName,
const std::string & settingString )

The documentation for this class was generated from the following files: