root/dwt/internal/mozilla/nsIAuthInformation.d

Revision 327:b0d7eb5bd76c, 1.1 kB (checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win

Line 
1 module dwt.internal.mozilla.nsIAuthInformation;
2
3 import dwt.internal.mozilla.nsISupports;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.Common;
6 import dwt.internal.mozilla.nsStringAPI;
7
8 const char[] NS_IAUTHINFORMATION_IID_STR =  "0d73639c-2a92-4518-9f92-28f71fea5f20";
9
10 const nsIID NS_IAUTHINFORMATION_IID =
11    {0x0d73639c, 0x2a92, 0x4518,
12     [ 0x9f, 0x92, 0x28, 0xf7, 0x1f, 0xea, 0x5f, 0x20 ] };
13
14 interface nsIAuthInformation : nsISupports {
15
16   static const char[] IID_STR = NS_IAUTHINFORMATION_IID_STR;
17   static const nsIID IID = NS_IAUTHINFORMATION_IID;
18
19   enum { AUTH_HOST = 1U }
20   enum { AUTH_PROXY = 2U }
21   enum { NEED_DOMAIN = 4U }
22   enum { ONLY_PASSWORD = 8U }
23
24 extern(System):
25   nsresult GetFlags(PRUint32 *aFlags);
26   nsresult GetRealm(nsAString * aRealm);;
27   nsresult GetAuthenticationScheme(nsACString * aAuthenticationScheme);
28   nsresult GetUsername(nsAString * aUsername);
29   nsresult SetUsername(nsAString * aUsername);
30   nsresult GetPassword(nsAString * aPassword);
31   nsresult SetPassword(nsAString * aPassword);
32   nsresult GetDomain(nsAString * aDomain);
33   nsresult SetDomain(nsAString * aDomain);
34
35 };
Note: See TracBrowser for help on using the browser.