]> git.ipfire.org Git - thirdparty/squid.git/blame - src/auth/negotiate/Config.h
Renamed http_hdr_type to Http::HdrType, fixed some HdrType-int implicit conversions
[thirdparty/squid.git] / src / auth / negotiate / Config.h
CommitLineData
bbc27441 1/*
bde978a6 2 * Copyright (C) 1996-2015 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
AJ
11
12#include "auth/Config.h"
3ad63615 13#include "auth/Gadgets.h"
2d2b0bb7 14#include "auth/UserRequest.h"
24438ec5 15#include "helper/forward.h"
63be0a78 16
bb8909c3
A
17namespace Auth
18{
19namespace Negotiate
20{
6bf4f823 21
372fccd6
AJ
22/** Negotiate Authentication configuration data */
23class Config : public Auth::Config
6bf4f823 24{
6bf4f823 25public:
372fccd6 26 Config();
6bf4f823 27 virtual bool active() const;
28 virtual bool configured() const;
d4806c91 29 virtual Auth::UserRequest::Pointer decode(char const *proxy_auth, const char *requestRealm);
6bf4f823 30 virtual void done();
0bcb6908 31 virtual void rotateHelpers();
3616c90c 32 virtual bool dump(StoreEntry *, const char *, Auth::Config *) const;
789217a2 33 virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *);
9f3d2b2e
AJ
34 virtual void init(Auth::Config *);
35 virtual void parse(Auth::Config *, int, char *);
15fab853 36 virtual void registerWithCacheManager(void);
6bf4f823 37 virtual const char * type() const;
372fccd6
AJ
38
39public:
6bf4f823 40 int keep_alive;
6bf4f823 41};
42
372fccd6
AJ
43} // namespace Negotiate
44} // namespace Auth
6bf4f823 45
aa110616
AJ
46extern statefulhelper *negotiateauthenticators;
47
6bf4f823 48#endif
f53969cc 49