Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIAuthInformation.d @ 291:b0bd1789106b
fix: added wrong directory :(
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 18:29:44 -0700 |
parents | dd63eb078d7a |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
290:4c1340edee0d | 291:b0bd1789106b |
---|---|
1 module dwt.internal.mozilla.nsAuthInformation; | |
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 extern(System) | |
15 | |
16 interface nsIAuthInformation : nsISupports { | |
17 | |
18 static const char[] IID_STR = NS_IAUTHINFORMATION_IID_STR; | |
19 static const nsIID IID = NS_IAUTHINFORMATION_IID; | |
20 | |
21 enum { AUTH_HOST = 1U } | |
22 enum { AUTH_PROXY = 2U } | |
23 enum { NEED_DOMAIN = 4U } | |
24 enum { ONLY_PASSWORD = 8U } | |
25 | |
26 nsresult GetFlags(PRUint32 *aFlags); | |
27 nsresult GetRealm(nsAString * aRealm);; | |
28 nsresult GetAuthenticationScheme(nsACString * aAuthenticationScheme); | |
29 nsresult GetUsername(nsAString * aUsername); | |
30 nsresult SetUsername(nsAString * aUsername); | |
31 nsresult GetPassword(nsAString * aPassword); | |
32 nsresult SetPassword(nsAString * aPassword); | |
33 nsresult GetDomain(nsAString * aDomain); | |
34 nsresult SetDomain(nsAString * aDomain); | |
35 | |
36 }; |