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.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 2c0e9526..77f6e3b1 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -348,6 +348,7 @@ check_nonce_nc (struct MHD_Connection *connection,
348 * @param connection The MHD connection structure 348 * @param connection The MHD connection structure
349 * @return NULL if no username could be found, a pointer 349 * @return NULL if no username could be found, a pointer
350 * to the username if found 350 * to the username if found
351 * @ingroup authentication
351 */ 352 */
352char * 353char *
353MHD_digest_auth_get_username(struct MHD_Connection *connection) 354MHD_digest_auth_get_username(struct MHD_Connection *connection)
@@ -539,8 +540,9 @@ check_argument_match (struct MHD_Connection *connection,
539 * @param password The password used in the authentication 540 * @param password The password used in the authentication
540 * @param nonce_timeout The amount of time for a nonce to be 541 * @param nonce_timeout The amount of time for a nonce to be
541 * invalid in seconds 542 * invalid in seconds
542 * @return MHD_YES if authenticated, MHD_NO if not, 543 * @return #MHD_YES if authenticated, #MHD_NO if not,
543 * MHD_INVALID_NONCE if nonce is invalid 544 * #MHD_INVALID_NONCE if nonce is invalid
545 * @ingroup authentication
544 */ 546 */
545int 547int
546MHD_digest_auth_check (struct MHD_Connection *connection, 548MHD_digest_auth_check (struct MHD_Connection *connection,
@@ -739,9 +741,10 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
739 * @param response reply to send; should contain the "access denied" 741 * @param response reply to send; should contain the "access denied"
740 * body; note that this function will set the "WWW Authenticate" 742 * body; note that this function will set the "WWW Authenticate"
741 * header and that the caller should not do this 743 * header and that the caller should not do this
742 * @param signal_stale MHD_YES if the nonce is invalid to add 744 * @param signal_stale #MHD_YES if the nonce is invalid to add
743 * 'stale=true' to the authentication header 745 * 'stale=true' to the authentication header
744 * @return MHD_YES on success, MHD_NO otherwise 746 * @return #MHD_YES on success, #MHD_NO otherwise
747 * @ingroup authentication
745 */ 748 */
746int 749int
747MHD_queue_auth_fail_response (struct MHD_Connection *connection, 750MHD_queue_auth_fail_response (struct MHD_Connection *connection,