Merge branch 'master' of github.com:Daplie/node-authenticator

This commit is contained in:
AJ ONeal 2015-10-07 13:57:17 -07:00
commit 285297f8ff
1 changed files with 3 additions and 3 deletions

View File

@ -44,15 +44,15 @@ authenticator.verifyToken(formattedKey, '000 000');
### API ### API
### `generateKey()` ### generateKey()
generates a 32-character (160-bit) base32 key generates a 32-character (160-bit) base32 key
### `generateToken(formattedKey)` ### generateToken(formattedKey)
generates a 6-digit (20-bit) decimal time-based token generates a 6-digit (20-bit) decimal time-based token
### `verifyToken(formattedKey, formattedToken)` ### verifyToken(formattedKey, formattedToken)
validates a time-based token within a +/- 30 second (90 seconds) window validates a time-based token within a +/- 30 second (90 seconds) window