Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
TestAuthPrompt Class Reference
Inheritance diagram for TestAuthPrompt:
Inheritance graph
[legend]
Collaboration diagram for TestAuthPrompt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIAUTHPROMPT 
TestAuthPrompt ()
virtual ~TestAuthPrompt ()
boolean prompt (in wstring dialogTitle, in wstring text, in wstring passwordRealm, in PRUint32 savePassword, in wstring defaultText, out wstring result)
 Puts up a text input dialog with OK and Cancel buttons.
boolean promptUsernameAndPassword (in wstring dialogTitle, in wstring text, in wstring passwordRealm, in PRUint32 savePassword, out wstring user, out wstring pwd)
 Puts up a username/password dialog with OK and Cancel buttons.
boolean promptPassword (in wstring dialogTitle, in wstring text, in wstring passwordRealm, in PRUint32 savePassword, out wstring pwd)
 Puts up a password dialog with OK and Cancel buttons.

Public Attributes

const PRUint32 SAVE_PASSWORD_NEVER = 0
const PRUint32 SAVE_PASSWORD_FOR_SESSION = 1
const PRUint32 SAVE_PASSWORD_PERMANENTLY = 2

Detailed Description

Definition at line 243 of file TestProtocols.cpp.


Constructor & Destructor Documentation

Definition at line 255 of file TestProtocols.cpp.

{
}

Definition at line 259 of file TestProtocols.cpp.

{
}

Member Function Documentation

boolean nsIAuthPrompt::prompt ( in wstring  dialogTitle,
in wstring  text,
in wstring  passwordRealm,
in PRUint32  savePassword,
in wstring  defaultText,
out wstring  result 
) [inherited]

Puts up a text input dialog with OK and Cancel buttons.

Returns:
true for OK, false for Cancel
boolean nsIAuthPrompt::promptPassword ( in wstring  dialogTitle,
in wstring  text,
in wstring  passwordRealm,
in PRUint32  savePassword,
out wstring  pwd 
) [inherited]

Puts up a password dialog with OK and Cancel buttons.

Returns:
true for OK, false for Cancel
boolean nsIAuthPrompt::promptUsernameAndPassword ( in wstring  dialogTitle,
in wstring  text,
in wstring  passwordRealm,
in PRUint32  savePassword,
out wstring  user,
out wstring  pwd 
) [inherited]

Puts up a username/password dialog with OK and Cancel buttons.

Returns:
true for OK, false for Cancel

Member Data Documentation

Definition at line 49 of file nsIAuthPrompt.idl.

Definition at line 48 of file nsIAuthPrompt.idl.

Definition at line 50 of file nsIAuthPrompt.idl.


The documentation for this class was generated from the following file: