]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/ntlm/User.h
Merged from trunk
[thirdparty/squid.git] / src / auth / ntlm / User.h
1 /*
2 * Copyright (C) 1996-2015 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_NTLM_USER_H
10 #define _SQUID_AUTH_NTLM_USER_H
11
12 #include "auth/User.h"
13
14 namespace Auth
15 {
16
17 class Config;
18
19 namespace Ntlm
20 {
21
22 /** User credentials for the NTLM authentication protocol */
23 class User : public Auth::User
24 {
25 MEMPROXY_CLASS(Auth::Ntlm::User);
26
27 public:
28 User(Auth::Config *, const char *requestRealm);
29 ~User();
30
31 virtual int32_t ttl() const;
32
33 static CbcPointer<Auth::UserNameCache> Cache();
34
35 dlink_list proxy_auth_list;
36 };
37
38 } // namespace Ntlm
39 } // namespace Auth
40
41 #endif /* _SQUID_AUTH_NTLM_USER_H */
42