]>
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_NEGOTIATE_USER_H |
10 | #define _SQUID_AUTH_NEGOTIATE_USER_H | |
11 | ||
12 | #include "auth/User.h" | |
13 | ||
14 | namespace Auth | |
15 | { | |
16 | ||
17 | class Config; | |
18 | ||
19 | namespace Negotiate | |
20 | { | |
21 | ||
22 | /** User credentials for the Negotiate authentication protocol */ | |
23 | class User : public Auth::User | |
24 | { | |
25 | public: | |
26 | MEMPROXY_CLASS(Auth::Negotiate::User); | |
d4806c91 | 27 | User(Auth::Config *, const char *requestRealm); |
aa110616 AJ |
28 | ~User(); |
29 | virtual int32_t ttl() const; | |
30 | ||
31 | dlink_list proxy_auth_list; | |
32 | }; | |
33 | ||
34 | MEMPROXY_CLASS_INLINE(Auth::Negotiate::User); | |
35 | ||
36 | } // namespace Negotiate | |
37 | } // namespace Auth | |
38 | ||
39 | #endif /* _SQUID_AUTH_NEGOTIATE_USER_H */ |