mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
auth: Fix ssh_auth_list() documentation.
The server will not return SSH_AUTH_METHOD_NONE.
(cherry picked from commit 9c376dd913)
This commit is contained in:
@@ -309,7 +309,7 @@ int ssh_auth_list(ssh_session session) {
|
|||||||
* @brief retrieves available authentication methods for this session
|
* @brief retrieves available authentication methods for this session
|
||||||
* @param[in] session the SSH session
|
* @param[in] session the SSH session
|
||||||
* @param[in] username Deprecated, set to NULL.
|
* @param[in] username Deprecated, set to NULL.
|
||||||
* @returns A bitfield of values SSH_AUTH_METHOD_NONE, SSH_AUTH_METHOD_PASSWORD,
|
* @returns A bitfield of values SSH_AUTH_METHOD_PASSWORD,
|
||||||
SSH_AUTH_METHOD_PUBLICKEY, SSH_AUTH_METHOD_HOSTBASED,
|
SSH_AUTH_METHOD_PUBLICKEY, SSH_AUTH_METHOD_HOSTBASED,
|
||||||
SSH_AUTH_METHOD_INTERACTIVE.
|
SSH_AUTH_METHOD_INTERACTIVE.
|
||||||
@warning Other reserved flags may appear in future versions.
|
@warning Other reserved flags may appear in future versions.
|
||||||
|
|||||||
Reference in New Issue
Block a user