Skip to content
Oclavex is in private preview, open to existing MonetizeIt users. New users who would like to evaluate Oclavex before the public launch can request access at info@revenusion.com.

Activation & sessions

Activation turns an entitlement into a running license. A device presents an activation code and a device fingerprint; Oclavex issues a session — a signed license bound to that entitlement and device.

Codes are random by default. To give them a format of your own, or to generate or import them in bulk, see activation key formats & batches.

check in — renews the lease Entitlement the customer's grant Session snapshot of features & plan, lease · trial · grace Released the seat is freed activate code + fingerprint check out

A session is the running license. It holds a snapshot of the entitled features and the applied plan (taken at activation, just as the entitlement takes its snapshot when granted), the licensed products, and its time bounds: lease, trial and grace. When the entitlement has an updates policy, the license also carries its maximum version and end of maintenance. Devices check in to renew the lease and check out to release their seat. The license itself is a signed JWT your application can verify offline with the provider’s public key.

A session holds one of the entitlement’s seats while it is active. With a floating license that lasts as long as its lease: when the lease runs out, the seat frees for another device. With a node-locked license the seat stays with the device after its lease runs out, until the device or you release it. Either way, a device whose lease ran out renews it before its license works again.

A device can also borrow its seat when the license allows it: the lease then runs for the borrowed time, so the device can work offline, and releasing the seat ends the borrow. Both settings are in Seat allocation.

You can free a seat that a device cannot release itself, deactivate a license so it can move to another machine, or block a device on an entitlement. Deactivating or blocking ends the license, and the device learns of it the next time it renews its lease.

Freeing a seat makes it available to another device at once. When the license has a lease, a copy of your application that is still running on the freed device keeps working until its lease ends, because that copy learns of the change only when it renews the lease. A borrowed seat’s lease runs until the borrow ends. To renew, the copy then needs a free seat like any other device. So for up to one lease period, the freed device and a new one can both run on that seat. A license without a lease doesn’t renew, so freeing its seat doesn’t stop a copy that is already running.

The steps are in Free, deactivate or block a license.

By default any device may redeem a code, and the first one to do so takes the seat. Two settings on the code narrow that.

A required fingerprint binds the code to one machine before it is ever used. Put the device’s fingerprint on the code and only that device can redeem it. Another machine presenting the same code is refused with “This activation code is locked to a different device.” This suits a code generated for a named machine, such as a server you are provisioning for a customer, where the code traveling to the wrong host should fail rather than quietly consume the seat.

Requiring that a fingerprint is supplied is the weaker form: any device may redeem the code, but it has to identify itself. A request that carries no fingerprint is refused with “A device fingerprint is required to activate this license.” Without it, an activation with an empty fingerprint would be indistinguishable from every other empty one, so Oclavex could not tell those installs apart when reusing the seat.

The two combine. A code can require a fingerprint, and separately require that it equals a particular one.

In the portal, open an entitlement and go to the Access tab. Under Activation codes, select a code to edit its Fingerprint. The codes list starts with the Required fingerprint column hidden. To see which codes are locked to one device and which any device can redeem, turn that column on under Filters and columns above the list.

  • Online — the device activates and checks in over the network.
  • Hybrid — it activates when connected, then runs on its lease in between. Borrowing its seat lets it stay offline longer.
  • Air-gapped — for devices with no connectivity, the device writes a request file (unsigned, except that a device fingerprinted by a hardware key signs it; it is not secret either — it carries hashes, not raw device traits), you return a signed response (in the portal or via the API) if the entitlement has Allow offline activation on, and the device imports it; it then verifies the license by itself, with no network. Usage gathered offline is brought back the same way, answered with a signed receipt.
  • Activated from → an entitlement (its features and plan are snapshotted into the session).
  • Reports to → metering: usage is recorded against the session and checked against the plan’s tiers.