#include <KnownNamesLicenseTokenParser.h>
A tenduke::ee::licensing::impl::LicenseTokenParser, which verifies the licensed item name from a set of known names.
|
| bool | isLicensedItemName (const std::string &claimName, const std::string &claimValue) const override |
| | Checks if given value is a licensed item name.
|
| |
◆ KnownNamesLicenseTokenParser()
| tenduke::ee::licensing::impl::KnownNamesLicenseTokenParser::KnownNamesLicenseTokenParser |
( |
const std::shared_ptr< const tenduke::jwt::JWTParser > & | parseJwt, |
|
|
const std::set< std::string > & | knownLicensedItemNames ) |
Constructs new instance.
- Parameters
-
| parseJwt | JWT parser for parsing the license token |
| knownLicensedItemNames | a set of known licensed item names. |
◆ isLicensedItemName()
| bool tenduke::ee::licensing::impl::KnownNamesLicenseTokenParser::isLicensedItemName |
( |
const std::string & | claimName, |
|
|
const std::string & | claimValue ) const |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: