10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
DefaultOfflineLicenseTokenParser.h
1
#ifndef TENDUKE_EE_LICENSING_IMPL_DEFAULTOFFLINELICENSETOKENPARSER_H
2
#define TENDUKE_EE_LICENSING_IMPL_DEFAULTOFFLINELICENSETOKENPARSER_H
3
4
#include "../LicenseTokenParser.h"
5
#include "../OfflineLicenseTokenParser.h"
6
#include "jwt/JWTParser.h"
7
8
#include <memory>
9
10
namespace
tenduke
{
namespace
ee
{
namespace
licensing
{
namespace
impl
{
11
12
class
DefaultOfflineLicenseTokenParser :
public
::tenduke::ee::licensing::OfflineLicenseTokenParser
13
{
14
public
:
15
explicit
DefaultOfflineLicenseTokenParser(
const
std::shared_ptr<const ::tenduke::jwt::JWTParser> &jwtParser);
16
17
// OfflineLicenseTokenParser implementation
18
public
:
19
::tenduke::ee::licensing::Lease
from
(
20
const
std::string &licenseToken,
21
const
std::string &licensedItemName
22
)
const override
;
23
::tenduke::ee::licensing::Lease
from
(
const
std::string &licenseToken)
const override
;
24
25
private
:
26
const
std::shared_ptr<const ::tenduke::jwt::JWTParser> jwtParser;
27
};
28
29
}}}}
30
31
#endif
//TENDUKE_EE_LICENSING_IMPL_DEFAULTOFFLINELICENSETOKENPARSER_H
tenduke::ee::licensing::Lease
Describes checked out licensed item.
Definition
Lease.h:21
tenduke::ee::licensing::OfflineLicenseTokenParser
Service for parsing standalone license tokens.
Definition
OfflineLicenseTokenParser.h:14
tenduke::ee::licensing::impl::DefaultOfflineLicenseTokenParser::from
::tenduke::ee::licensing::Lease from(const std::string &licenseToken, const std::string &licensedItemName) const override
Parses a single token of the given licensed item from given string.
Definition
DefaultOfflineLicenseTokenParser.cpp:31
tenduke::ee::licensing::impl
Implementations of licensing related services.
Definition
DefaultLicenseTokens.h:21
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
DefaultOfflineLicenseTokenParser.h
Generated by
1.17.0