UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks

10 lines (9 loc) 397 B
import { ReportingAPI, ReportingAPIResponse } from "./ReportingAPI"; import { Event } from "./Event"; import { Token } from "./Token"; export declare class ReportingAPIThatValidatesToken implements ReportingAPI { private readonly api; private tokenIsInvalid; constructor(api: ReportingAPI); report(token: Token, event: Event, timeoutInMS: number): Promise<ReportingAPIResponse>; }