Package com.vaadin.pro.licensechecker
Class OfflineKey
java.lang.Object
com.vaadin.pro.licensechecker.OfflineKey
A key for offline validation of licenses.
An offline key contains information about the user, the subscription and has
an expiration date. It is machine specific and tied to the value returned by
MachineId.get()).
A special version of an offline key is only for production builds. This key is not tied to the machine id as it is meant for CI servers where the machine id can change between builds. A normal offline key should always be used for development.
This version has no product information in the offline key but only validates that an active subscription exists.
An offline key is acquired by providing the machine id to a page on vaadin.com
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OfflineKey
- Throws:
ParseException
-
-
Method Details
-
getJwtData
-
getSubscription
-
getName
-
getAccount
-
getExpires
public long getExpires() -
getSubscriptionKey
-
isProductionBuildAllowed
public boolean isProductionBuildAllowed() -
isDevelopmentBuildAllowed
public boolean isDevelopmentBuildAllowed() -
getMachineId
-
getAllowedProducts
-
getAllowedFeatures
-