mongoose/docs/c-api/mg_http_server.h/mg_check_digest_auth.md
Dmitry Frank 3eb4eb8074 Fix mongoose docs generation
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
2018-02-03 01:20:48 +02:00

605 B

title decl_name symbol_kind signature
mg_check_digest_auth() mg_check_digest_auth func int mg_check_digest_auth(struct mg_str method, struct mg_str uri, struct mg_str username, struct mg_str cnonce, struct mg_str response, struct mg_str qop, struct mg_str nc, struct mg_str nonce, struct mg_str auth_domain, FILE *fp);

Authenticates given response params against an opened password file. Returns 1 if authenticated, 0 otherwise.

It's used by mg_http_check_digest_auth().