diff options
Diffstat (limited to 'doc/en/autogen/plugin_api/infos.adoc')
-rw-r--r-- | doc/en/autogen/plugin_api/infos.adoc | 4 |
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 | - |