mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-01 19:17:48 +08:00
1889e12b54
PUBLISHED_FROM=39a1c2a271c5cd961670e11c830105c17ba0b2e4
425 B
425 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
mg_parse_http_basic_auth() | mg_parse_http_basic_auth | func | int mg_parse_http_basic_auth(struct mg_str *hdr, char *user, size_t user_len, char *pass, size_t pass_len); |
Parses the Authorization: Basic header Returns -1 iif the authorization type is not "Basic" or any other error such as incorrectly encoded base64 user password pair.