Back to articles

Tag archive

#entitlements

U
Nov 14, 2026

Upgrade a License in Place: Trial to Paid and Tier Changes Without Reissuing the Key

When a customer converts a trial to paid or moves from Standard to Pro, the key string they already activated should not change. Here is how to upgrade a license server-side in Keyright — lifting the trial flag, extending expiry, adding entitlements — so the deployed SDK app picks up the new grant on its next ValidateAsync with zero re-activation friction, plus how to tune revalidation timing, keep the upgrade call idempotent, and audit every entitlement change.

Nov 14, 20267 min read0 reactions0 comments
A
Oct 12, 2026

A license is a capability token: Keyright entitlements as ASP.NET Core authorization policies

Most apps check a license once at startup and scatter IsEnabled calls through the code. In an ASP.NET Core service that is a mistake — you already have an authorization pipeline built to answer "is this caller allowed to do this?", and a licensed entitlement is exactly that question. Here is how to project Keyright entitlements onto the authorization system: a requirement that names an entitlement, a handler that reads the validated license, a policy provider that conjures policies on demand, and [Authorize(Policy = "ent:export")] on the endpoints that need it — all fail-closed, all offline.

Oct 12, 20266 min read0 reactions0 comments
O
Oct 12, 2026

One license, many clocks: per-entitlement expiry with Keyright

A license usually has a single expiry date, but real contracts rarely do: a base plan renews annually while a trial add-on runs 30 days and a promotional feature ends with the quarter. Baking one date into the whole license forces you to either over-grant or reissue constantly. Here is how to give each entitlement its own expiry in a single signed Keyright license — the payload shape, the SDK that reads a per-feature clock offline, how to enforce it at the capability boundary, and the grace rules that keep a lapsed add-on from nuking the whole app.

Oct 12, 20267 min read0 reactions0 comments