UNPKG

@nestjs-mod/two-factor

Version:

Two factor module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

11 lines (10 loc) 399 B
import { TwoFactorCodeDto } from './generated/rest-dto/two-factor-code.dto'; import { TwoFactorUserDto } from './generated/rest-dto/two-factor-user.dto'; type GetTimeoutValueOptions = { twoFactorCode?: TwoFactorCodeDto; twoFactorUser: TwoFactorUserDto; }; export declare class TwoFactorConfiguration { getTimeoutValue?: (options: GetTimeoutValueOptions) => Promise<number>; } export {};