@kanunilabs/licensing / LicenseManager
Variable: LicenseManager
constLicenseManager:object
Type Declaration
getLicenseState
getLicenseState: () =>
LicenseVerification=_get
Current cached verification result (synchronous).
Returns
isLicensed
isLicensed: () =>
boolean=_is
True only for a fully valid, in-window, non-revoked license.
Returns
boolean
setLicenseKey
setLicenseKey: (
key,opts?) =>void=_set
Set (or replace) the active license key. Triggers async verification. Safe to call multiple times; re-verifies only when the key (or options) change.
Parameters
key
string | null | undefined
opts?
Returns
void