summaryrefslogtreecommitdiff
path: root/src/authorization/authorizer.rs
blob: 0f700ba76dfb0e5bf1ba7a292b29d41d01ecbad7 (plain)
1
2
3
4
5
use envoy_types::ext_authz::v3::pb::CheckRequest;

pub trait Authorizer {
    fn authorize(&self, request: CheckRequest) -> bool;
}