]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/SchemesConfig.h
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_SCHEMES_CONFIG_H
10 #define SQUID_SCHEMES_CONFIG_H
14 #include "auth/SchemeConfig.h"
20 * Stores authentication schemes list, configured by auth_schemes
26 SchemesConfig(const char *s
, const bool q
) : schemes(s
), quoted(q
), rawSchemes(schemes
.c_str()) {}
27 /// Expands special "ALL" scheme name (if provided), removes
28 /// duplicates and fills authConfigs vector.
32 /// corresponding vector of Auth::Config objects
33 Auth::ConfigVector authConfigs
;
36 /// raw auth schemes list (may have duplicates)
41 /// optimization for storing schemes.c_str()
42 const char *rawSchemes
;
48 #endif /* SQUID_SCHEMES_CONFIG_H */