类 SaTokenGrpcServerInterceptor
java.lang.Object
cn.dev33.satoken.context.grpc.interceptor.SaTokenGrpcServerInterceptor
- 所有已实现的接口:
io.grpc.ServerInterceptor
@GrpcGlobalServerInterceptor
public class SaTokenGrpcServerInterceptor
extends Object
implements io.grpc.ServerInterceptor
鉴权,设置token
- 从以下版本开始:
- 1.34.0
- 作者:
- lym
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next)
-
构造器详细资料
-
SaTokenGrpcServerInterceptor
public SaTokenGrpcServerInterceptor()
-
-
方法详细资料
-
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) - 指定者:
interceptCall在接口中io.grpc.ServerInterceptor
-