]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/auth/ntlm/Config.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / auth / ntlm / Config.h
... / ...
CommitLineData
1/*
2 * Copyright (C) 1996-2018 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
27/** NTLM Authentication configuration data */
28class Config : public Auth::SchemeConfig
29{
30public:
31 virtual bool active() const;
32 virtual bool configured() const;
33 virtual Auth::UserRequest::Pointer decode(char const *proxy_auth, const char *requestRealm);
34 virtual void done();
35 virtual void rotateHelpers();
36 virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *);
37 virtual void init(Auth::SchemeConfig *);
38 virtual void registerWithCacheManager(void);
39 virtual const char * type() const;
40};
41
42} // namespace Ntlm
43} // namespace Auth
44
45extern statefulhelper *ntlmauthenticators;
46
47#endif /* HAVE_AUTH_MODULE_NTLM */
48#endif
49