aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 793209f9..0127a6d7 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1189,10 +1189,15 @@ MHD_digest_auth_get_username3 (struct MHD_Connection *connection)
1189/** 1189/**
1190 * Get the username from the authorization header sent by the client 1190 * Get the username from the authorization header sent by the client
1191 * 1191 *
1192 * This function support username in standard and extended notations.
1193 * "userhash" is not supported by this function.
1194 *
1192 * @param connection The MHD connection structure 1195 * @param connection The MHD connection structure
1193 * @return NULL if no username could be found, a pointer 1196 * @return NULL if no username could be found, username provided as
1194 * to the username if found 1197 * "userhash" or memory allocation error occurs;
1198 * a pointer to the username if found, free using #MHD_free().
1195 * @warning Returned value must be freed by #MHD_free(). 1199 * @warning Returned value must be freed by #MHD_free().
1200 * @deprecated use MHD_digest_auth_get_username3()
1196 * @ingroup authentication 1201 * @ingroup authentication
1197 */ 1202 */
1198_MHD_EXTERN char * 1203_MHD_EXTERN char *