mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
auth: Fix ssh_userauth_password() documentation.
This commit is contained in:
12
src/auth.c
12
src/auth.c
@@ -1286,11 +1286,13 @@ int ssh_userauth_publickey_auto(ssh_session session,
|
|||||||
*
|
*
|
||||||
* @param[in] password The password to authenticate in UTF-8.
|
* @param[in] password The password to authenticate in UTF-8.
|
||||||
*
|
*
|
||||||
* @returns A bitfield of the fllowing values:
|
* @returns SSH_AUTH_ERROR: A serious error happened.\n
|
||||||
* - SSH_AUTH_METHOD_PASSWORD
|
* SSH_AUTH_DENIED: Authentication failed: use another method\n
|
||||||
* - SSH_AUTH_METHOD_PUBLICKEY
|
* SSH_AUTH_PARTIAL: You've been partially authenticated, you still
|
||||||
* - SSH_AUTH_METHOD_HOSTBASED
|
* have to use another method\n
|
||||||
* - SSH_AUTH_METHOD_INTERACTIVE
|
* SSH_AUTH_SUCCESS: Authentication success\n
|
||||||
|
* SSH_AUTH_AGAIN: In nonblocking mode, you've got to call this again
|
||||||
|
* later.
|
||||||
*
|
*
|
||||||
* @note Most server implementations do not permit changing the username during
|
* @note Most server implementations do not permit changing the username during
|
||||||
* authentication. The username should only be set with ssh_optoins_set() only
|
* authentication. The username should only be set with ssh_optoins_set() only
|
||||||
|
|||||||
Reference in New Issue
Block a user