Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKissaki <kissaki@gmx.de>2013-05-05 21:23:01 +0400
committerKissaki <kissaki@gmx.de>2013-06-05 00:38:47 +0400
commit6e8c89390fce02fd805bd0a4d36e1672532b3fdc (patch)
tree1da8a0447d7d00caa131109ecea9375769541abc
parent88d41e10f5996cc2c1b24f2ba6a291a3f429753d (diff)
shorten and specify comment of authenticate return code
-rw-r--r--src/murmur/Murmur.ice3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/murmur/Murmur.ice b/src/murmur/Murmur.ice
index 8c389f938..eda37bc02 100644
--- a/src/murmur/Murmur.ice
+++ b/src/murmur/Murmur.ice
@@ -352,7 +352,8 @@ module Murmur
* @param certstrong True if certificate was valid and signed by a trusted CA.
* @param newname Set this to change the username from the supplied one.
* @param groups List of groups on the root channel that the user will be added to for the duration of the connection.
- * @return UserID of authenticated user, -1 for authentication failures and -2 for unknown user (fallthrough). You can pass through -3 to notify the user they could not be authenticated at this time with a clearer message than -1 (The recommended usage of -3 is during SERVER_DOWN exception handling in your authenticator script to avoid user confusion i.e. Showing invalid username password message when their credentials are correct, but the cause is the authenticator is unable to validate due to MySQL/LDAP being unavailable)
+ * @return UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
+ * -3 for authentication failures where the data could (temporarily) not be verified.
*/
idempotent int authenticate(string name, string pw, CertificateList certificates, string certhash, bool certstrong, out string newname, out GroupNameList groups);