|
10Duke Enterprise C++ Client
|
#include <TendukeServices.h>
A "service locator" for core services used by Tenduke client.
Population of this "service locator" is environment-specific: The services are implemented with dependent libraries, and these implementations can be changed if needed. Some services are OS-dependent.
These services are typically only used when bootstrapping the client.
Public Member Functions | |
| 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. | |
Public Attributes | |
| const std::shared_ptr< const tenduke::utl::Base64Decoder > | base64Decoder |
| Base64 decoder. | |
| const std::shared_ptr< tenduke::time::Clock > | clock |
| Clock. | |
| const std::shared_ptr< const tenduke::http::HTTPClient > | httpClient |
| HTTP-client. | |
| const std::shared_ptr< const tenduke::json::JSONParser > | jsonParser |
| JSON-parser. | |
| const std::shared_ptr< const tenduke::jwt::JWTParserFactory > | jwtParser |
| JWT-parser factory. | |
| const std::shared_ptr< const tenduke::jwk::JWKSParser > | jwksParser |
| JWKS-parser. | |
| const std::shared_ptr< const tenduke::oidc::AutoDiscovery > | oidcBackendConfiguration |
| OIDC configuration auto discovery service. | |
| const std::shared_ptr< const ::tenduke::net::URLs > | urls |
| URL-functions. | |
| const std::shared_ptr< const tenduke::oidc::OIDCClientFactory > | oidcClientFactory |
| OIDC-client factory. | |
| const std::shared_ptr< const tenduke::crypto::PublicKeyFactory > | keyFactory |
| Cryptographic key factory. | |
|
inline |
Constructs a new instance.
| base64Decoder | - |
| clock | - |
| httpClient | - |
| jsonParser | - |
| jwksParser | - |
| jwtParser | - |
| oidcBackendConfiguration | - |
| urls | - |
| oidcClientFactory | - |
| keyFactory | - |