Class OfflineKey

java.lang.Object
com.vaadin.pro.licensechecker.OfflineKey

public class OfflineKey extends Object
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 Details

  • Method Details

    • getJwtData

      public String getJwtData()
    • getSubscription

      public String getSubscription()
    • getName

      public String getName()
    • getAccount

      public String getAccount()
    • getExpires

      public long getExpires()
    • getSubscriptionKey

      public String getSubscriptionKey()
    • isProductionBuildAllowed

      public boolean isProductionBuildAllowed()
    • isDevelopmentBuildAllowed

      public boolean isDevelopmentBuildAllowed()
    • getMachineId

      public String getMachineId()
    • getAllowedProducts

      public List<String> getAllowedProducts()
    • getAllowedFeatures

      public List<String> getAllowedFeatures()