mirror of
https://github.com/LanceGin/jsotp.git
synced 2026-05-05 00:00:03 +08:00
upd: comments
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user