]>
Commit | Line | Data |
---|---|---|
bbc27441 AJ |
1 | /* |
2 | * Copyright (C) 1996-2014 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 | ||
aa110616 AJ |
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 | public: | |
26 | MEMPROXY_CLASS(Auth::Ntlm::User); | |
d4806c91 | 27 | User(Auth::Config *, const char *requestRealm); |
aa110616 AJ |
28 | ~User(); |
29 | ||
30 | virtual int32_t ttl() const; | |
31 | ||
32 | dlink_list proxy_auth_list; | |
33 | }; | |
34 | ||
35 | MEMPROXY_CLASS_INLINE(Auth::Ntlm::User); | |
36 | ||
37 | } // namespace Ntlm | |
38 | } // namespace Auth | |
39 | ||
40 | #endif /* _SQUID_AUTH_NTLM_USER_H */ |