| 
    10Duke Enterprise C++ Client
    
   | 
 
#include <IdTokenSessionRequestAuthenticator.h>
A tenduke::http::HTTPRequestAuthenticator, which adds Authorization-header with OAuth ID-token. 
This class adds header "Authorization: IdToken id-token-value" -header, extracting the ID-token from the OIDCSession. The scheme (IdToken in the example) is set by the developer in constructor.
  
Public Member Functions | |
| IdTokenSessionRequestAuthenticator (const std::shared_ptr< tenduke::oidc::OIDCSession > &oidcSession, std::string scheme) | |
| Constructs new instance.   | |
| std::multimap< std::string, std::string > | authenticate (const tenduke::http::HTTPRequest &request) const override | 
| Returns headers to authenticate the request.   | |
| tenduke::oidc::IdTokenSessionRequestAuthenticator::IdTokenSessionRequestAuthenticator | ( | const std::shared_ptr< tenduke::oidc::OIDCSession > & | oidcSession, | 
| std::string | scheme ) | 
Constructs new instance.
| oidcSession | - | 
| scheme | - | 
      
  | 
  overridevirtual | 
Returns headers to authenticate the request.
| request | - | 
Implements tenduke::http::HTTPRequestAuthenticator.