LicensingIssueRequest class

Constructors

LicensingIssueRequest({String? fingerprint, String? holder, required String product, String? release, LicensingDeviceSignals? signals, int? ttlSeconds})
Returns a new LicensingIssueRequest instance.

Properties

fingerprint ↔ String?
Fingerprint is a previously-registered device binding value, as returned by POST /v1/licensing/fingerprint. Leave it empty and pass Signals to bind the device at issue time instead.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
holder ↔ String?
Holder overrides who the token is issued to; defaults to the caller's own validated subject. It NAMES the token's bearer and grants nothing on its own — the entitlement checked is always the caller's org's.
getter/setter pair
product ↔ String
Product is the licensed commerce product the caller wants a token for.
getter/setter pair
release ↔ String?
Release scopes the token to one signed binary release, recorded as a "release:
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signals ↔ LicensingDeviceSignals?
Signals binds the device at issue time, as an alternative to a pre-registered fingerprint. The raw signals are never stored or echoed — they are folded immediately into the one-way binding value.
getter/setter pair
ttlSeconds ↔ int?
TTLSeconds requests a token lifetime in seconds. It is clamped to the deployment maximum AND to the entitlement's own expiry — a token never outlives the subscription that paid for it.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → LicensingIssueRequest?
Returns a new LicensingIssueRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<LicensingIssueRequest>
mapFromJson(dynamic json) → Map<String, LicensingIssueRequest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<LicensingIssueRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.