public class OfflineKey extends Object
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 and Description |
|---|
OfflineKey(String jwtData) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccount() |
List<String> |
getAllowedFeatures() |
List<String> |
getAllowedProducts() |
long |
getExpires() |
String |
getJwtData() |
String |
getMachineId() |
String |
getName() |
String |
getSubscription() |
boolean |
isDevelopmentBuildAllowed() |
boolean |
isProductionBuildAllowed() |
public OfflineKey(String jwtData) throws ParseException
ParseExceptionpublic String getJwtData()
public String getSubscription()
public String getName()
public String getAccount()
public long getExpires()
public boolean isProductionBuildAllowed()
public boolean isDevelopmentBuildAllowed()
public String getMachineId()
Copyright © 2017-2022. All Rights Reserved.