michael@0: /* vim:set ts=2 sw=2 et cindent: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsNTLMAuthModule_h__ michael@0: #define nsNTLMAuthModule_h__ michael@0: michael@0: #include "nsIAuthModule.h" michael@0: #include "nsString.h" michael@0: michael@0: class nsNTLMAuthModule : public nsIAuthModule michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIAUTHMODULE michael@0: michael@0: nsNTLMAuthModule() {} michael@0: virtual ~nsNTLMAuthModule(); michael@0: michael@0: nsresult InitTest(); michael@0: michael@0: static void SetSendLM(bool sendLM); michael@0: private: michael@0: nsString mDomain; michael@0: nsString mUsername; michael@0: nsString mPassword; michael@0: }; michael@0: michael@0: #define NS_NTLMAUTHMODULE_CONTRACTID \ michael@0: NS_AUTH_MODULE_CONTRACTID_PREFIX "ntlm" michael@0: #define NS_NTLMAUTHMODULE_CID \ michael@0: { /* a4e5888f-4fe4-4632-8e7e-745196ea7c70 */ \ michael@0: 0xa4e5888f, \ michael@0: 0x4fe4, \ michael@0: 0x4632, \ michael@0: {0x8e, 0x7e, 0x74, 0x51, 0x96, 0xea, 0x7c, 0x70} \ michael@0: } michael@0: michael@0: #endif // nsNTLMAuthModule_h__