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 __AUTH_NTLM_H__
10#define __AUTH_NTLM_H__
11
12#if HAVE_AUTH_MODULE_NTLM
13
14#include "auth/Gadgets.h"
15#include "auth/SchemeConfig.h"
16#include "auth/UserRequest.h"
17#include "helper/forward.h"
18
19class HttpRequest;
20class StoreEntry;
21
22namespace Auth
23{
24namespace Ntlm
25{
26
28class Config : public Auth::SchemeConfig
29{
30public:
31 bool active() const override;
32 bool configured() const override;
33 Auth::UserRequest::Pointer decode(char const *proxy_auth, const HttpRequest *request, const char *requestRealm) override;
34 void done() override;
35 void rotateHelpers() override;
36 void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *) override;
37 void init(Auth::SchemeConfig *) override;
38 void registerWithCacheManager(void) override;
39 const char * type() const override;
40};
41
42} // namespace Ntlm
43} // namespace Auth
44
46
47#endif /* HAVE_AUTH_MODULE_NTLM */
48#endif
49
class SquidConfig Config
Definition: SquidConfig.cc:12
Helper::StatefulClientPointer ntlmauthenticators
Definition: Config.cc:36
HTTP Authentication.
Definition: Config.h:19

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors