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:
2025-06-14 16:35:18 +04:00
parent 16c7e94345
commit 6df4896628
14 changed files with 285 additions and 64 deletions

View File

@@ -12,3 +12,8 @@ std::optional<User> MockUserStorage::getUserByUsername(const std::string& userna
return ret;
}
bool MockUserStorage::insertUser(const User& user)
{
return true;
}