]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/negotiate/Config.h
De-duplicate shared auth parameters keep_alive and utf8
[thirdparty/squid.git] / src / auth / negotiate / Config.h
1 /*
2 * Copyright (C) 1996-2016 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 __AUTH_NEGOTIATE_H__
10 #define __AUTH_NEGOTIATE_H__
11
12 #if HAVE_AUTH_MODULE_NEGOTIATE
13
14 #include "auth/Gadgets.h"
15 #include "auth/SchemeConfig.h"
16 #include "auth/UserRequest.h"
17 #include "helper/forward.h"
18
19 namespace Auth
20 {
21 namespace Negotiate
22 {
23
24 /** Negotiate Authentication configuration data */
25 class Config : public Auth::SchemeConfig
26 {
27 public:
28 virtual bool active() const;
29 virtual bool configured() const;
30 virtual Auth::UserRequest::Pointer decode(char const *proxy_auth, const char *requestRealm);
31 virtual void done();
32 virtual void rotateHelpers();
33 virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *);
34 virtual void init(Auth::SchemeConfig *);
35 virtual void registerWithCacheManager(void);
36 virtual const char * type() const;
37 };
38
39 } // namespace Negotiate
40 } // namespace Auth
41
42 extern statefulhelper *negotiateauthenticators;
43
44 #endif /* HAVE_AUTH_MODULE_NEGOTIATE */
45 #endif
46