pub trait IngressAuthorizer: Send + Sync {
// Required method
fn authorize_ingress(&self, peer: &PeerIdentity, tenant: &str) -> bool;
}Expand description
Trusted decision for granting an admitted peer ingress into a tenant’s shared origin. Admission proves the peer identity and tenant only; it does not imply that the peer may publish. The default is therefore deny.
Required Methods§
Whether this already-admitted peer may publish to the supplied tenant.