Back to index

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

An optional interface for clients accessing or removing logins that were collected by the password manager. More...

import "nsIPasswordManager.idl";

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

List of all members.

Public Member Functions

void addUser (in AUTF8String aHost, in AString aUser, in AString aPassword)
 Called to add an individual login to the list of saved logins.
void removeUser (in AUTF8String aHost, in AString aUser)
 Called to remove an individual login from the list of save logins.
void addReject (in AUTF8String aHost)
 Called to add a host to the list of rejected hosts -- i.e., hosts for which the do-you-want-to-save dialog does appear.
void removeReject (in AUTF8String aHost)
 Called to remove a host from the list of rejected hosts -- i.e., hosts for which the do-you-want-to-save dialog does not appear.

Public Attributes

readonly attribute
nsISimpleEnumerator 
enumerator
 Called to enumerate through each login in the password-manager list The objects enumerated over are of type nsIPassword.
readonly attribute
nsISimpleEnumerator 
rejectEnumerator
 Called to enumerate through each rejected site in the password-manager list These are sites for which the user has indicated that he doesn't want passwords saved.

Detailed Description

An optional interface for clients accessing or removing logins that were collected by the password manager.

Definition at line 51 of file nsIPasswordManager.idl.


Member Function Documentation

void nsIPasswordManager::addReject ( in AUTF8String  aHost)

Called to add a host to the list of rejected hosts -- i.e., hosts for which the do-you-want-to-save dialog does appear.

Parameters:
aHostThe host for which the dialog is to not appear
void nsIPasswordManager::addUser ( in AUTF8String  aHost,
in AString  aUser,
in AString  aPassword 
)

Called to add an individual login to the list of saved logins.

Parameters:
aHostThe host for which the login is being remembered
aUserThe username portion of the login
aPasswordThe password portion of the login
void nsIPasswordManager::removeReject ( in AUTF8String  aHost)

Called to remove a host from the list of rejected hosts -- i.e., hosts for which the do-you-want-to-save dialog does not appear.

Parameters:
aHostThe host for which the dialog is to not appear
void nsIPasswordManager::removeUser ( in AUTF8String  aHost,
in AString  aUser 
)

Called to remove an individual login from the list of save logins.

Parameters:
aHostThe host for which the login is being remembered
aUserThe username portion of the login

Member Data Documentation

Called to enumerate through each login in the password-manager list The objects enumerated over are of type nsIPassword.

Definition at line 94 of file nsIPasswordManager.idl.

Called to enumerate through each rejected site in the password-manager list These are sites for which the user has indicated that he doesn't want passwords saved.

The objects enumerated over are of type nsIPassword, although the only member of that object that is relevent is the host (the user and password members are ignored).

Definition at line 102 of file nsIPasswordManager.idl.


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