PolicyInputRequest class
PolicyInputRequest, generated from its schema.
Constructors
- PolicyInputRequest({required String typeUri, String? kind, String? subject, DigestMultibase? payloadDigest, required PolicyInputRequestSideEffects sideEffects, required PolicyInputRequestExposure exposure})
-
const
-
PolicyInputRequest.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- exposure → PolicyInputRequestExposure
-
Authoritative exposure class (SPEC §7.3 item 14), likewise derived from the
compiled handler.
disclosesis the sensitivity of returned data;actsAsSubjectis whether the subject's authority is exercised.final - hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String?
-
Optional coarse category retained from 0.2 (
proxyLogin|release|stepUpResponse| …) for policies that switch on it.typeUriis authoritative in 0.3.final - payloadDigest → String?
-
Multibase-encoded multihash over the RFC 8785 (JCS) canonicalization of the
payload, salted with the request challenge, present when a delegated-execution
consent flow must bind approval to this exact payload. Absent when no consent
binding is in play.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sideEffects → PolicyInputRequestSideEffects
-
Authoritative integrity class (SPEC §7.3 item 13). The evaluator MUST derive this
from the compiled handler it is about to invoke, not from the wire — the registry's
declared value is advisory only.
final
- subject → String?
-
The identifier the task acts on — the value at the spec's
subjectPath(usually a DID). The evaluator checks the consumer's authority to act on this subject. Absent for subjectless tasks (discovery, list).final - typeUri → String
-
Type URI of the task being authorized — the evaluator's primary discriminator (e.g.
https://trusttasks.org/spec/did-management/did/delete/0.1).
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