]> git.ipfire.org Git - thirdparty/squid.git/blame - src/auth/ntlm/Config.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / auth / ntlm / Config.h
CommitLineData
94439e4e 1/*
4ac4a490 2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
bbc27441
AJ
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.
94439e4e 7 */
8
9#ifndef __AUTH_NTLM_H__
10#define __AUTH_NTLM_H__
bbc27441 11
a0026a6c
AJ
12#if HAVE_AUTH_MODULE_NTLM
13
3ad63615 14#include "auth/Gadgets.h"
ae578099 15#include "auth/SchemeConfig.h"
2d2b0bb7 16#include "auth/UserRequest.h"
24438ec5 17#include "helper/forward.h"
94439e4e 18
aa110616
AJ
19class HttpRequest;
20class StoreEntry;
f5691f9c 21
bb8909c3
A
22namespace Auth
23{
24namespace Ntlm
25{
62e76326 26
372fccd6 27/** NTLM Authentication configuration data */
dc79fed8 28class Config : public Auth::SchemeConfig
62e76326 29{
f5691f9c 30public:
f5691f9c 31 virtual bool active() const;
32 virtual bool configured() const;
d4806c91 33 virtual Auth::UserRequest::Pointer decode(char const *proxy_auth, const char *requestRealm);
f5691f9c 34 virtual void done();
0bcb6908 35 virtual void rotateHelpers();
789217a2 36 virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *);
dc79fed8 37 virtual void init(Auth::SchemeConfig *);
15fab853 38 virtual void registerWithCacheManager(void);
f5691f9c 39 virtual const char * type() const;
94439e4e 40};
41
372fccd6
AJ
42} // namespace Ntlm
43} // namespace Auth
94439e4e 44
928f3421
AJ
45extern statefulhelper *ntlmauthenticators;
46
a0026a6c 47#endif /* HAVE_AUTH_MODULE_NTLM */
94439e4e 48#endif
f53969cc 49