#include <WebUserDTO.hpp>
◆ WebUserDTO() [1/3]
WebUserDTO::WebUserDTO |
( |
| ) |
|
|
default |
◆ WebUserDTO() [2/3]
WebUserDTO::WebUserDTO |
( |
size_t | id, |
|
|
const std::string & | username, |
|
|
const std::string & | password, |
|
|
size_t | clearance, |
|
|
const std::string & | email, |
|
|
const std::string & | confirm_code = "", |
|
|
bool | is_verified = false ) |
Constructor for a WebUserDTO Object.
- Parameters
-
id | the user id |
username | the users username |
password | the users password |
clearance | the users clearance level (used for access control) |
email | the users email address |
confirm_code | the confirmation code that was sent to the user to validate the email address |
is_verified | did the user already verify his email? |
◆ WebUserDTO() [3/3]
Constructor to construct a WebUserDTO Object from a Database Row.
- Parameters
-
row | The User-Database Row the WebUserDTO Object should pull its data from |
◆ clearance
size_t WebUserDTO::clearance |
◆ confirm_code
std::string WebUserDTO::confirm_code |
◆ email
std::string WebUserDTO::email |
◆ id
◆ is_verified
bool WebUserDTO::is_verified |
◆ password
std::string WebUserDTO::password |
◆ username
std::string WebUserDTO::username |
The documentation for this class was generated from the following files: