@experium/nest-bruteforce-guard
Version:
Authorization protection from bruteforce
9 lines (8 loc) • 461 B
TypeScript
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>>;
}