mirror of
https://github.com/LanceGin/jsotp.git
synced 2024-10-06 06:22:08 +08:00
upd: comments
This commit is contained in:
parent
990bea095c
commit
b4fa527e4c
@ -7,6 +7,10 @@ import OTP from './otp';
|
||||
|
||||
class TOTP extends OTP {
|
||||
/**
|
||||
* @param {secret}
|
||||
* @type {String}
|
||||
* @desc random base32-encoded key to generate OTP.
|
||||
*
|
||||
* @param {interval}
|
||||
* @type {int}
|
||||
* @desc the time interval in seconds for OTP.
|
||||
|
Loading…
Reference in New Issue
Block a user