Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIPasswordManagerInternal Interface Reference

import "nsIPasswordManagerInternal.idl";

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

List of all members.

Public Member Functions

void findPasswordEntry (in AUTF8String aHostURI, in AString aUsername, in AString aPassword, out AUTF8String aHostURIFound, out AString aUsernameFound, out AString aPasswordFound)
 A Call to find a login in the password manager list that matches the specified parameters.
void addUserFull (in AUTF8String aKey, in AString aUser, in AString aPassword, in AString aUserFieldName, in AString aPassFieldName)
 Called to add an individual login to the list of saved logins.
void readPasswords (in nsIFile aPasswordFile)
 Reads logins from a Mozilla Password Manager file, augmenting the current in-memory set.

Detailed Description

Definition at line 48 of file nsIPasswordManagerInternal.idl.


Member Function Documentation

void nsIPasswordManagerInternal::addUserFull ( in AUTF8String  aKey,
in AString  aUser,
in AString  aPassword,
in AString  aUserFieldName,
in AString  aPassFieldName 
)

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

All parameters are clear text.

Parameters:
aKeyThe key for which the login is being remembered (often the page URI)
aUserThe username portion of the login
aPasswordThe password portion of the login
aUserFieldNameThe name of the field that contained the username
aPassFieldNameThe name of the field that contained the password
void nsIPasswordManagerInternal::findPasswordEntry ( in AUTF8String  aHostURI,
in AString  aUsername,
in AString  aPassword,
out AUTF8String  aHostURIFound,
out AString  aUsernameFound,
out AString  aPasswordFound 
)

A Call to find a login in the password manager list that matches the specified parameters.

If any input parameter is null, it is not tested for when looking for the match.

Parameters:
aHostURIThe uri part of a login to search for, or null
aUsernameThe username part of a login to search for, or null
aPasswordThe password part of a login to search for, or null
aHostURIFoundThe uri found in the login
aUsernameFoundThe username found in the login
aPasswordFoundThe password found in the login

Reads logins from a Mozilla Password Manager file, augmenting the current in-memory set.

If a duplicate entry is encountered, the data from the file being read replaces that currently held.

Parameters:
aPasswordFileThe file to read logins from.

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