The pointer record for the asset. Used to locate the latest relevant LicenseRecord.
A list of usecases defining how the asset will be used.
Optional
destinations: string[]A list of destinations defining where the asset will be used, often URLs.
Optional
onPass: (() => void)A closure to execute automatically upon successfully resolving the LicenseRecord against the usecases and destinations.
Optional
onFail: ((reason) => void)A closure to execute automatically upon failure to resolve the LicenseRecord. Accepts an optional error message describing the reason for failure.
Optional
origin: stringAn optional override of the default origin specified in initialize.
Guard against an invalid LicenseRecord for a list of usecases and destinations.
Use this method to verify that a non-expired LicenseRecord for the specified pointer record exists and permits the listed usecases and destinations.
This method can be used in two ways: