incremental
diff --git a/include/token_authorization_middleware.hpp b/include/token_authorization_middleware.hpp
index 0f6e667..214fd93 100644
--- a/include/token_authorization_middleware.hpp
+++ b/include/token_authorization_middleware.hpp
@@ -2,6 +2,7 @@
#include <crow/http_request.h>
#include <crow/http_response.h>
+#include <boost/container/flat_set.hpp>
namespace crow {
@@ -12,7 +13,7 @@
// it opens the possibility of exposure by and endpoint.
// instead we should only pass some kind of "user" struct
struct context {
- std::string auth_token;
+ //std::string auth_token;
};
TokenAuthorizationMiddleware();
@@ -22,6 +23,6 @@
void after_handle(request& req, response& res, context& ctx);
private:
- std::string auth_token2;
+ boost::container::flat_set<std::string> auth_token2;
};
}
\ No newline at end of file