diff options
Diffstat (limited to 'doc/sr/includes/autogen_user_commands.sr.adoc')
-rw-r--r-- | doc/sr/includes/autogen_user_commands.sr.adoc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/sr/includes/autogen_user_commands.sr.adoc b/doc/sr/includes/autogen_user_commands.sr.adoc index a4458e7de..2c865a23b 100644 --- a/doc/sr/includes/autogen_user_commands.sr.adoc +++ b/doc/sr/includes/autogen_user_commands.sr.adoc @@ -100,6 +100,26 @@ /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+`: забрана надимака или хостова |