diff options
Diffstat (limited to 'doc/sr/includes')
-rw-r--r-- | doc/sr/includes/autogen_api_hdata.sr.adoc | 2 | ||||
-rw-r--r-- | doc/sr/includes/autogen_user_commands.sr.adoc | 20 | ||||
-rw-r--r-- | doc/sr/includes/autogen_user_options.sr.adoc | 2 |
3 files changed, 23 insertions, 1 deletions
diff --git a/doc/sr/includes/autogen_api_hdata.sr.adoc b/doc/sr/includes/autogen_api_hdata.sr.adoc index 53c0665a5..1e5a15a43 100644 --- a/doc/sr/includes/autogen_api_hdata.sr.adoc +++ b/doc/sr/includes/autogen_api_hdata.sr.adoc @@ -237,6 +237,8 @@ _sasl_scram_client_first_ (string) + _sasl_scram_salted_pwd_ (other) + _sasl_scram_salted_pwd_size_ (integer) + _sasl_scram_auth_message_ (string) + +_sasl_temp_username_ (string) + +_sasl_temp_password_ (string) + _is_connected_ (integer) + _ssl_connected_ (integer) + _disconnected_ (integer) + 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+`: забрана надимака или хостова diff --git a/doc/sr/includes/autogen_user_options.sr.adoc b/doc/sr/includes/autogen_user_options.sr.adoc index 1200b59a2..b7c28c145 100644 --- a/doc/sr/includes/autogen_user_options.sr.adoc +++ b/doc/sr/includes/autogen_user_options.sr.adoc @@ -2782,7 +2782,7 @@ ** опис: pass:none[радња која се преузима у случају да SASL аутентификација не успе: „continue” да се игнорише проблем аутентификације, „reconnect” да се закаже поновно повезивање са сервером, „disconnect” да се прекине веза са сервером (погледајте и опцију irc.network.sasl_fail_unavailable)] ** тип: целобројна ** вредности: continue, reconnect, disconnect -** подразумевана вредност: `+continue+` +** подразумевана вредност: `+reconnect+` * [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key* ** опис: pass:none[фајл са ECC приватним кључем за механизам „ecdsa-nist256p-challenge” (путања се израчунава, погледајте функцију string_eval_path_home у референтном приручнику API додатака)] |