upd: comments

This commit is contained in:
lancegin 2017-06-29 08:04:57 +08:00
parent 990bea095c
commit b4fa527e4c

View File

@ -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.