10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
AbstractTendukeServiceFactory Class Reference

#include <AbstractTendukeServiceFactory.h>

Detailed Description

Abstract base class of a tenduke service factory.

Inheritance diagram for AbstractTendukeServiceFactory:
tenduke::TendukeServiceFactory tenduke::DefaultServicesFactory tenduke::DefaultServicesFactory

Protected Member Functions

virtual::tenduke::TendukeServices create (const std::shared_ptr<::tenduke::crypto::MessageDigestFactory > &messageDigestFactory, const std::shared_ptr<::tenduke::crypto::PublicKeyFactory > &keyFactory, const std::shared_ptr<::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr<::tenduke::net::URLs > &urls, const std::shared_ptr<::tenduke::utl::random::RandomBytes > &randomBytes, const std::shared_ptr<::tenduke::json::JSONParser > &jsonParser, const std::shared_ptr<::tenduke::crypto::Crypto > &cryptoServices) const
 Creates the services using the provided dependencies.

Additional Inherited Members

Public Member Functions inherited from tenduke::TendukeServiceFactory
virtual::tenduke::TendukeServices create (const std::string &clientId, const ::tenduke::ServiceConfiguration &serviceConfiguration) const =0
 Creates the services.

Member Function Documentation

◆ create()

TendukeServices tenduke::AbstractTendukeServiceFactory::create ( const std::shared_ptr<::tenduke::crypto::MessageDigestFactory > & messageDigestFactory,
const std::shared_ptr<::tenduke::crypto::PublicKeyFactory > & keyFactory,
const std::shared_ptr<::tenduke::http::HTTPClient > & httpClient,
const std::shared_ptr<::tenduke::net::URLs > & urls,
const std::shared_ptr<::tenduke::utl::random::RandomBytes > & randomBytes,
const std::shared_ptr<::tenduke::json::JSONParser > & jsonParser,
const std::shared_ptr<::tenduke::crypto::Crypto > & cryptoServices ) const
protected

Creates the services using the provided dependencies.

Parameters
messageDigestFactory-
keyFactory(This will be removed in the next major release. The same service will be provided by cryptoServices)
httpClient-
urls-
randomBytes-
jsonParser-
cryptoServicesCryptography services. Defaults to nullptr to keep code backwards compatible. (Default will be removed in the next major release).

The documentation for this class was generated from the following files: