SDKs
Go SDK

Go License Client

29min
Note: Read Common before this.

Importing the License Client

Go


Create LicenseClient

The following function uses the default CryptoProvider and DataLocation to encrypt, store, and decrypt the license file. You can implement your custom CryptoProvider and DataLocation the interface structure.

Go


Create Custom LicenseClient

Implement the CryptoProvider and DataLocation interfaces to create custom implementations for these components, and use them to configure the license client.

Go


Activate Key-Based License

After activating the license, this function saves the license file in the location specified by the DataLocation object. The file is securely encrypted using the implementation provided by the CryptoProvider.

Go


Activate User-Based License

After activating the license, this function saves the license file in the location specified by the DataLocation object. The file is securely encrypted using the implementation provided by the CryptoProvider.

Go


Deactivate Key-Based License

Go


Deactivate User-Based License

Go


Check Key-Based License

Go


Check User-Based License

Go


Activate Offline License

After activating the license, this function saves the license file in the location specified by the DataLocation object. The file is securely encrypted using the implementation provided by the CryptoProvider.

Go


Deactivate Offline License

Go


Local License Check

This function reads the license file from local memory, validates it by performing checks such as expiration and hardware ID matching, and returns the license object along with the results of these checks.

Go


Local license check returns an object of the following type:

Go


Add Consumption

Go


Add Feature Consumption

Go


Trial Key

Go


Product Details

Go


Track Device Variables

Go


Get Device Variables

Go


Floating Borrow

Go


Floating Release

Go


Change Password

Go


Versions

Go


Installation File

Go


Customer License Users

Go


SSO URL

Go


Air-Gap Initialization

Go


Air-Gap Activation

Go




Updated 16 Nov 2024
Doc contributor
Doc contributor
Doc contributor
Did this page help you?