summaryrefslogtreecommitdiff
path: root/doc/en/autogen/plugin_api/infos.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-11-04 14:43:59 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-11-04 14:50:53 +0100
commitcb73c168b544cc32439f59abaadd39945fe4701a (patch)
treeaf21378498cdf55b0a2e75be42f493e7e95efc9e /doc/en/autogen/plugin_api/infos.adoc
parentdc7d99fa738417b5508845745067862e18a7c963 (diff)
downloadweechat-cb73c168b544cc32439f59abaadd39945fe4701a.zip
core: update translations
Diffstat (limited to 'doc/en/autogen/plugin_api/infos.adoc')
-rw-r--r--doc/en/autogen/plugin_api/infos.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/en/autogen/plugin_api/infos.adoc b/doc/en/autogen/plugin_api/infos.adoc
index 7c57786f8..07180b39b 100644
--- a/doc/en/autogen/plugin_api/infos.adoc
+++ b/doc/en/autogen/plugin_api/infos.adoc
@@ -112,6 +112,10 @@
| weechat | term_width | width of terminal | -
+| weechat | totp_generate | generate a Time-based One-Time Password (TOTP) | secret (in base32), timestamp (optional, current time by default), number of digits (optional, between 4 and 10, 6 by default)
+
+| weechat | totp_validate | validate a Time-based One-Time Password (TOTP): 1 if TOTP is correct, otherwise 0 | secret (in base32), one-time password, timestamp (optional, current time by default), number of passwords before/after to test (optional, 0 by default)
+
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
| weechat | version | WeeChat version | -