Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIAuthPrompt Interface Reference

UNDER_REVIEW More...

import "nsIAuthPrompt.idl";

Inheritance diagram for nsIAuthPrompt:
Inheritance graph
[legend]
Collaboration diagram for nsIAuthPrompt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

UNDER_REVIEW

Definition at line 46 of file nsIAuthPrompt.idl.


Member Function Documentation

boolean nsIAuthPrompt::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.

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 
)

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 
)

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 interface was generated from the following file: