Piazza.Crypto.License (piazza_core v0.3.6) View Source
Genserver for managing the license verification lifecycle. The protocol is basically:
- On start, decode the license and pass to either on_failure or on_verify depending on the result.
- At a fixed interval, reverify the license, in case it's expired/changed.
The verification interval can be configured with
config :piazza_core, :license_interval, interval_in_ms