summaryrefslogtreecommitdiff
path: root/src/authorization/default.rs
blob: 5461ca0d5236de5b11fb4b24661f940b7c13a866 (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::new()
    }
}

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