---
lang: en
title: 'API docs: express.middlewareinterceptorbindingoptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/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

<b>Signature:</b>

```typescript
export interface MiddlewareInterceptorBindingOptions extends BaseMiddlewareBindingOptions<InvocationContext> 
```
<b>Extends:</b> [BaseMiddlewareBindingOptions](./express.basemiddlewarebindingoptions.md)<!-- -->&lt;[InvocationContext](./context.invocationcontext.md)<!-- -->&gt;

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [global](./express.middlewareinterceptorbindingoptions.global.md) | boolean | A flag to control if the interceptor should be global. Default to <code>true</code>. |


