]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/ntlm/User.h
Cleanup: Simplify MEMPROXY_CLASS_* macros
[thirdparty/squid.git] / src / auth / ntlm / User.h
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
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 dlink_list proxy_auth_list;
34 };
35
36 } // namespace Ntlm
37 } // namespace Auth
38
39 #endif /* _SQUID_AUTH_NTLM_USER_H */