blob: 61c8385fb405daf9d04a9f7c46ad640f412760de [file] [log] [blame]
#pragma once
#include <crow/http_request.h>
#include <crow/http_response.h>
namespace crow {
struct TokenAuthorizationMiddleware {
struct context {
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);
};
}