Observed since 20 Oct, 19:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Implementation of two-factor authentication in Node, made simple.
Implementation of two-factor authentication in Node, made simple.
Credit for original implementation on which this has been abstracted from goes to node-2fa - Jeremy Scalpello.
This has been reworked from the ground up to:
There are a number of applications which support 2-Factor Authentication, namely
This module uses notp which implements TOTP (RFC 6238)
(the Authenticator standard), which is based on HOTP (RFC 4226)
to provide codes that are exactly compatible with all other Authenticator apps and services that use them.
npm install 2fa-plus --save
import { generateSecret } from "2fa-plus";
const secret = generateSecret('Name', 'account@demo.com');
// output: { secret, uri, qr }
import { generateToken } from "2fa-plus";
const token = generateToken(secret.secret);
// output: token
import { verifyToken } from "2fa-plus";
const isValid = verifyToken(secret, token);
// output: true/false
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:f388c0c8edbcba9ff640eafc933568b541d2cd04a8340969bdf070e89494d8e1