10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
HTTPRequestAuthenticator.h
1
#ifndef TENDUKE_HTTP_HTTPREQUESTAUTHENTICATOR_H
2
#define TENDUKE_HTTP_HTTPREQUESTAUTHENTICATOR_H
3
4
#include <map>
5
#include <string>
6
7
namespace
tenduke
{
namespace
http
{
8
9
class
HTTPRequest
;
10
20
class
HTTPRequestAuthenticator
21
{
22
public
:
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
tenduke::http::HTTPRequestAuthenticator
This is a service, that can be added to tenduke::http::HTTPRequest to add authentication information ...
Definition
HTTPRequestAuthenticator.h:21
tenduke::http::HTTPRequestAuthenticator::authenticate
virtual std::multimap< std::string, std::string > authenticate(const tenduke::http::HTTPRequest &request) const =0
Returns headers to authenticate the request.
tenduke::http::HTTPRequest
HTTP-request, which contains all necessary details to construct the request.
Definition
HTTPRequest.h:23
tenduke::http
HTTP-related services.
Definition
BadRequest.h:6
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
http
HTTPRequestAuthenticator.h
Generated by
1.17.0