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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors