summaryrefslogtreecommitdiff
path: root/doc/pl/includes/autogen_user_commands.pl.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-06-25 10:44:35 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-06-25 11:15:22 +0200
commit0fb88527ce38e8b791a48802e160225aa38743cd (patch)
tree35597e6ce0745fb98616bbb3200cc35decfe8af3 /doc/pl/includes/autogen_user_commands.pl.adoc
parent7a0020f067922a8616e5ac313bbc59f07683e4a8 (diff)
downloadweechat-0fb88527ce38e8b791a48802e160225aa38743cd.zip
irc: implement IRCv3.2 SASL authentication, add command /auth (closes #413)
Diffstat (limited to 'doc/pl/includes/autogen_user_commands.pl.adoc')
-rw-r--r--doc/pl/includes/autogen_user_commands.pl.adoc20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc
index 7bc624491..741255379 100644
--- a/doc/pl/includes/autogen_user_commands.pl.adoc
+++ b/doc/pl/includes/autogen_user_commands.pl.adoc
@@ -100,6 +100,26 @@ Przykłady:
/allserv /whois $nick
----
+[[command_irc_auth]]
+* `+auth+`: authenticate with SASL
+
+----
+/auth [<username> <password>]
+
+username: SASL username (content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)
+password: SASL password or path to file with private key (content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)
+
+If username and password are not provided, the values from server options "sasl_username" and "sasl_password" (or "sasl_key") are used.
+
+Examples:
+ authenticate with username/password defined in the server:
+ /auth
+ authenticate as a different user:
+ /auth user2 password2
+ authenticate as a different user with mechanism ecdsa-nist256p-challenge:
+ /auth user2 ${weechat_config_dir}/ecdsa2.pem
+----
+
[[command_irc_ban]]
* `+ban+`: banuje nick albo host