10Duke Scale C++ Client
All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
HTTPRequestAuthenticator.h
1#ifndef TENDUKE_HTTP_HTTPREQUESTAUTHENTICATOR_H
2#define TENDUKE_HTTP_HTTPREQUESTAUTHENTICATOR_H
3
4#include <map>
5#include <string>
6
7namespace tenduke { namespace http {
8
9class HTTPRequest;
10
21{
22public:
23 virtual ~HTTPRequestAuthenticator() = default;
24
30 virtual std::multimap<std::string, std::string> authenticate(const tenduke::http::HTTPRequest &request) const = 0;
31};
32
33}}
34
35#endif //TENDUKE_HTTP_HTTPREQUESTAUTHENTICATOR_H
This is a service, that can be added to tenduke::http::HTTPRequest to add authentication information ...
Definition HTTPRequestAuthenticator.h:21
virtual std::multimap< std::string, std::string > authenticate(const tenduke::http::HTTPRequest &request) const =0
Returns headers to authenticate the request.
HTTP-request, which contains all necessary details to construct the request.
Definition HTTPRequest.h:22
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7