incremental
diff --git a/include/token_authorization_middleware.hpp b/include/token_authorization_middleware.hpp
index 7e8e503..61c8385 100644
--- a/include/token_authorization_middleware.hpp
+++ b/include/token_authorization_middleware.hpp
@@ -6,14 +6,11 @@
namespace crow {
struct TokenAuthorizationMiddleware {
struct context {
- std::unordered_map<std::string, std::string> cookie_sessions;
- std::unordered_map<std::string, std::string> cookies_to_push_to_client;
-
- std::string get_cookie(const std::string& key);
-
- void set_cookie(const std::string& key, const std::string& value);
+ std::string auth_token;
};
+ std::string auth_token2;
+
void before_handle(crow::request& req, response& res, context& ctx);
void after_handle(request& req, response& res, context& ctx);