// WithAPIKeyAuthUnaryInterceptor sets an interceptor for validating API key.
WithAPIKeyAuthUnaryInterceptor sets an interceptor for validating API key.
// WithAPIKeyAuthUnaryInterceptor sets an interceptor for validating API key .
func WithAPIKeyAuthUnaryInterceptor(verifier rpcauth.APIKeyVerifier, logger *zap.Logger) Option {
	return func(s *Server) {
		s.apiKeyAuthUnaryInterceptor = rpcauth.APIKeyUnaryServerInterceptor(verifier, logger)
	}
}
func WithAPIKeyAuthUnaryInterceptor ( verifier rpcauth . APIKeyVerifier , logger * zap . Logger ) Option { return func ( s * Server ) { s . apiKeyAuthUnaryInterceptor = rpcauth . APIKeyUnaryServerInterceptor ( verifier , logger ) } }
WithAPIKeyAuthUnaryInterceptor sets an interceptor for validating API key.
WithAPIKeyAuthUnaryInterceptor sets an interceptor for validating API key .