]> git.ipfire.org Git - thirdparty/squid.git/blame - src/auth/negotiate/Config.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / auth / negotiate / Config.h
CommitLineData
bbc27441 1/*
5b74111a 2 * Copyright (C) 1996-2018 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.
7 */
8
6bf4f823 9#ifndef __AUTH_NEGOTIATE_H__
10#define __AUTH_NEGOTIATE_H__
928f3421 11
a0026a6c
AJ
12#if HAVE_AUTH_MODULE_NEGOTIATE
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"
63be0a78 18
bb8909c3
A
19namespace Auth
20{
21namespace Negotiate
22{
6bf4f823 23
372fccd6 24/** Negotiate Authentication configuration data */
dc79fed8 25class Config : public Auth::SchemeConfig
6bf4f823 26{
6bf4f823 27public:
6bf4f823 28 virtual bool active() const;
29 virtual bool configured() const;
d4806c91 30 virtual Auth::UserRequest::Pointer decode(char const *proxy_auth, const char *requestRealm);
6bf4f823 31 virtual void done();
0bcb6908 32 virtual void rotateHelpers();
789217a2 33 virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *);
dc79fed8 34 virtual void init(Auth::SchemeConfig *);
15fab853 35 virtual void registerWithCacheManager(void);
6bf4f823 36 virtual const char * type() const;
6bf4f823 37};
38
372fccd6
AJ
39} // namespace Negotiate
40} // namespace Auth
6bf4f823 41
aa110616
AJ
42extern statefulhelper *negotiateauthenticators;
43
a0026a6c 44#endif /* HAVE_AUTH_MODULE_NEGOTIATE */
6bf4f823 45#endif
f53969cc 46