guyht / notp

Node One Time Password library, supports HOTP, TOTP and works with Google Authenticator
https://github.com/guyht/notp
MIT License
685 stars 66 forks source link

example in doc is older #46

Closed islishude closed 6 years ago

islishude commented 6 years ago
const result = notp.totp.verify(token, key)

Here result is a object any way,But token is valid would return { delta: 0 }

image