Skip to main content

Module headless

Module headless 

Source
Expand description

A blocking, no-UI driver: run a check on the calling thread and fold it into a status, persisting on success. For CLIs, integration tests, and the example.

Functions§

check_blocking
Validate state’s key against provider, fold the result into a LicenseStatus (honoring offline grace, failing closed on denial), and persist last_validated on success. An empty key short-circuits to LicenseStatus::Locked with no network call.