1 /* The contents of this file are subject to the Mozilla Public License Version
2 * 1.1 (the "License"); you may not use this file except in compliance with
3 * the License. You may obtain a copy of the License at
4 * http://www.mozilla.org/MPL/
6 * Software distributed under the License is distributed on an "AS IS" basis,
7 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
8 * for the specific language governing rights and limitations under the
11 * The Original Code is the Negotiateauth
13 * The Initial Developer of the Original Code is Daniel Kouril.
14 * Portions created by the Initial Developer are Copyright (C) 2003
15 * the Initial Developer. All Rights Reserved.
18 * Daniel Kouril <kouril@ics.muni.cz> (original author)
19 * Wyllys Ingersoll <wyllys.ingersoll@sun.com>
20 * Christopher Nebergall <cneberg@sandia.gov>
23 #include "nsISupportsUtils.h"
24 #include "nsIGenericFactory.h"
26 #include "nsHttpMoonshot.h"
28 // macro expansion defines our factory constructor method
29 // used by the components[] array below.
30 NS_GENERIC_FACTORY_CONSTRUCTOR(nsHttpMoonshot)
32 static nsModuleComponentInfo components[] = {
33 { "HTTP Moonshot Auth Encoder",
35 NS_HTTP_AUTHENTICATOR_CONTRACTID,
36 nsHttpMoonshotConstructor,
40 NS_IMPL_NSGETMODULE(nsHttpMoonshotModule, components)