specs/sync/event/v0_2/payload library

Classes

AclChangedEvent
AclChangedEvent
AttachmentRef
AttachmentRef
Payload
One-way push notification from the maintainer to a subscribing consumer. Carries a single SyncEvent (vault.upserted, vault.deleted, acl.changed, policy.changed). The consumer updates its cache and does NOT respond — there is no #response form. For offline catch-up the consumer uses vault/sync/0.1 to pull missed events.
PolicyChangedEvent
PolicyChangedEvent
VaultDeletedEvent
VaultDeletedEvent
VaultEntry
VaultEntry
VaultUpsertedEvent
VaultUpsertedEvent

Extension Types

AclChangedEventChange
AclChangedEventChange is a closed set of string values defined by this specification's schema.
PolicyChangedEventChange
PolicyChangedEventChange is a closed set of string values defined by this specification's schema.
SecretKind
Discriminator for the secret type stored in the entry. Definitions: - password — username + password (+ optional TOTP seed). - passkey — WebAuthn discoverable credential (private key + rpId + userHandle). - oauthTokens — OAuth 2.0 refresh + access token bundle for a specific provider. - didSelfIssued — Self-Issued OpenID Provider v2 (SIOP) credential: the entry points at a DID + signing key already managed by the VTA. - didcommPeer — DIDComm peer identity used to authenticate against a DIDComm-speaking relying party. - bearerToken — opaque bearer token carried in a maintainer-named header (covers API tokens, long-lived JWTs, personal-access tokens). - sshKey — SSH private key + comment. - custom — arbitrary structured fields; release-time consumer responsible for interpretation.

Constants

payloadSchemaJson → const String
This specification's payload schema, as JSON text.
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.
SiteTarget = Object?
A single binding target for a vault entry. Tagged union over the discriminator kind. A VaultEntry's targets array MAY mix any number of these.
SyncEvent = Object?
SyncEvent, defined by this specification's schema.