UNPKG

@vs-org/authenticator

Version:

VS authenticator package can generate TOTP (RFC6238) for 2FA, and also provide secret and recovery codes for 2FA setup

12 lines (11 loc) 572 B
import { Connections } from "../types/VSAuthenticatorTypes"; declare class FileSystemUtils { static resolveApp: (relativePath: string) => string; static exist: (dirPath: string) => boolean; static createJsonFileWithContentSync: (filePath: string, fileData: Connections) => void; static readJsonFileSync: (filePath: string) => Connections; static writeJsonFileSync: (filePath: string, data: Connections) => void; static deleteFileSync: (fileName: string) => void; static makeDirSync: (dirName: string) => void; } export default FileSystemUtils;