UNPKG

@experium/nest-bruteforce-guard

Version:
9 lines (8 loc) 461 B
import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common'; import { Observable } from 'rxjs'; import { BruteforceGuardService } from './bruteforce-guard.service'; export declare class BruteforceGuardInterceptor implements NestInterceptor { private readonly bruteforceGuardService; constructor(bruteforceGuardService: BruteforceGuardService); intercept(context: ExecutionContext, next: CallHandler): Promise<Observable<any>>; }