[scriptable, uuid(a448531f-dc92-4dc1-9012-da841febcbe0)]
interface nsIPasswordManagerInternal : nsISupports

Methods

 Called to add an individual login to the list of saved logins. 
 All parameters are clear text.

 @param aKey The key for which the login is being remembered (often the page URI)
 @param aUser The username portion of the login
 @param aPassword The password portion of the login
 @param aUserFieldName The name of the field that contained the username
 @param aPassFieldName The name of the field that contained the password
void addUserFull(in AUTF8String aKey, in AString aUser, in AString aPassword, in AString aUserFieldName, in AString aPassFieldName)

          
void addUserFull2(in AUTF8String aKey, in AString aUser, in AString aPassword, in AString aUserFieldName, in AString aPassFieldName, in AUTF8String ActionURL)
 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.

 @param aHostURI The uri part of a login to search for, or null
 @param aUsername The username part of a login to search for, or null
 @param aPassword The password part of a login to search for, or null
 @param aHostURIFound The uri found in the login
 @param aUsernameFound The username found in the login
 @param aPasswordFound The password found in the login
void findPasswordEntry(in AUTF8String aHostURI, in AString aUsername, in AString aPassword, out AUTF8String aHostURIFound, out AString aUsernameFound, out AString aPasswordFound)
 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.
 
 @param aPasswordFile The file to read logins from.
void readPasswords(in nsIFile aPasswordFile)