Package io.deephaven.dhservice.grpc
Class UnifiedServiceImpl.AuthTokenInterceptor
java.lang.Object
io.deephaven.dhservice.grpc.UnifiedServiceImpl.AuthTokenInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor
- Enclosing class:
- UnifiedServiceImpl
public class UnifiedServiceImpl.AuthTokenInterceptor
extends Object
implements io.grpc.ServerInterceptor
Scrape authentication information from the header and insert it into the
call context, so we can evaluate it at the call site.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next)
-
Constructor Details
-
AuthTokenInterceptor
public AuthTokenInterceptor()
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next) - Specified by:
interceptCallin interfaceio.grpc.ServerInterceptor
-