B2G/gecko/toolkit/identity/MinimalIdentity.jsm
/**
   * Invoked when a user wishes to logout of a site (for instance, when clicking
   * on an in-content logout button).
   *
   * @param aRpCallerId
   *        (integer)  the id of the doc object obtained in .watch()
   *
   */
Invoked when a user wishes to logout of a site (for instance, when clicking
on an in-content logout button).

@param aRpCallerId
(integer)  the id of the doc object obtained in .watch()
Invoked when a user wishes to logout of a site ( for instance when clicking on an in - content logout button ) . @param aRpCallerId ( integer ) the id of the doc object obtained in . watch ()
function logout(aRpCallerId) {
    let rp = this._rpFlows[aRpCallerId];
    if (!rp) {
      reportError("logout() called before watch()");
      return;
    }
    let options = makeMessageObject(rp);
    Services.obs.notifyObservers({wrappedJSObject: options}, "identity-controller-logout", null);
  }
function logout ( aRpCallerId ) { let rp = this . _rpFlows [ aRpCallerId ] ; if ( ! rp ) { reportError ( "logout() called before watch()" ) ; return ; } let options = makeMessageObject ( rp ) ; Services . obs . notifyObservers ( { wrappedJSObject : options } , "identity-controller-logout" , null ) ; }
Invoked when a user wishes to logout of a site (for instance, when clicking
 on an in-content logout button).
Invoked when a user wishes to logout of a site ( for instance when clicking on an in - content logout button ) .