added user authentication and updated README.md
This commit is contained in:
1 parent
e936c2da17
commit
1b8c28e67b
11 files changed
+492
-258
No files matched your search
@@ -6,20 +6,22 @@
|
||||
#include "dto/LoginResultDto.hpp"
|
||||
#include "model/Models.h"
|
||||
|
||||
namespace manager
|
||||
namespace manager {
|
||||
class UserManager
|
||||
{
|
||||
class UserManager
|
||||
{
|
||||
public:
|
||||
UserManager(const model::BinaryPath&);
|
||||
public:
|
||||
UserManager(const model::BinaryPath&);
|
||||
|
||||
model::User userDtoConv(dto::UserDto::ObjectWrapper&);
|
||||
bool doesUserExist(const model::User&);
|
||||
bool validatePassword(const model::User&);
|
||||
|
||||
void printUser(const model::User&);
|
||||
void registerUser(model::User&);
|
||||
private:
|
||||
model::BinaryPath m_bConf;
|
||||
};
|
||||
void printUser(const model::User&);
|
||||
void registerUser(model::User&);
|
||||
|
||||
static model::User userDtoConv(dto::UserDto::ObjectWrapper&);
|
||||
private:
|
||||
model::BinaryPath m_bConf;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user