]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/negotiate/Scheme.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / auth / negotiate / Scheme.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_NEGOTIATE_SCHEME_H
10 #define SQUID_AUTH_NEGOTIATE_SCHEME_H
11
12 #include "auth/Scheme.h"
13
14 namespace Auth
15 {
16 namespace Negotiate
17 {
18
19 /// \ingroup AuthSchemeAPI
20 /// \ingroup AuthAPI
21 class Scheme : public Auth::Scheme
22 {
23
24 public:
25 static Auth::Scheme::Pointer GetInstance();
26 Scheme() {};
27 virtual ~Scheme() {};
28
29 /* per scheme */
30 virtual char const *type() const;
31 virtual void shutdownCleanup();
32 virtual Auth::Config *createConfig();
33
34 /* Not implemented */
35 Scheme (Scheme const &);
36 Scheme &operator=(Scheme const &);
37
38 private:
39 static Auth::Scheme::Pointer _instance;
40 };
41
42 } // namespace Negotiate
43 } // namespace Auth
44
45 #endif /* SQUID_AUTH_NEGOTIATE_SCHEME_H */
46