Working on User authentication

This commit is contained in:
kdeng00
2019-09-22 23:57:14 -04:00
parent 89ed9f9252
commit 4bd794c288
19 changed files with 627 additions and 11 deletions
+17
View File
@@ -116,6 +116,23 @@ namespace model
int expiration;
};
struct User
{
int id;
std::string firstname;
std::string lastname;
std::string email;
std::string phone;
std::string username;
std::string password;
};
struct PassSec
{
std::string hashPassword;
std::string salt;
};
struct AuthCredentials
{
std::string domain;