1#ifndef TENDUKE_TENDUKESERVICES_H
2#define TENDUKE_TENDUKESERVICES_H
4#include "crypto/PublicKeyFactory.h"
5#include "http/HTTPClient.h"
6#include "json/JSONParser.h"
7#include "jwk/JWKSParser.h"
9#include "oidc/autodiscovery/AutoDiscovery.h"
10#include "oidc/OIDCClientFactory.h"
11#include "time/Clock.h"
12#include "utl/Base64Decoder.h"
13#include "jwt/DefaultJWTParserFactory.h"
41 const std::shared_ptr<const tenduke::utl::Base64Decoder> &
base64Decoder,
42 const std::shared_ptr<tenduke::time::Clock> &
clock,
43 const std::shared_ptr<const tenduke::http::HTTPClient> &
httpClient,
44 const std::shared_ptr<const tenduke::json::JSONParser> &
jsonParser,
45 const std::shared_ptr<const tenduke::jwk::JWKSParser> &
jwksParser,
46 const std::shared_ptr<const tenduke::jwt::JWTParserFactory> &
jwtParser,
48 const std::shared_ptr<const ::tenduke::net::URLs> &
urls,
50 const std::shared_ptr<const tenduke::crypto::PublicKeyFactory>&
keyFactory
67 const std::shared_ptr<tenduke::time::Clock>
clock;
69 const std::shared_ptr<const tenduke::http::HTTPClient>
httpClient;
71 const std::shared_ptr<const tenduke::json::JSONParser>
jsonParser;
73 const std::shared_ptr<const tenduke::jwt::JWTParserFactory>
jwtParser;
75 const std::shared_ptr<const tenduke::jwk::JWKSParser>
jwksParser;
79 const std::shared_ptr<const ::tenduke::net::URLs>
urls;
83 const std::shared_ptr<const tenduke::crypto::PublicKeyFactory>
keyFactory;
const std::shared_ptr< const tenduke::jwk::JWKSParser > jwksParser
JWKS-parser.
Definition TendukeServices.h:75
const std::shared_ptr< const tenduke::json::JSONParser > jsonParser
JSON-parser.
Definition TendukeServices.h:71
const std::shared_ptr< const tenduke::jwt::JWTParserFactory > jwtParser
JWT-parser factory.
Definition TendukeServices.h:73
const std::shared_ptr< const tenduke::crypto::PublicKeyFactory > keyFactory
Cryptographic key factory.
Definition TendukeServices.h:83
const std::shared_ptr< tenduke::time::Clock > clock
Clock.
Definition TendukeServices.h:67
const std::shared_ptr< const tenduke::oidc::OIDCClientFactory > oidcClientFactory
OIDC-client factory.
Definition TendukeServices.h:81
const std::shared_ptr< const tenduke::oidc::AutoDiscovery > oidcBackendConfiguration
OIDC configuration auto discovery service.
Definition TendukeServices.h:77
const std::shared_ptr< const ::tenduke::net::URLs > urls
URL-functions.
Definition TendukeServices.h:79
const std::shared_ptr< const tenduke::http::HTTPClient > httpClient
HTTP-client.
Definition TendukeServices.h:69
TendukeServices(const std::shared_ptr< const tenduke::utl::Base64Decoder > &base64Decoder, const std::shared_ptr< tenduke::time::Clock > &clock, const std::shared_ptr< const tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser, const std::shared_ptr< const tenduke::jwk::JWKSParser > &jwksParser, const std::shared_ptr< const tenduke::jwt::JWTParserFactory > &jwtParser, const std::shared_ptr< const tenduke::oidc::AutoDiscovery > &oidcBackendConfiguration, const std::shared_ptr< const ::tenduke::net::URLs > &urls, const std::shared_ptr< const tenduke::oidc::OIDCClientFactory > &oidcClientFactory, const std::shared_ptr< const tenduke::crypto::PublicKeyFactory > &keyFactory)
Constructs a new instance.
Definition TendukeServices.h:40
const std::shared_ptr< const tenduke::utl::Base64Decoder > base64Decoder
Base64 decoder.
Definition TendukeServices.h:65
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4