CredentialsCache.h
Auth::User::Pointer lookup(const SBuf &userKey) const
Definition: CredentialsCache.cc:65
bool gcScheduled_
whether a cleanup (garbage collection) event has been scheduled
Definition: CredentialsCache.h:67
void insert(const SBuf &userKey, const Auth::User::Pointer &anAuth_user)
add an user to the cache with the provided key
Definition: CredentialsCache.cc:105
std::unordered_map< SBuf, Auth::User::Pointer > StoreType
key is User::userKey(), mapped value is User::Pointer
Definition: CredentialsCache.h:70
CredentialsCache & operator=(const CredentialsCache &)=delete
~CredentialsCache()=default
const char *const cacheCleanupEventName
Definition: CredentialsCache.h:74
CredentialsCache(const char *name, const char *const eventName)
Definition: CredentialsCache.cc:56
std::vector< Auth::User::Pointer > sortedUsersList() const
Definition: CredentialsCache.cc:115
Cache of Auth::User credentials, keyed by Auth::User::userKey.
Definition: CredentialsCache.h:21
void doConfigChangeCleanup()
Definition: CredentialsCache.cc:140
CBDATA_CLASS(CredentialsCache)
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products