Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 365 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 365 Bytes

2fa-auth-example

example project!. show case how to use speakeasy to create 2fa authentication

install

clone project

$ cd 2fa-auth-example
$ yarn install
$yarn start

rounter example

  • GET (/totp) for example implement Time-Based One-time Password (TOTP) algorithm
  • GET (/hotp) for example implement HMAC-Based One-Time Password (HOTP) algorithm