Page Contents
Home > @loopback/authorization > AuthorizationInterceptor > intercept
AuthorizationInterceptor.intercept() method
Signature:
intercept(invocationCtx: InvocationContext, next: Next): Promise<NonVoid>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| invocationCtx | [InvocationContext](/doc/en/lb4/apidocs.context.invocationcontext.html) | |
| next | [Next](/doc/en/lb4/apidocs.context.next.html) |
Returns:
Promise<NonVoid>