Java License Client
<dependencies>
<dependency>
<groupId>com.licensespring</groupId>
<artifactId>licensespring-license-client</artifactId>
<version>2.16.1</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jdk-java</id>
<url>https://licensespring-maven.s3.eu-central-1.amazonaws.com/</url>
</repository>
</repositories>repositories {
mavenLocal()
maven {
url = 'https://licensespring-maven.s3.eu-central-1.amazonaws.com/'
}
}
dependencies {
implementation 'com.licensespring:licensespring-license-client:2.16.1'
}Initializing the License Client
LicenseManager
getCurrent()
getTrialLicense(String email)
getTrialLicense(Customer customer)
activateLicense(ActivationLicense identity)
deactivateLicense(LicenseIdentity identity)
checkLicense(License license)
getInstallationFile(LicenseIdentity identity)
getVersions(LicenseIdentity identity)
trackVariables(LicenseIdentity identity, Map<String, String> variables)
getProductDetails()
offlineActivationFile(LicenseIdentity identity, String destination)
offlineDeactivationFile(LicenseIdentity identity, String destination)
activateOfflineResponse(LicenseIdentity identity, String filePath)
clearLocalStorage()
setOfflineMode(boolean offlineMode)
getAirGapActivationCode
verifyAirGapConfirmationCode
activateAirGapResponse
getAirGapDeactivationCode
deactivateAirGapResponse
getSsoUrl
changeOauthClientSecret
Last updated
Was this helpful?