---
lang: en
title: 'API docs: express.middlewareinterceptorbindingoptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/express
permalink: /doc/en/lb4/apidocs.express.middlewareinterceptorbindingoptions.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/express](./express.md) &gt; [MiddlewareInterceptorBindingOptions](./express.middlewareinterceptorbindingoptions.md)

## MiddlewareInterceptorBindingOptions interface

Options to bind a middleware as an interceptor to the context

**Signature:**

```typescript
export interface MiddlewareInterceptorBindingOptions extends BaseMiddlewareBindingOptions<InvocationContext> 
```
**Extends:** [BaseMiddlewareBindingOptions](./express.basemiddlewarebindingoptions.md)<!-- -->&lt;[InvocationContext](./context.invocationcontext.md)<!-- -->&gt;

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [global?](./express.middlewareinterceptorbindingoptions.global.md) |  | boolean | _(Optional)_ A flag to control if the interceptor should be global. Default to <code>true</code>. |


