From b4fa527e4c372c3ef36a2560c488e70c05912954 Mon Sep 17 00:00:00 2001 From: lancegin Date: Thu, 29 Jun 2017 08:04:57 +0800 Subject: [PATCH] upd: comments --- src/totp.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/totp.js b/src/totp.js index 085630a..259401d 100644 --- a/src/totp.js +++ b/src/totp.js @@ -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.