squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
auth
digest
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_DIGEST_USER_H
10
#define _SQUID_AUTH_DIGEST_USER_H
11
12
#if HAVE_AUTH_MODULE_DIGEST
13
14
#include "
auth/digest/Config.h
"
15
#include "
auth/User.h
"
16
#include "
rfc2617.h
"
17
18
namespace
Auth
19
{
20
namespace
Digest
21
{
22
24
class
User :
public
Auth::User
25
{
26
MEMPROXY_CLASS
(Auth::Digest::User);
27
28
public
:
29
User(
Auth::SchemeConfig
*,
const
char
*requestRealm);
30
~User()
override
;
31
int
authenticated()
const
;
32
int32_t ttl()
const override
;
33
34
/* Auth::User API */
35
static
CbcPointer<Auth::CredentialsCache>
Cache
();
36
void
addToNameCache()
override
;
37
38
HASH
HA1;
39
int
HA1created;
40
41
/* what nonces have been allocated to this user */
42
dlink_list
nonces;
43
44
digest_nonce_h * currentNonce();
45
};
46
47
}
// namespace Digest
48
}
// namespace Auth
49
50
#endif
/* HAVE_AUTH_MODULE_DIGEST */
51
#endif
/* _SQUID_AUTH_DIGEST_USER_H */
52
MEMPROXY_CLASS
#define MEMPROXY_CLASS(CLASS)
Definition:
AllocatorProxy.h:28
User.h
Config.h
Auth::SchemeConfig
Definition:
SchemeConfig.h:47
Auth::User
Definition:
User.h:37
CbcPointer< Auth::CredentialsCache >
dlink_list
Definition:
dlink.h:24
Auth
HTTP Authentication.
Definition:
Config.h:19
rfc2617.h
HASH
char HASH[HASHLEN]
Definition:
rfc2617.h:31
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