nsIPasswordManager
| IID: | 173562F0-2173-11d5-A54C-0010A401EB10 |
| Inherits From: | nsISupports |
An optional interface for clients accessing or removing logins that were collected by the password manager
This interface is implemented by the following components:
Properties
readonly nsISimpleEnumerator enumerator
Called to enumerate through each login in the password-manager list The objects enumerated over are of type nsIPassword
readonly 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. 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).
Methods
void addReject ( AUTF8String host )
void addUser ( AUTF8String host , AString user , AString password )
void removeReject ( AUTF8String host )
void removeUser ( AUTF8String host , AString user )
void addReject ( AUTF8String host )
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
- Arguments:
- host: The host for which the dialog is to not appear
void addUser ( AUTF8String host , AString user , AString password )
Called to add an individual login to the list of saved logins
- Arguments:
- host: The host for which the login is being remembered
- user: The username portion of the login
- password: The password portion of the login
void removeReject ( AUTF8String host )
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
- Arguments:
- host: The host for which the dialog is to not appear
void removeUser ( AUTF8String host , AString user )
Called to remove an individual login from the list of save logins
- Arguments:
- host: The host for which the login is being remembered
- user: The username portion of the login
Reference documentation is generated from Mozilla's source.
