Config.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_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 
19 namespace Auth
20 {
21 namespace Negotiate
22 {
23 
25 class Config : public Auth::SchemeConfig
26 {
27 public:
28  bool active() const override;
29  bool configured() const override;
30  Auth::UserRequest::Pointer decode(char const *proxy_auth, const HttpRequest *request, const char *requestRealm) override;
31  void done() override;
32  void rotateHelpers() override;
33  void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *) override;
34  void init(Auth::SchemeConfig *) override;
35  void registerWithCacheManager(void) override;
36  const char * type() const override;
37 };
38 
39 } // namespace Negotiate
40 } // namespace Auth
41 
43 
44 #endif /* HAVE_AUTH_MODULE_NEGOTIATE */
45 #endif /* SQUID_SRC_AUTH_NEGOTIATE_CONFIG_H */
46 
HTTP Authentication.
Definition: Config.h:18
Helper::StatefulClientPointer negotiateauthenticators
Definition: Config.cc:35
class SquidConfig Config
Definition: SquidConfig.cc:12

 

Introduction

Documentation

Support

Miscellaneous