summaryrefslogtreecommitdiff
path: root/include/token_authorization_middleware.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-04-03 19:47:01 +0300
committerEd Tanous <ed.tanous@intel.com>2017-04-03 19:47:01 +0300
commit8041f31acacc8404f13b1302bf9030bc047cf452 (patch)
treec80a1be66557106bd46b193ae3521b06bbc1875d /include/token_authorization_middleware.hpp
parentb4d29f40923bd2d6af2666e10109469a9e557493 (diff)
downloadbmcweb-8041f31acacc8404f13b1302bf9030bc047cf452.tar.xz
incremental
Diffstat (limited to 'include/token_authorization_middleware.hpp')
-rw-r--r--include/token_authorization_middleware.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/token_authorization_middleware.hpp b/include/token_authorization_middleware.hpp
index 160265610c..58766b99b3 100644
--- a/include/token_authorization_middleware.hpp
+++ b/include/token_authorization_middleware.hpp
@@ -17,10 +17,13 @@ struct TokenAuthorizationMiddleware {
std::string auth_token;
};
- std::string auth_token2;
+ TokenAuthorizationMiddleware();
void before_handle(crow::request& req, response& res, context& ctx);
void after_handle(request& req, response& res, context& ctx);
+
+ private:
+ std::string auth_token2;
};
} \ No newline at end of file