public class AuthServerInterceptor extends Object implements io.grpc.ServerInterceptor
| Modifier and Type | Field and Description |
|---|---|
static io.grpc.Metadata.Key<String> |
TOKEN |
static io.grpc.Context.Key<String> |
TOKEN_CTX_KEY |
static io.grpc.Context.Key<String> |
USER_CTX_KEY |
| Constructor and Description |
|---|
AuthServerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> serverCall,
io.grpc.Metadata metadata,
io.grpc.ServerCallHandler<ReqT,RespT> serverCallHandler) |
Copyright © 2021. All rights reserved.