]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/SchemesConfig.h
2 * Copyright (C) 1996-2016 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/Config.h"
21 * Stores authentication schemes list, configured by auth_schemes
27 SchemesConfig(const char *s
, const bool q
) : schemes(s
), quoted(q
), rawSchemes(schemes
.c_str()) {}
28 /// Expands special "ALL" scheme name (if provided), removes
29 /// duplicates and fills authConfigs vector.
33 /// corresponding vector of Auth::Config objects
34 ConfigVector authConfigs
;
37 /// raw auth schemes list (may have duplicates)
42 /// optimization for storing schemes.c_str()
43 const char *rawSchemes
;
46 typedef std::vector
<SchemesConfig
> SchemesConfigs
;
51 #endif /* SQUID_SCHEMES_CONFIG_H */