Struct xpcom::interfaces::nsIProtectedAuthThread [] [src]

#[repr(C)]
pub struct nsIProtectedAuthThread { /* fields omitted */ }

interface nsIProtectedAuthThread : nsISupports

/**
 *  Used to communicate with the thread for logging on to a token with
 *  CKF_PROTECTED_AUTHENTICATION_PATH set.
 */

Methods

impl nsIProtectedAuthThread
[src]

[src]

Cast this nsIProtectedAuthThread to one of its base interfaces.

impl nsIProtectedAuthThread
[src]

[src]

/**
   * 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.
   */

[must_use] void login (in nsIObserver observer);

[src]

/**
   * The PKCS11 slot
   */

[must_use] readonly attribute nsIPKCS11Slot slot;

[src]

/**
   * Gets token to be logged in name.
   */

[must_use] AString getTokenName ();

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIProtectedAuthThread
[src]

IID: nsIID = nsID(1269988535, 35204, 19694, [140, 231, 155, 1, 76, 61, 9, 27])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIProtectedAuthThread
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIProtectedAuthThread
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.