Documentation

@kanunilabs/licensing


@kanunilabs/licensing / SetLicenseOptions

Interface: SetLicenseOptions

Properties

validateTimeoutMs?

optional validateTimeoutMs?: number

Network timeout for the online check (ms). Default 5000.


validateUrl?

optional validateUrl?: string

A revocation endpoint you host: POST { key } answering { status: 'revoked' | ... }. KanuniLabs does not run one, so leave it unset unless you do. When set, a key that already passed offline verification is additionally checked there; any other answer, an error or a timeout leaves the offline verdict standing. The answer is not signed, so point this only at a server you control, over HTTPS.