10Duke Enterprise C++ SDK
Toggle main menu visibility
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
6
namespace
tenduke
{
namespace
ee
{
namespace
licensing
{
namespace
impl
{
7
11
class
KnownNameLicenseTokenParser
:
public
tenduke::ee::licensing::impl::LicenseTokenParser
12
{
13
public
:
19
KnownNameLicenseTokenParser
(
20
const
std::shared_ptr<const tenduke::jwt::JWTParser> &parseJwt,
21
std::string licensedItemName
22
);
23
24
protected
:
25
bool
isLicensedItemName
(
26
const
std::string &claimName,
27
const
std::string &claimValue
28
)
const override
;
29
30
private
:
31
const
std::string licensedItemName;
32
};
33
34
}}}}
35
36
#endif
//TENDUKE_EE_LICENSING_IMPL_KNOWNNAMELICENSETOKENPARSER_H
tenduke::ee::licensing::impl::KnownNameLicenseTokenParser::isLicensedItemName
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
tenduke::ee::licensing::impl::KnownNameLicenseTokenParser::KnownNameLicenseTokenParser
KnownNameLicenseTokenParser(const std::shared_ptr< const tenduke::jwt::JWTParser > &parseJwt, std::string licensedItemName)
Constructs new instance.
Definition
KnownNameLicenseTokenParser.cpp:7
tenduke::ee::licensing::impl::LicenseTokenParser
Parses license token into tenduke::ee::licensing::Lease (or into tenduke::ee::licensing::LicensingErr...
Definition
LicenseTokenParser.h:59
tenduke::ee::licensing::impl
Implementations of licensing related services.
Definition
DefaultLicenseTokens.h:13
tenduke::ee::licensing
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition
AuthzLicensingClient.h:13
tenduke::ee
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition
APIRequest.h:4
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
client
enterprise
api
src
licensing
impl
KnownNameLicenseTokenParser.h
Generated by
1.17.0