|
10Duke Enterprise C++ SDK
|
#include <LicensingConfiguration.h>
10Duke licensing configuration.
Public Member Functions | |
| LicensingConfiguration (std::string endpoint, ::tenduke::ee::ClientProperties clientProperties, std::shared_ptr< tenduke::jwt::JWTSignatureValidator > signatureValidator, const ::tenduke::crypto::HashAlgorithm algorithm) | |
| Constructs new instance. | |
| ::tenduke::crypto::HashAlgorithm | getAlgorithm () const |
| Returns the cryptographical algorithm of the license token signatures. | |
| const std::string & | getEndpoint () const |
| Returns URL of 10Duke licensing API. | |
| const ::tenduke::ee::ClientProperties & | getClientProperties () const |
| Returns client properties. | |
| std::shared_ptr< tenduke::jwt::JWTSignatureValidator > | getSignatureValidator () const |
| Returns the validator for the license token signatures. | |
|
inline |
Constructs new instance.
| endpoint | URL of 10Duke licensing API |
| clientProperties | client properties |
| signatureValidator | validator for the license token signatures. Must not be null for the configuration to be used for creating clients. The backend signs the license tokens with the same key as the ID-tokens, so this is usually tenduke::oidc::OIDCConfiguration::signatureValidator. The serialized license tokens contain the keys of the validator, see tenduke::ee::licensing::LicenseTokens. |
| algorithm | cryptographical algorithm of the license token signatures |
|
inline |
Returns the cryptographical algorithm of the license token signatures.
|
inline |
Returns client properties.
|
inline |
Returns URL of 10Duke licensing API.
|
inline |
Returns the validator for the license token signatures.