blob: 8252618d30c8a311e4193cef26182a00112bbe88 (
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::ext_authz::v3::pb::CheckRequest) -> bool {
true
}
}
|