1#ifndef TENDUKE_OIDC_IDTOKENSESSIONREQUESTAUTHENTICATOR_H
2#define TENDUKE_OIDC_IDTOKENSESSIONREQUESTAUTHENTICATOR_H
4#include "../session/OIDCSession.h"
5#include "http/HTTPRequestAuthenticator.h"
9namespace tenduke {
namespace oidc {
26 const std::shared_ptr<tenduke::oidc::OIDCSession> &oidcSession,
34 const std::shared_ptr<tenduke::oidc::OIDCSession> oidcSession;
35 const std::string scheme;
This is a service, that can be added to tenduke::http::HTTPRequest to add authentication information ...
Definition HTTPRequestAuthenticator.h:21
HTTP-request, which contains all necessary details to construct the request.
Definition HTTPRequest.h:22
A tenduke::http::HTTPRequestAuthenticator, which adds Authorization-header with OAuth ID-token.
Definition IdTokenSessionRequestAuthenticator.h:18
std::multimap< std::string, std::string > authenticate(const tenduke::http::HTTPRequest &request) const override
Returns headers to authenticate the request.
Definition IdTokenSessionRequestAuthenticator.cpp:16
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4