# License_Client

One licence key per site owner unlocks every add-on they bought. This class activates the key for this site, keeps the activation token, asks for updates in a single batched request and requests the (single-use) download at the moment the administrator clicks Update.

State lives in the option `clanbite_license_state` (autoload off). The key and the activation token are encrypted with a key
derived from the site's salts, never returned to the browser and never logged. Define `CLANBITE_LICENSE_KEY` in `wp-config.php`
to supply the key from code (managed hosts, deployments).

## Changelog

| Version | Description |
| --- | --- |
| 1.6.0 | Introduced |
