mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
auth: Fix ssh_auth_list() documentation.
The server will not return SSH_AUTH_METHOD_NONE.
This commit is contained in:
@@ -310,7 +310,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