Add token validation filter based on token signature and expiration date
- changed login request from GET to POST - implement json body conversion to DTO objects - set `user_id` and `role` attributes for HttpRequest inside filter
This commit is contained in:
@@ -12,3 +12,8 @@ std::optional<User> MockUserStorage::getUserByUsername(const std::string& userna
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool MockUserStorage::insertUser(const User& user)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user