public class JwtServerInterceptor extends Object implements io.grpc.ServerInterceptor
| Constructor and Description |
|---|
JwtServerInterceptor(JwtAlgorithm algorithm,
String secret,
String issuer,
String subject) |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata metadata,
io.grpc.ServerCallHandler<ReqT,RespT> serverCallHandler) |
static com.auth0.jwt.JWTVerifier |
prepareJwtVerifier(JwtAlgorithm algorithmName,
String secret,
String issuer,
String subject) |
public JwtServerInterceptor(JwtAlgorithm algorithm, String secret, String issuer, String subject)
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata metadata,
io.grpc.ServerCallHandler<ReqT,RespT> serverCallHandler)
interceptCall in interface io.grpc.ServerInterceptorpublic static com.auth0.jwt.JWTVerifier prepareJwtVerifier(JwtAlgorithm algorithmName, String secret, String issuer, String subject)
Apache Camel