1#ifndef KEYZY_LICENSE_ACTIVATOR_H
2#define KEYZY_LICENSE_ACTIVATOR_H
15 class KeyzyLicenseProvider;
103 [[deprecated(
"Client-only trials have no server-side protection; use LicenseDepositHandler::registerTrial() instead")]]
113 [[deprecated(
"Client-only trials are deprecated; use server-side trials instead")]]
170 const std::string& targetSerial);
172 std::shared_ptr<KeyzyLicenseValidator> getLicenseValidator();
173 std::shared_ptr<LicenseDepositHandler> getLicenseDepositHandler();
176 std::shared_ptr<KeyzyLicenseProvider> _licenseProvider;
177 std::unique_ptr<KeyzyLicenseManager> _licenseManager;
178 std::shared_ptr<KeyzyLicenseValidator> _licenseValidator;
179 std::shared_ptr<LicenseDepositHandler> _licenseDepositHandler;
License management: download/store license files, serial numbers, trials, and upgrades.
License validation (online and offline) and access to license fields (info, SKU, dealer,...
LicenseStatus
Definition KeyzyTypes.h:200
HostIdMigrationMode
Definition KeyzyTypes.h:37
Deposit of offline-distributed (dealer) licenses.
LicenseStatus deactivateSemiOnline()
LicenseStatus upgradeLicense(const std::string &targetSerial)
HostIdMigrationResult migrateHostIdV1toV2(HostIdMigrationMode mode)
bool deactivateClientTrial()
LicenseStatus deactivateOnline()
LicenseStatus activateClientTrial(const std::tm &endTime)
LicenseStatus activateOffline(const std::string &licenseFilePath)
LicenseStatus activateSemiOnline()
LicenseStatus upgradeLicense(const std::string &sourceSerial, const std::string &targetSerial)
KeyzyLicenseActivator(const ProductData &productData)
LicenseStatus activateOnline(const std::string &serialNumber)
LicenseStatus activateSemiOnline(const std::string &serialNumber)
Definition KeyzyTypes.h:256
Your product's identity and credentials; construct one and pass it to KeyzyLicenseActivator to authen...
Definition KeyzyTypes.h:93