Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsIPasswordInternal Interface Reference

This interface is supported by password manager entries to expose the fieldnames passed to nsIPasswordManagerInternal's addUserFull method. More...

import "nsIPasswordInternal.idl";

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

List of all members.

Public Attributes

readonly attribute AString userFieldName
 The name of the field that contained the username.
readonly attribute AString passwordFieldName
 The name of the field that contained the password.
readonly attribute AUTF8String host
 the name of the host corresponding to the login being saved
readonly attribute AString user
 the user name portion of the login
readonly attribute AString password
 the password portion of the login

Detailed Description

This interface is supported by password manager entries to expose the fieldnames passed to nsIPasswordManagerInternal's addUserFull method.

Definition at line 46 of file nsIPasswordInternal.idl.


Member Data Documentation

readonly attribute AUTF8String nsIPassword::host [inherited]

the name of the host corresponding to the login being saved

The form of the host depends on how the nsIPassword object was created

  • if it was created as a result of submitting a form to a site, then the host is the url of the site, as obtained from a call to GetSpec
  • if it was created as a result of another app (e.g., mailnews) calling a prompt routine such at PromptUsernameAndPassword, then the host is whatever arbitrary string the app decided to pass in.

Whatever form it is in, it will be used by the password manager to uniquely identify the login realm, so that "newsserver:119" is not the same thing as "newsserver".

Definition at line 68 of file nsIPassword.idl.

readonly attribute AString nsIPassword::password [inherited]

the password portion of the login

Definition at line 78 of file nsIPassword.idl.

The name of the field that contained the password.

Definition at line 56 of file nsIPasswordInternal.idl.

readonly attribute AString nsIPassword::user [inherited]

the user name portion of the login

Definition at line 73 of file nsIPassword.idl.

The name of the field that contained the username.

Definition at line 51 of file nsIPasswordInternal.idl.


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