pub trait DelegationEdgeAuthorizer: Send + Sync {
// Required method
fn authorize(&self, edge: &DelegationEdge<'_>) -> bool;
}Expand description
Fail-closed authority deciding whether a derived AsOriginator delegation
edge is a declared/allowed call edge (v16 §8.1). WS-E installs the generated,
reviewed DispatchCallManifest implementation before E-ready / F activation;
an uninstalled authorizer DENIES every edge — the exchange cannot mint.
It proves BOTH that the source credential was valid for the current terminal
actor (source audience ↔ actor binding — NOT the outbound
allowed_audiences ceiling, which is a distinct control) AND that the
requested target is a declared edge. It is never a caller boolean and never
defaults to allow: a generic manage-scoped service credential is not, by
itself, the confused-deputy control.
Required Methods§
true iff this exact edge is an authorized derived call.