From c6dbf0450566c40efc4a26f4f0717452b6ef95cd Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 10 Aug 2022 10:38:44 +0200 Subject: Initial commit --- node_modules/node-2fa/dist/index.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 node_modules/node-2fa/dist/index.d.ts (limited to 'node_modules/node-2fa/dist/index.d.ts') diff --git a/node_modules/node-2fa/dist/index.d.ts b/node_modules/node-2fa/dist/index.d.ts new file mode 100644 index 0000000..c0db623 --- /dev/null +++ b/node_modules/node-2fa/dist/index.d.ts @@ -0,0 +1,11 @@ +import notp from "notp"; +import { Options } from "./interfaces"; +export declare function generateSecret(options?: Options): { + secret: string; + uri: string; + qr: string; +}; +export declare function generateToken(secret: string): { + token: string; +} | null; +export declare function verifyToken(secret: string, token?: string, window?: number): notp.VerifyResult | null; -- cgit