diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-05 12:49:18 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-05 12:49:18 -0600 |
| commit | 2a56b8fa13aef71493959ca9e50b48d806082f33 (patch) | |
| tree | f58067b9e95e8fc621cea4e8073879d74671f36a /src/authorization/authorizer.rs | |
| parent | c23770fe752b7cdd92de4af5dd5b65f57da80709 (diff) | |
refactor: pass the PaC autorizer to the server to allow trying different ones
Diffstat (limited to 'src/authorization/authorizer.rs')
| -rw-r--r-- | src/authorization/authorizer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authorization/authorizer.rs b/src/authorization/authorizer.rs index 14a7df27..62733585 100644 --- a/src/authorization/authorizer.rs +++ b/src/authorization/authorizer.rs @@ -1,5 +1,5 @@ use envoy_types::ext_authz::v3::pb::CheckRequest; -pub trait Authorizer: std::fmt::Debug { +pub trait Authorizer: std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static { fn authorize(&self, request: CheckRequest) -> bool; } |
