Left some TODO's. Next thing is to check if the token is valid

This commit is contained in:
kdeng00
2019-08-19 22:19:47 -04:00
parent 4072526d35
commit 3e94e0e22e
7 changed files with 59 additions and 27 deletions
+4 -1
View File
@@ -10,9 +10,12 @@ class loginResultDto : public oatpp::data::mapping::type::Object
{
DTO_INIT(loginResultDto, Object)
DTO_FIELD(String, access_token);
DTO_FIELD(Int32, id);
DTO_FIELD(String, username);
DTO_FIELD(String, token);
DTO_FIELD(String, token_type);
DTO_FIELD(Int32, expiration);
DTO_FIELD(String, message);
};
class userDto : public oatpp::data::mapping::type::Object