Skip to main content

Module principal

Module principal 

Source
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§

HandleAsReference
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§

EndpointOperator
Who operates the endpoint, as the host classifies it.
PrincipalConfigError
Why a principal configuration is refused at construction.
PrincipalPosture
The principal wire posture of a client.
PrincipalWire
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§

PrincipalSource
Supplies the opaque principal reference of one attempt.