Expand description
The host-endpoint principal reference (spec 020, 3.6, I-3).
Omitted by default. A host may enable it only for an endpoint it
classifies EndpointOperator::HostOperated, only over
rustev.remote/2, with a mapping version and a declared scope. Per
attempt, the host’s PrincipalSource supplies the opaque reference
(it may derive it from CallContext’s principal handle); Rustev never
interprets, authenticates, authorizes or expands it. The reference is
routing and isolation context only: not a credential, bearer token,
capability, tenant grant, policy fact, input value or action permission,
and not proof that the endpoint enforced isolation. It is sent in the
identified request field and nowhere else; evidence holds only its
domain-separated digest and mapping version.
Structs§
- Handle
AsReference - Sends the principal handle itself as the reference. The handle is
already opaque to Rustev; a host that wants another reference supplies
its own
PrincipalSource.
Enums§
- Endpoint
Operator - Who operates the endpoint, as the host classifies it.
- Principal
Config Error - Why a principal configuration is refused at construction.
- Principal
Posture - The principal wire posture of a client.
- Principal
Wire - The principal posture as the adapter binding holds it: posture, mapping version and scope, never a reference. Changing any of them changes the binding identity; rotating the reference does not.
Traits§
- Principal
Source - Supplies the opaque principal reference of one attempt.