Online Licenses
1
Initialize the License Handler
c := license_handler.LicenseHandlerConfig{
ApiKey: "your api key",
SharedKey: "your shared key",
ProductCode: "your product code",
AuthData: auth.FromKey("your license key"),
OAuth: false,
}
lh, err := license_handler.NewLicenseHandler(c) c := license_handler.LicenseHandlerConfig{
ClientId: "your client ID",
ClientSecret: "your client secret",
CryptoProviderKey: "your crypto key",
ProductCode: "your product code",
AuthData: auth.FromKey("your license key"),
OAuth: false,
}
lh, err := license_handler.NewLicenseHandler(c)2
4
Was this helpful?