10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
IdTokenSessionRequestAuthenticator.h
1
#ifndef TENDUKE_OIDC_IDTOKENSESSIONREQUESTAUTHENTICATOR_H
2
#define TENDUKE_OIDC_IDTOKENSESSIONREQUESTAUTHENTICATOR_H
3
4
#include "../session/OIDCSession.h"
5
#include "http/HTTPRequestAuthenticator.h"
6
7
#include <memory>
8
9
namespace
tenduke
{
namespace
oidc
{
10
17
class
IdTokenSessionRequestAuthenticator
:
public
tenduke::http::HTTPRequestAuthenticator
18
{
19
public
:
25
IdTokenSessionRequestAuthenticator
(
26
const
std::shared_ptr<tenduke::oidc::OIDCSession> &oidcSession,
27
std::string scheme
28
);
29
30
public
:
31
std::multimap<std::string, std::string>
authenticate
(
const
tenduke::http::HTTPRequest
&request)
const override
;
32
33
private
:
34
const
std::shared_ptr<tenduke::oidc::OIDCSession> oidcSession;
35
const
std::string scheme;
36
};
37
38
}}
39
40
#endif
//TENDUKE_OIDC_IDTOKENSESSIONREQUESTAUTHENTICATOR_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::HTTPRequest
HTTP-request, which contains all necessary details to construct the request.
Definition
HTTPRequest.h:23
tenduke::oidc::IdTokenSessionRequestAuthenticator::IdTokenSessionRequestAuthenticator
IdTokenSessionRequestAuthenticator(const std::shared_ptr< tenduke::oidc::OIDCSession > &oidcSession, std::string scheme)
Constructs new instance.
Definition
IdTokenSessionRequestAuthenticator.cpp:8
tenduke::oidc::IdTokenSessionRequestAuthenticator::authenticate
std::multimap< std::string, std::string > authenticate(const tenduke::http::HTTPRequest &request) const override
Returns headers to authenticate the request.
Definition
IdTokenSessionRequestAuthenticator.cpp:16
tenduke::oidc
Implementation of OpenID Connect protocol.
Definition
AutoDiscovery.h:18
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
oidc
core
src
oidc
idtoken
IdTokenSessionRequestAuthenticator.h
Generated by
1.17.0