Squid Web Cache master
Loading...
Searching...
No Matches
SchemesConfig.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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_SRC_AUTH_SCHEMESCONFIG_H
10#define SQUID_SRC_AUTH_SCHEMESCONFIG_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_SRC_AUTH_SCHEMESCONFIG_H */
49
SchemesConfig(const char *s, const bool q)
SBuf schemes
raw auth schemes list (may have duplicates)
const char * rawSchemes
optimization for storing schemes.c_str()
Auth::ConfigVector authConfigs
corresponding vector of Auth::Config objects
Definition SBuf.h:94
HTTP Authentication.
Definition Config.h:19
std::vector< Auth::SchemeConfig * > ConfigVector
Definition forward.h:24