Expand description
Verified authority types. Trusted constructors stay crate-private.
Structs§
- Authorised
Contact - Current authorised contact. Inactive states cannot release content.
- Authority
Binding - SHA-384 bindings for principal, recipient, instrument, scope and purpose.
- Authority
Owner - Single owner of verified grants, contacts and permits for this process.
- Cached
Grant - Cached view of a grant.
cached_atis observational; it never extends expiry. - Current
Authority Guard - Host-owned synchronous authority scope. Do not await, reenter this mutex, drop its controllers, or call unbounded/blocking peer I/O while held. This guard establishes owner affinity, not consent or remote admission.
- Decoded
Claim - Wire or caller-asserted claim. Not a credential and not a permit.
- Execution
Permit - Compiled permit. Fields are private; only
super::AuthorityOwnerissues it. - Independent
Facts - Independent facts that must not collapse into a trusted-peer boolean.
- Installed
Session Keys - Confirmed directional traffic secrets. Not Copy; zeroized on drop.
- Mutation
Handle - Handle for an asynchronous mutation. Validated against owner-held records.
- Temporal
Grant - Purpose-scoped grant. Cache hits never renew permission.
- Verified
Credential - Credential whose digest bindings were checked by
super::AuthorityOwner.
Enums§
- Compensation
Class - Contributor / principal class for finite compensation.
- Contact
State - Protected-person contact state. Payment cannot bypass these.
- Observation
Quality - Observation quality. Unknown is not free or safe.
- Plane
- Identifier fabric planes. A verified route is not a NaturalAgent.
- Policy
Outcome - QPolicy decision. Only
Allowwith a current grant handle admits service traffic. - Resource
Kind - Independent resource kinds. Energy, time and typed compute never mix.
Functions§
- admit_
service - Maps a policy outcome onto session admission.
- bind_
authority_ digests - Binds authority digests.
- binding_
for_ controllers - Helper used by native pairing: hash two controller byte strings into a binding.
- bootstrap_
admit - Bootstrap/control allowance is independent of payment. Paid cannot admit alone.
- collapse_
to_ trusted_ peer - Independent facts must not collapse into a trusted-peer boolean.
- evaluate_
precedence - Blocked/Revoked beat Allow. An expired historical grant cannot authorize now.
- grant_
matches_ contact truewhen the grant matches the contact.