diff options
author | rtkay123 <dev@kanjala.com> | 2025-07-26 18:42:32 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-07-26 18:42:32 +0200 |
commit | 236876f1d0539ac22a3977fd8599933725ad0f90 (patch) | |
tree | 5c216d71ac065621348ce05e7c6c7f7ce81c85d3 /crates/auth/src/server/grpc/interceptor.rs | |
parent | cf77963db4f2b55048d725bd6250a490b0b82d64 (diff) | |
download | sellershut-236876f1d0539ac22a3977fd8599933725ad0f90.tar.bz2 sellershut-236876f1d0539ac22a3977fd8599933725ad0f90.zip |
feat(auth): create user
Diffstat (limited to 'crates/auth/src/server/grpc/interceptor.rs')
-rw-r--r-- | crates/auth/src/server/grpc/interceptor.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/auth/src/server/grpc/interceptor.rs b/crates/auth/src/server/grpc/interceptor.rs index 6fbe7fa..155a306 100644 --- a/crates/auth/src/server/grpc/interceptor.rs +++ b/crates/auth/src/server/grpc/interceptor.rs @@ -1,6 +1,12 @@ -use tonic::{Status, service::Interceptor}; +use tonic::{ + Status, + service::{Interceptor, interceptor::InterceptedService}, + transport::Channel, +}; use tracing::Span; +pub type Intercepted = InterceptedService<Channel, MyInterceptor>; + #[derive(Clone, Copy)] pub struct MyInterceptor; |