SchemesConfig.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_SCHEMES_CONFIG_H
10#define SQUID_SCHEMES_CONFIG_H
11
12#if USE_AUTH
13
14#include "auth/SchemeConfig.h"
15
16namespace Auth
17{
18
24{
25public:
26 SchemesConfig(const char *s, const bool q) : schemes(s), quoted(q), rawSchemes(schemes.c_str()) {}
29 void expand();
30
31public:
34
35private:
38 const bool quoted;
39
40public:
42 const char *rawSchemes;
43};
44
45} // namespace Auth
46
47#endif /* USE_AUTH */
48#endif /* SQUID_SCHEMES_CONFIG_H */
49
SchemesConfig(const char *s, const bool q)
Definition: SchemesConfig.h:26
SBuf schemes
raw auth schemes list (may have duplicates)
Definition: SchemesConfig.h:37
const char * rawSchemes
optimization for storing schemes.c_str()
Definition: SchemesConfig.h:42
Auth::ConfigVector authConfigs
corresponding vector of Auth::Config objects
Definition: SchemesConfig.h:33
Definition: SBuf.h:94
HTTP Authentication.
Definition: Config.h:19
std::vector< Auth::SchemeConfig * > ConfigVector
Definition: forward.h:24

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors