2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#ifndef nsHttpNTLMAuth_h__
|
|
|
|
#define nsHttpNTLMAuth_h__
|
|
|
|
|
|
|
|
#include "nsIHttpAuthenticator.h"
|
|
|
|
|
2014-01-07 14:05:56 -08:00
|
|
|
namespace mozilla { namespace net {
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
class nsHttpNTLMAuth : public nsIHttpAuthenticator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIHTTPAUTHENTICATOR
|
|
|
|
|
|
|
|
nsHttpNTLMAuth() {}
|
|
|
|
virtual ~nsHttpNTLMAuth() {}
|
2011-11-09 09:18:59 -08:00
|
|
|
|
|
|
|
private:
|
|
|
|
// This flag indicates whether we are using the native NTLM implementation
|
|
|
|
// or the internal one.
|
|
|
|
bool mUseNative;
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|
|
|
|
|
2014-01-07 14:05:56 -08:00
|
|
|
}} // namespace mozilla::net
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif // !nsHttpNTLMAuth_h__
|