Squid Web Cache master
Loading...
Searching...
No Matches
Config.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_NEGOTIATE_CONFIG_H
10#define SQUID_SRC_AUTH_NEGOTIATE_CONFIG_H
11
12#if HAVE_AUTH_MODULE_NEGOTIATE
13
14#include "auth/Gadgets.h"
15#include "auth/SchemeConfig.h"
16#include "auth/UserRequest.h"
17#include "helper/forward.h"
18
19namespace Auth
20{
21namespace Negotiate
22{
23
25class Config : public Auth::SchemeConfig
26{
27public:
28 bool active() const override;
29 Auth::UserRequest::Pointer decode(char const *proxy_auth, const HttpRequest *request, const char *requestRealm) override;
30 void done() override;
31 void rotateHelpers() override;
32 void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *) override;
33 void init(Auth::SchemeConfig *) override;
34 void registerWithCacheManager(void) override;
35 const char * type() const override;
36};
37
38} // namespace Negotiate
39} // namespace Auth
40
42
43#endif /* HAVE_AUTH_MODULE_NEGOTIATE */
44#endif /* SQUID_SRC_AUTH_NEGOTIATE_CONFIG_H */
45
class SquidConfig Config
Helper::StatefulClientPointer negotiateauthenticators
Definition Config.cc:35
HTTP Authentication.
Definition Config.h:19