summaryrefslogtreecommitdiff
path: root/src/authorization/spice/authorizer.rs
blob: 9c9e13b13ac94612ced7c4d7ba07f5c0fbde87e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#[derive(Debug)]
pub struct Authorizer {}

impl Authorizer {
    pub fn new() -> Self {
        Self {}
    }
}

impl Default for Authorizer {
    fn default() -> Self {
        Self {}
    }
}

impl crate::authorization::authorizer::Authorizer for Authorizer {
    fn authorize(&self, _request: envoy_types::pb::envoy::service::auth::v3::CheckRequest) -> bool {
        false
    }
}