1#ifndef TENDUKE_EE_LICENSING_IMPL_KNOWNNAMELICENSETOKENPARSER_H
2#define TENDUKE_EE_LICENSING_IMPL_KNOWNNAMELICENSETOKENPARSER_H
4#include "../LicenseTokenParser.h"
6namespace tenduke {
namespace ee {
namespace licensing {
namespace impl {
20 const std::shared_ptr<const tenduke::jwt::JWTParser> &parseJwt,
21 std::string licensedItemName
26 const std::string &claimName,
27 const std::string &claimValue
31 const std::string licensedItemName;
A license token parser, which expects the licensed item name to be one given in constructor.
Definition KnownNameLicenseTokenParser.h:12
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
Parses license token into tenduke::ee::licensing::Lease (or into tenduke::ee::licensing::LicensingErr...
Definition LicenseTokenParser.h:59
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4