specs/registry/authorization/v0_2/payload library

Classes

Payload
TRQP v2.0 authorization query: ask a trust registry whether an entity is authorized by an authority for a given action+resource, evaluated as of context.time (or the registry's current time) against the matching record's validity window. Members are lowerCamelCase per the registry naming convention; a registry serving the plain HTTP TRQP binding maps them to TRQP's snake_case field names (entityId ↔ entity_id, evaluatedAt ↔ time_evaluated, and so on) at that binding.
QueryContext
Optional TRQP query context. time requests evaluation as of a given instant; locator is an authority-defined hint for locating records.
Response
Registry Authorization — response payload

Constants

deprecation → const String?
Why this specification version is deprecated, or null when it is current.
extendsVersion → const String?
The MAJOR.MINOR this version declares it extends (SPEC §5.2, "Declared extension"), or null when it declares none.
payloadSchemaJson → const String
This specification's payload schema, as JSON text.
responsePayloadSchemaJson → const String
As payloadSchemaJson, for the success-response variant.
responseSpec → const SpecPolicy
The SPEC §7.2 policy for the success-response variant.
responseTypeUri → const String
The success-response form of typeUri (SPEC §4.4.1).
spec → const SpecPolicy
The SPEC §7.2 policy for the request variant, taken from this specification's front matter.
typeUri → const String
The Trust Task type URI this library's Payload is carried under.

Typedefs

Ext = Map<String, dynamic>
Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.