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

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [Interceptor](./context.interceptor.md)

## Interceptor interface

Interceptor function to intercept method invocations

<b>Signature:</b>

```typescript
export interface Interceptor extends GenericInterceptor<InvocationContext> 
```
<b>Extends:</b> [GenericInterceptor](./context.genericinterceptor.md)<!-- -->&lt;[InvocationContext](./context.invocationcontext.md)<!-- -->&gt;


