squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
auth
basic
User.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
#ifndef _SQUID_AUTH_BASIC_USER_H
10
#define _SQUID_AUTH_BASIC_USER_H
11
12
#if HAVE_AUTH_MODULE_BASIC
13
14
#include "
auth/User.h
"
15
#include "
auth/UserRequest.h
"
16
17
namespace
Auth
18
{
19
20
class
SchemeConfig;
21
class
QueueNode;
22
23
namespace
Basic
24
{
25
27
class
User :
public
Auth::User
28
{
29
MEMPROXY_CLASS
(Auth::Basic::User);
30
31
public
:
32
User(
Auth::SchemeConfig
*,
const
char
*requestRealm);
33
~User()
override
;
34
bool
authenticated()
const
;
35
bool
valid()
const
;
36
38
void
updateCached(User *from);
39
int32_t ttl()
const override
;
40
41
/* Auth::User API */
42
static
CbcPointer<Auth::CredentialsCache>
Cache
();
43
void
addToNameCache()
override
;
44
45
char
*passwd;
46
47
QueueNode *queue;
48
49
private
:
50
Auth::UserRequest::Pointer
currentRequest;
51
};
52
53
}
// namespace Basic
54
}
// namespace Auth
55
56
#endif
/* HAVE_AUTH_MODULE_BASIC */
57
#endif
/* _SQUID_AUTH_BASIC_USER_H */
58
MEMPROXY_CLASS
#define MEMPROXY_CLASS(CLASS)
Definition:
AllocatorProxy.h:28
UserRequest.h
User.h
Auth::SchemeConfig
Definition:
SchemeConfig.h:47
Auth::User
Definition:
User.h:37
CbcPointer< Auth::CredentialsCache >
RefCount< Auth::UserRequest >
Auth
HTTP Authentication.
Definition:
Config.h:19
Cache
struct _Cache Cache
Definition:
test_cache_digest.cc:27
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:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
pl
...
full list
FTP Package Archive