Expand description
Subject decisions delegated to the shared pass consumer.
Product resource bindings come from admitted placements, never from splitting subject spelling. The consumer owns verification and placement reach.
Re-exports§
pub use live::drafts;
Modules§
- live
- The live Lys question over HTTP (ACCESS-002 R1, ACCESS-003 R1).
- lys_
pass_ adapter - The one real
LysPassConsumer:lys-passverifying a pass offline and deciding hot actions from its rights (ACCESS-001 R2, Lys ACCESS-003). - prepared
- Prepared calls borrow the bearer inside its admitted authentication owner.
- root_
presence - SRV-038: whether the network has a root in its Lys, asked when the grants are complete and said out loud.
- root_
presence_ start - SRV-039: the root question on a server that has Lys and no grant stream.
- routes
- Exhaustive route classifications for the existing wire surfaces.
- session
- The admitted Lys pass as a connection holds it.
Structs§
- Access
Decision Error - A typed refusal whose wire representation is the shared envelope.
- Access
Refusal - Shared refusal envelope; no credential or payload bytes. Its JSON is
byte-identical to lys-pass’s
Refusalfor the same target. - Access
Resource - Exact authority resource, independent of the subject’s display spelling.
- Admitted
LysPass - A pass admitted only through the configured offline consumer.
- Deliberate
Action - A deliberate action presented to the hot seam.
- Grant
Receipt - Grant to receipt in the product’s operation log.
- Needed
Grant - The grant a refusal says is needed: Lys’s
neededmember, exactly. - Required
Grant - The four shared refusal fields, in the bytes Lys’s
Refusedhas. - Subject
Binding - Explicit product mapping supplied from admitted resource placements.
- Subject
Binding Error - An absent or pattern-based subject mapping.
Enums§
- Access
Action - Actions shared by the subject, link and service consumers.
- Access
Route Class - Single-valued permission class declared by a data route.
- Decision
Class - Permission classification fixed by the product schema.
- Deliberate
Decision - A live decision; held acts have no permission to execute yet.
- Grant
Mode - Grant mode selected by the authority, never a service-side default.
- HotAction
- The only actions accepted by the per-message offline seam.
- Refusal
Cause - Typed cause retained beside the common wire envelope.
- Resource
Kind - Resource kinds registered by the product schema.
Constants§
- LIMINAL_
PASS_ AUDIENCE - Audience used for offline admission.
- LYS_APP
- The Lys app liminal registers its schema as.
Traits§
- LysDeliberate
Consumer - Live-only decision seam shared with deliberately classified services.
- LysPass
Consumer - Shared-library integration seam, implemented by the pinned pass adapter.
- LysPolicy
Source - Read-only policy source; budget and stop policy remains authority-owned.
Functions§
- admit_
lys_ pass - Admits a second credential without changing the existing signed pass bytes.
- decide_
deliberate - Makes a live decision for a route explicitly classified deliberate.
- decide_
message - Makes exactly one fresh offline decision for this message.
- verified_
lys_ holder - Borrows the native holder established by this same offline verification.