Scheme.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 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 #if HAVE_AUTH_MODULE_NEGOTIATE
13 
14 #include "auth/Scheme.h"
15 
16 namespace Auth
17 {
18 namespace Negotiate
19 {
20 
22 class Scheme : public Auth::Scheme
23 {
24 
25 public:
26  static Auth::Scheme::Pointer GetInstance();
27  Scheme() {};
28  virtual ~Scheme() {};
29 
30  /* per scheme */
31  virtual char const *type() const;
32  virtual void shutdownCleanup();
33  virtual Auth::SchemeConfig *createConfig();
34 
35  /* Not implemented */
36  Scheme (Scheme const &);
37  Scheme &operator=(Scheme const &);
38 
39 private:
40  static Auth::Scheme::Pointer _instance;
41 };
42 
43 } // namespace Negotiate
44 } // namespace Auth
45 
46 #endif /* HAVE_AUTH_MODULE_NEGOTIATE */
47 #endif /* SQUID_AUTH_NEGOTIATE_SCHEME_H */
48 
int type
Definition: errorpage.cc:152
HTTP Authentication.
Definition: Config.h:19

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors