Skip to main content

event_ingress_authorizer

Function event_ingress_authorizer 

Source
pub fn event_ingress_authorizer(
    roster: Arc<dyn DeploymentRosterSource>,
    publishers: Arc<BTreeSet<String>>,
) -> SharedIngressAuthorizer
Expand description

The Event ingress grant: the already-admitted peer’s verified DID resolves (through the same live accepted-state roster admission used) to a deployment service NAME, which must be a member of the operator’s name-keyed quic.event_publishers set (#1652). Names survive identity churn, so the grant never goes stale when a service’s DID changes; an empty set denies every peer — read-only, never all-publishers.