#include <OIDCSessionRequestAuthenticator.h>
A tenduke::http::HTTPRequestAuthenticator
, which adds Authorization-header with Bearer-token.
This class adds standard OAuth "Authorization: Bearer access-token-value" -header, extracting the access token from the OIDCSession.
◆ OIDCSessionRequestAuthenticator()
tenduke::oidc::OIDCSessionRequestAuthenticator::OIDCSessionRequestAuthenticator |
( |
const std::shared_ptr< tenduke::oidc::OIDCSession > & |
oidcSession | ) |
|
|
explicit |
Constructs new instance.
- Parameters
-
◆ authenticate()
std::multimap< std::string, std::string > tenduke::oidc::OIDCSessionRequestAuthenticator::authenticate |
( |
const tenduke::http::HTTPRequest & |
request | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: