TemplateBootstrapAsk class

Mint an integration DID from template, and (when adminTemplate is present) atomically roll over the holder to a fresh long-term admin DID minted from adminTemplate.

Constructors

TemplateBootstrapAsk({required Object? type, String? contextHint, required DidTemplateRef template, DidTemplateRef? adminTemplate, String? note})
const
TemplateBootstrapAsk.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

adminTemplate → DidTemplateRef?
Optional admin-DID template. When present, the maintainer mints a fresh long-term admin DID + keys, binds the authorization VC + ACL row to it, and rolls the holder over from the ephemeral did:key in the same transaction. When absent, the authorization VC's subject and ACL row are bound to the ephemeral holder, which the operator is expected to swap via acl/swap-key/0.1 before steady-state operation. MUST declare kind == "admin" when present.
final
contextHint → String?
Hint for the integration's target context. The wire payload.context is authoritative; this hint exists for documentation / cross-check only.
final
hashCode → int
The hash code for this object.
no setterinherited
note → String?
Free-form operator note carried into the maintainer's audit log.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
template → DidTemplateRef
Integration template. MUST be registered at the maintainer; MUST declare a kind other than "admin".
final
type → Object?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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