Lines Matching refs:username

54     char *username;  member
59 …quire, const int dalgo, const char *k, const uint32_t klen, const char *username, const uint32_t u… in http_auth_cache_entry_init() argument
69 + (k == username ? 0 : klen)); in http_auth_cache_entry_init()
76 ae->username = (char *)(ae + 1); in http_auth_cache_entry_init()
77 ae->pwdigest = ae->username + ulen; in http_auth_cache_entry_init()
78 ae->k = (k == username) in http_auth_cache_entry_init()
79 ? ae->username in http_auth_cache_entry_init()
81 memcpy(ae->username, username, ulen); in http_auth_cache_entry_init()
121 http_auth_cache_hash (const struct http_auth_require_t * const require, const char *username, const… in http_auth_cache_hash() argument
125 h = djbhash(username, ulen, h); in http_auth_cache_hash()
823 && ulen == ae->ulen && 0 == memcmp(user, ae->username, ulen)) in mod_auth_check_basic()
1131 const char *user = ai->username; in mod_auth_digest_get()
1136 const char * const restrict s = ai->username; in mod_auth_digest_get()
1150 && (ae->k == ae->username || ai->userhash)) { in mod_auth_digest_get()
1152 if (ae->k != ae->username) { /*(userhash was key; copy username)*/ in mod_auth_digest_get()
1155 ai->username = memcpy(ai->userbuf, ae->username, ae->ulen); in mod_auth_digest_get()
1165 ai->username = memcpy(ai->userbuf, userbuf, ulen); in mod_auth_digest_get()
1185 ai->username, ai->ulen, in mod_auth_digest_get()
1342 ai->username = memcpy(ai->userbuf, tb->ptr, len); in mod_auth_digest_validate_userstar()
1357 ai->username = dp->ptr[e_username]; in mod_auth_digest_validate_params()
1362 if (!ai->username) { /* (dp->ptr[e_userstar]) */ in mod_auth_digest_validate_params()
1536 (int)ai.ulen, ai.username, r->dst_addr_buf->ptr); in mod_auth_check_digest()
1544 buffer_copy_string_len(tb, ai.username, ai.ulen); in mod_auth_check_digest()
1556 http_auth_setenv(r, ai.username, ai.ulen, CONST_STR_LEN("Digest")); in mod_auth_check_digest()