WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIProtectedAuthThread

IID:4bb27cb7-8984-4cee-8ce7-9b014c3d091b
Inherits From:nsISupports

This is used to communicate with the thread login on to a token with CKF_PROTECTED_AUTHENTICATION_PATH set.


Properties

readonly nsIPKCS11Slot slot

The PKCS11 slot


Methods

AString getTokenName ( ) void login ( nsIObserver observer )

AString getTokenName ( )

Gets token to be logged in name.


void login ( nsIObserver observer )

Login - run the thread A user interface implementing this interface needs to call this method as soon as the message to the user is displayed. This will trigger login operation. No user cancellation is possible during login operation.

When the login is done, the observe method of @observer will be called on the UI thread with a topic of "login-finished" and null data and subject.

Arguments:
observer

References

This interface is passed as an argument to the following methods:

nsITokenDialogs.displayProtectedAuth

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com