Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@berlinsms/react-twofa-component-mail

alexw_berlinsms36MIT0.1.3TypeScript support: included

A Two Factor Authentication by BerlinSMS written in typescript https://www.berlinsms.de/ . This component is for validating a E-mail adress. It is a react component that can be used in any react project.

react, bsms, twofa, berlinsms, berlinsms twofa, Two Factor Authentication, 2 Factor Authentication, 2FA, Two Factor, typescript, react component, react twofa, react 2fa, react 2 factor authentication, react two factor authentication, react two factor, react 2 factor, react two factor auth, react 2 factor auth

readme

@berlinsms/react-twofa-component is a TypeScript React Component to validate an E-Mail adress using a Two Factor Authentification.

BerlinSMS - still under development!

Install the package using

npm -i @berlinsms/react-twofa-component

Usage

import {TwoFA} from '@berlinsms/react-twofa-component-mail';

// Minimal implementation:
<TwoFA
    bsmsSitekey = {"your sitekey"}
/>

// Complete implementation: 
<TwoFA
    ref={twoFARef}                    
    bsmsSitekey = {"your sitekey"}
    onError = {TwoFAonError}
    onVerify = {TwoFAonVerify}
    onExpire = {TwoFAonExpire}
/>