UNPKG

@accounts/two-factor

Version:

[![npm](https://img.shields.io/npm/v/@accounts/two-factor.svg)](https://www.npmjs.com/package/@accounts/two-factor) ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)

18 lines (16 loc) 328 B
import { type ErrorMessages } from './error-messages'; export interface AccountsTwoFactorOptions { /** * Two factor app name */ appName?: string; /** * Two factor secret length, default to 20 */ secretLength?: number; window?: number; /** * Two factor module errors */ errors?: ErrorMessages; }