Lines Matching defs:cache_key
577 if (passdb_cache == NULL || passdb->cache_key == NULL)
584 passdb->cache_key, "", FALSE);
631 auth_cache_insert(passdb_cache, request, passdb->cache_key, str_c(str),
956 const char *cache_key = passdb->cache_key;
959 if (passdb_cache_verify_plain(request, cache_key,
1076 const char *cache_key, *error;
1110 cache_key = passdb_cache == NULL ? NULL : passdb->cache_key;
1111 if (passdb_cache_verify_plain(request, cache_key, password,
1217 const char *cache_key = passdb->cache_key;
1220 if (passdb_cache_lookup_credentials(request, cache_key,
1265 const char *cache_key, *cache_cred, *cache_scheme, *error;
1288 cache_key = passdb_cache == NULL ? NULL : passdb->cache_key;
1289 if (cache_key != NULL) {
1290 if (passdb_cache_lookup_credentials(request, cache_key,
1330 const char *cache_key, *new_credentials;
1332 cache_key = passdb_cache == NULL ? NULL : passdb->cache_key;
1333 if (cache_key != NULL)
1334 auth_cache_remove(passdb_cache, request, cache_key);
1357 if (passdb_cache == NULL || userdb->cache_key == NULL)
1382 auth_cache_insert(passdb_cache, request, userdb->cache_key,
1542 } else if (passdb_cache != NULL && userdb->cache_key != NULL) {
1546 const char *cache_key = userdb->cache_key;
1548 if (auth_request_lookup_user_cache(request, cache_key,
1562 const char *cache_key, *error;
1585 cache_key = passdb_cache == NULL ? NULL : userdb->cache_key;
1586 if (cache_key != NULL) {
1589 if (auth_request_lookup_user_cache(request, cache_key,