Class DaprApiTokenInterceptor

java.lang.Object
io.dapr.internal.grpc.interceptors.DaprApiTokenInterceptor
All Implemented Interfaces:
io.grpc.ClientInterceptor

public class DaprApiTokenInterceptor extends Object implements io.grpc.ClientInterceptor
Class to be used as part of your service's client stub interceptor to include Dapr tokens.
  • Constructor Details

    • DaprApiTokenInterceptor

      public DaprApiTokenInterceptor()
  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor, io.grpc.CallOptions options, io.grpc.Channel channel)
      Specified by:
      interceptCall in interface io.grpc.ClientInterceptor