services/fxaccounts/interfaces/nsIFxAccountsUIGlue.idl
author Sam Penrose <spenrose@mozilla.com>
Tue, 29 Apr 2014 14:47:59 -0700
changeset 180943 d05f273a2d1d73487f882840054c752497e7f864
parent 169547 2cf9d97e26841c1afff969163180c45799361c94
child 439042 31941d904a7c3df53ed5b4c9ecdc40025d865dfb
permissions -rw-r--r--
Bug 981210 - FxAccountsManager.jsm and consumers: change "accountId" attribute to "email" r=jedp

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

[scriptable, uuid(ab8d0700-9577-11e3-a5e2-0800200c9a66)]
interface nsIFxAccountsUIGlue : nsISupports
{
  // Returns a Promise.
  jsval signInFlow();

  // Returns a Promise.
  jsval refreshAuthentication(in DOMString email);
};