]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/negotiate/Config.h
2 * Copyright (C) 1996-2023 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 __AUTH_NEGOTIATE_H__
10 #define __AUTH_NEGOTIATE_H__
12 #if HAVE_AUTH_MODULE_NEGOTIATE
14 #include "auth/Gadgets.h"
15 #include "auth/SchemeConfig.h"
16 #include "auth/UserRequest.h"
17 #include "helper/forward.h"
24 /** Negotiate Authentication configuration data */
25 class Config
: public Auth::SchemeConfig
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
;
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
;
39 } // namespace Negotiate
42 extern statefulhelper
*negotiateauthenticators
;
44 #endif /* HAVE_AUTH_MODULE_NEGOTIATE */