summaryrefslogtreecommitdiffstats
path: root/services/fxaccounts/interfaces/nsIFxAccountsUIGlue.idl
diff options
context:
space:
mode:
Diffstat (limited to 'services/fxaccounts/interfaces/nsIFxAccountsUIGlue.idl')
-rw-r--r--services/fxaccounts/interfaces/nsIFxAccountsUIGlue.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/services/fxaccounts/interfaces/nsIFxAccountsUIGlue.idl b/services/fxaccounts/interfaces/nsIFxAccountsUIGlue.idl
new file mode 100644
index 000000000..950fdbc25
--- /dev/null
+++ b/services/fxaccounts/interfaces/nsIFxAccountsUIGlue.idl
@@ -0,0 +1,15 @@
+/* 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);
+};