pub type AuthorizeSpiffeId = Arc<dyn Fn(&str) -> bool + Send + Sync + 'static>;Expand description
Authorization hook for peer SPIFFE IDs.
The callback is invoked with the peer SPIFFE ID string extracted from the leaf certificate
(URI SAN), e.g. spiffe://example.org/myservice.
Aliased Typeยง
pub struct AuthorizeSpiffeId { /* private fields */ }