@berlinsms/twofa-verify
v1.0.3
Published
A js-library to verify a twofa-optin-challenge on serverside
Downloads
1
Keywords
Readme
@berlinsms/twofa-verify
A js-library to verify a twofa-optin-challenge on serverside
install
npm install @berlinsms/twofa-verify
usage
import { TwofaOptin } from '@berlinsms/twofa-verify';
const twofaOptin = new TwofaOptin( <twofaSecretkey> );
const twofaChallenge = await twofaOptin.getTwofaChallenge( <challengeToken> );