Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsIPassword Interface Reference

An optional interface for clients wishing to access a password object. More...

import "nsIPassword.idl";

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

List of all members.

Public Attributes

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

An optional interface for clients wishing to access a password object.

FROZEN

Definition at line 50 of file nsIPassword.idl.


Member Data Documentation

readonly attribute AUTF8String nsIPassword::host

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

the password portion of the login

Definition at line 78 of file nsIPassword.idl.

readonly attribute AString nsIPassword::user

the user name portion of the login

Definition at line 73 of file nsIPassword.idl.


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