1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import {AuthorizeRequestHandler} from "../types";
|
10 | import {HttpContext} from "../context";
|
11 |
|
12 | export declare class RestrictAccess implements AuthorizeRequestHandler {
|
13 | authorizeRequest(context: HttpContext, callback: (err?: Error) => void);
|
14 | isRestricted(context: HttpContext, callback: (err?: Error, res?: boolean) => void)
|
15 | isNotRestricted(context: HttpContext, callback: (err?: Error, res?: boolean) => void)
|
16 | }
|
17 |
|
18 | export declare function createInstance(): RestrictAccess; |
\ | No newline at end of file |