upd: finish url_gen function

This commit is contained in:
lancegin
2017-07-10 12:18:10 +08:00
parent cf1ee2b8f0
commit 62c23f4208
5 changed files with 54 additions and 0 deletions
+13
View File
@@ -56,4 +56,17 @@ export class HOTP extends OTP {
return false;
}
}
/*
* Generate a url with HOTP instance.
*
* @param {issuer}
* @type {String}
* @desc maybe it is the Service name
*
* @return {String}
*/
url_gen(issuer="") {
return super.url_gen(issuer, "hotp");
}
}