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
(
const
std::string &licenseToken)
const override
;
20
21
protected
:
22
virtual
std::unique_ptr<::tenduke::ee::licensing::impl::LicenseTokenParser> createLicenseTokenParser()
const
;
23
24
private
:
25
const
std::shared_ptr<const ::tenduke::jwt::JWTParser> jwtParser;
26
};
27
28
}}}}
29
30
#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 override
Parses a single token from given string.
Definition
DefaultOfflineLicenseTokenParser.cpp:17
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
DefaultOfflineLicenseTokenParser.h
Generated by
1.17.0