// WithPipedTokenAuthUnaryInterceptor sets an interceptor for validating piped key.
WithPipedTokenAuthUnaryInterceptor sets an interceptor for validating piped key.
// WithPipedTokenAuthUnaryInterceptor sets an interceptor for validating piped key .
func WithPipedTokenAuthUnaryInterceptor(verifier rpcauth.PipedTokenVerifier, logger *zap.Logger) Option {
	return func(s *Server) {
		s.pipedKeyAuthUnaryInterceptor = rpcauth.PipedTokenUnaryServerInterceptor(verifier, logger)
	}
}
func WithPipedTokenAuthUnaryInterceptor ( verifier rpcauth . PipedTokenVerifier , logger * zap . Logger ) Option { return func ( s * Server ) { s . pipedKeyAuthUnaryInterceptor = rpcauth . PipedTokenUnaryServerInterceptor ( verifier , logger ) } }
WithPipedTokenAuthUnaryInterceptor sets an interceptor for validating piped key.
WithPipedTokenAuthUnaryInterceptor sets an interceptor for validating piped key .