10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
KnownNameLicenseTokenParser.h
1#ifndef TENDUKE_EE_LICENSING_IMPL_KNOWNNAMELICENSETOKENPARSER_H
2#define TENDUKE_EE_LICENSING_IMPL_KNOWNNAMELICENSETOKENPARSER_H
3
4#include "../LicenseTokenParser.h"
5
6namespace tenduke { namespace ee { namespace licensing { namespace impl {
7
12{
13public:
20 const std::shared_ptr<const tenduke::jwt::JWTParser> &parseJwt,
21 std::string licensedItemName
22 );
23
24protected:
26 const std::string &claimName,
27 const std::string &claimValue
28 ) const override;
29
30private:
31 const std::string licensedItemName;
32};
33
34}}}}
35
36#endif //TENDUKE_EE_LICENSING_IMPL_KNOWNNAMELICENSETOKENPARSER_H
KnownNameLicenseTokenParser(const std::shared_ptr< const tenduke::jwt::JWTParser > &parseJwt, std::string licensedItemName)
Constructs new instance.
Definition KnownNameLicenseTokenParser.cpp:7
bool isLicensedItemName(const std::string &claimName, const std::string &claimValue) const override
Checks if given value is a licensed item name.
Definition KnownNameLicenseTokenParser.cpp:15
KnownNameLicenseTokenParser(const std::shared_ptr< const tenduke::jwt::JWTParser > &parseJwt, std::string licensedItemName)
Constructs new instance.
Definition KnownNameLicenseTokenParser.cpp:7
Parses license token into tenduke::ee::licensing::Lease (or into tenduke::ee::licensing::LicensingErr...
Definition LicenseTokenParser.h:59
Implementations of licensing related services.
Definition DefaultLicenseTokens.h:13
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition AuthzLicensingClient.h:13
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition APIRequest.h:4
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4