LicenseSpring C++ SDK
Easily add Software Licensing to your application
PODTypes.h
Go to the documentation of this file.
1 #ifndef LS_POD_TYPES_H
2 #define LS_POD_TYPES_H
3 
4 #ifdef _MSC_VER
5 #pragma once
6 #endif
7 
10 {
14 };
15 
18 {
22 };
23 
26 {
32 };
33 
36 {
42 };
43 
46 {
47  eNoError = 0,
111 };
112 
115 {
117  Default = 0,
142 };
143 
144 #endif // LS_POD_TYPES_H
eDeviceBlacklisted
@ eDeviceBlacklisted
Definition: PODTypes.h:82
eClockTamperedError
@ eClockTamperedError
Detected that system clock has been set back.
Definition: PODTypes.h:68
eOAuthTokenMalformed
@ eOAuthTokenMalformed
OAuth token is malformed.
Definition: PODTypes.h:110
AutoIdWinCloud
@ AutoIdWinCloud
Device ID algorithm with auto-detection of the platform, meant for Windows cloud instances.
Definition: PODTypes.h:141
eInitializationError
@ eInitializationError
Invalid Configuration settings.
Definition: PODTypes.h:51
eInvalidOrderIDError
@ eInvalidOrderIDError
Definition: PODTypes.h:74
LSFeatureType
LSFeatureType
Product feature type.
Definition: PODTypes.h:17
eUnknownError
@ eUnknownError
Unknown error encountered.
Definition: PODTypes.h:48
LicenseTypeUnknown
@ LicenseTypeUnknown
Unknown (invalid) License type.
Definition: PODTypes.h:31
eNetworkTimeoutError
@ eNetworkTimeoutError
Request to the backend has timed out.
Definition: PODTypes.h:62
AutoId
@ AutoId
Device ID algorithm with auto-detection of the platform.
Definition: PODTypes.h:126
eNoInternetError
@ eNoInternetError
Problems with Internet connection.
Definition: PODTypes.h:61
FeatureTypeConsumption
@ FeatureTypeConsumption
Consumption feature type.
Definition: PODTypes.h:21
Default
@ Default
Default device ID calculation algorithm.
Definition: PODTypes.h:117
ConsumptionPeriodDaily
@ ConsumptionPeriodDaily
Daily consumption reset.
Definition: PODTypes.h:38
eOAuthRequired
@ eOAuthRequired
OAuth authorization is required instead of api and shared keys.
Definition: PODTypes.h:107
eBorrowingNotAllowed
@ eBorrowingNotAllowed
License borrowing is not allowed by license policy.
Definition: PODTypes.h:90
eMissingEmailError
@ eMissingEmailError
Definition: PODTypes.h:72
eActivationFailed
@ eActivationFailed
Internal server error.
Definition: PODTypes.h:56
LSConsumptionPeriod
LSConsumptionPeriod
Consumption period.
Definition: PODTypes.h:35
Gen2
@ Gen2
Generation 2 of device ID algorithm for Windows.
Definition: PODTypes.h:120
LSErrorCode
LSErrorCode
LicenseSpring Error codes enum.
Definition: PODTypes.h:45
eWatchdogError
@ eWatchdogError
Failed to set license watchdog.
Definition: PODTypes.h:98
AutoIdGen2
@ AutoIdGen2
Device ID algorithm with auto-detection of the platform.
Definition: PODTypes.h:137
eReadOnlyApiKey
@ eReadOnlyApiKey
Provided api key is read_only.
Definition: PODTypes.h:94
eInvalidLicenseFeatureCode
@ eInvalidLicenseFeatureCode
Feature code not found on license.
Definition: PODTypes.h:102
eCannotBeActivatedNow
@ eCannotBeActivatedNow
Current date is behind license start date.
Definition: PODTypes.h:86
FeatureTypeActivation
@ FeatureTypeActivation
Activation feature type.
Definition: PODTypes.h:20
ConsumptionPeriodNone
@ ConsumptionPeriodNone
No consumption period, consumption reset disabled.
Definition: PODTypes.h:37
eLicenseDisabled
@ eLicenseDisabled
License disabled.
Definition: PODTypes.h:54
eLicenseNotFloating
@ eLicenseNotFloating
The license is not floating.
Definition: PODTypes.h:81
eVersionError
@ eVersionError
App version not found on the backend.
Definition: PODTypes.h:59
eSSOTokenError
@ eSSOTokenError
Token for SSO is not valid or expired.
Definition: PODTypes.h:88
eMaxFloatingReached
@ eMaxFloatingReached
Reached max users count for floating license.
Definition: PODTypes.h:80
eDeviceError
@ eDeviceError
Device from which the call is made is not licensed (Hardware ID mismatch)
Definition: PODTypes.h:58
eLicenseNotFound
@ eLicenseNotFound
License not found.
Definition: PODTypes.h:52
eRequestDateHeaderInvalid
@ eRequestDateHeaderInvalid
Definition: PODTypes.h:100
eLocalLicenseError
@ eLocalLicenseError
SDK could not read or write license to the storage.
Definition: PODTypes.h:67
CloudPlatformsId
@ CloudPlatformsId
Cloud platforms instance ID algorithm.
Definition: PODTypes.h:123
eRevokedApiKey
@ eRevokedApiKey
Provided api key is revoked.
Definition: PODTypes.h:95
ConsumptionPeriodMonthly
@ ConsumptionPeriodMonthly
Monthly consumption reset.
Definition: PODTypes.h:40
DeviceIDAlgorithm
DeviceIDAlgorithm
Type of Device ID algorithm used by the SDK.
Definition: PODTypes.h:114
eUnauthorizedClient
@ eUnauthorizedClient
OAuth client credentials are either expired or wrong.
Definition: PODTypes.h:106
AuthMethodKeyBased
@ AuthMethodKeyBased
Authorization method based on license keys.
Definition: PODTypes.h:12
eInvalidApiKey
@ eInvalidApiKey
Provided api key is not valid.
Definition: PODTypes.h:93
eApiKeyProductNotAllowed
@ eApiKeyProductNotAllowed
Provided api key does not allow access to configured product.
Definition: PODTypes.h:96
eLicenseExpired
@ eLicenseExpired
License Expired.
Definition: PODTypes.h:53
WinCryptographyId
@ WinCryptographyId
Alternative device ID algorithm for Windows.
Definition: PODTypes.h:134
eInvalidClient
@ eInvalidClient
OAuth client doesn't exist.
Definition: PODTypes.h:109
eVMDNotAvailable
@ eVMDNotAvailable
Windows only, in case VM detection dll not found or tempered.
Definition: PODTypes.h:92
LSAuthMethod
LSAuthMethod
Product authorization method.
Definition: PODTypes.h:9
ConsumptionPeriodWeekly
@ ConsumptionPeriodWeekly
Weekly consumption reset.
Definition: PODTypes.h:39
ConsumptionPeriodAnnually
@ ConsumptionPeriodAnnually
Annually consumption reset.
Definition: PODTypes.h:41
AuthMethodUnknown
@ AuthMethodUnknown
Invalid method.
Definition: PODTypes.h:11
eProductMismatchError
@ eProductMismatchError
Definition: PODTypes.h:64
eVMNotAllowed
@ eVMNotAllowed
Running on Virtual machine not allowed.
Definition: PODTypes.h:79
LicenseTypeConsumption
@ LicenseTypeConsumption
Consumption License type.
Definition: PODTypes.h:30
eTrialNotAllowed
@ eTrialNotAllowed
Getting trial licenses is restricted by product license policy.
Definition: PODTypes.h:85
eSignatureMismatchError
@ eSignatureMismatchError
Server signature is not valid.
Definition: PODTypes.h:66
eNegativeConsumptionsNotAllowed
@ eNegativeConsumptionsNotAllowed
Negative consumptions not allowed.
Definition: PODTypes.h:105
FeatureTypeNone
@ FeatureTypeNone
Invalid type.
Definition: PODTypes.h:19
eSSOError
@ eSSOError
Customer account not found or SSO is not set up properly.
Definition: PODTypes.h:87
eBorrowLicenseError
@ eBorrowLicenseError
Borrowing period is not valid (it is bigger than max possible)
Definition: PODTypes.h:89
eNotEnoughConsumptionError
@ eNotEnoughConsumptionError
Consumption license or feature run out of resources.
Definition: PODTypes.h:63
eAuthorizationError
@ eAuthorizationError
Authorization failed.
Definition: PODTypes.h:91
eInvalidCredential
@ eInvalidCredential
Username does not exist or wrong password provided.
Definition: PODTypes.h:69
eInvalidLicenseFeatureError
@ eInvalidLicenseFeatureError
Feature does not exist or wrong feature type.
Definition: PODTypes.h:76
eStdError
@ eStdError
C++ standard exception encountered.
Definition: PODTypes.h:49
eLicenseSpringInternalError
@ eLicenseSpringInternalError
Definition: PODTypes.h:70
eFeatureNotFloating
@ eFeatureNotFloating
License feature that should be released is not a floating feature.
Definition: PODTypes.h:103
eServerError
@ eServerError
Internal server error.
Definition: PODTypes.h:57
eGeneralLSError
@ eGeneralLSError
General LicenseSpring error.
Definition: PODTypes.h:50
eFloatingFeatureDeviceNotInUse
@ eFloatingFeatureDeviceNotInUse
Device was never used to check out a floating feature.
Definition: PODTypes.h:104
eFloatingTimeoutExpired
@ eFloatingTimeoutExpired
Floating license borrowing period or floating timeout expired.
Definition: PODTypes.h:97
ePasswordChangeNotAllowed
@ ePasswordChangeNotAllowed
Password change is restricted by product policy.
Definition: PODTypes.h:84
eLicenseInactive
@ eLicenseInactive
Could not activate license.
Definition: PODTypes.h:55
LicenseTypeSubscription
@ LicenseTypeSubscription
Subscription License type.
Definition: PODTypes.h:28
LicenseTypePerpetual
@ LicenseTypePerpetual
Perpetual License type.
Definition: PODTypes.h:27
eOAuthTokenExpired
@ eOAuthTokenExpired
Previously fetched OAuth token is expired.
Definition: PODTypes.h:108
LSLicenseType
LSLicenseType
License type.
Definition: PODTypes.h:25
AuthMethodUserBased
@ AuthMethodUserBased
Authorization method based on user credentials.
Definition: PODTypes.h:13
LicenseTypeTimeLimited
@ LicenseTypeTimeLimited
TimeLimited License type.
Definition: PODTypes.h:29
WinCSProductId
@ WinCSProductId
Alternative device ID algorithm for Windows.
Definition: PODTypes.h:130
eNoError
@ eNoError
No error, everything is ok.
Definition: PODTypes.h:47
eInvalidConfirmationCode
@ eInvalidConfirmationCode
Air gap confirmation code is invalid.
Definition: PODTypes.h:99
eLicenseNoAvailableActivations
@ eLicenseNoAvailableActivations
Definition: PODTypes.h:77
eProductError
@ eProductError
Product not found on the backend.
Definition: PODTypes.h:60