[gnome-online-accounts] Reinstate org.gnome.OnlineAccounts.PasswordBased D-Bus interface



commit 428a7bcc978dc1e4ce8893cd78422178097b5842
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Mar 27 15:07:34 2012 +0200

    Reinstate org.gnome.OnlineAccounts.PasswordBased D-Bus interface
    
    It would be useful for adding a GoaExchangeProvider.
    
    This reverts commit 81b9bd4f997a83eac3d789226b01ad6726e4ac79.
    
    Fixes: https://bugzilla.gnome.org/667889

 data/dbus-interfaces.xml |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/data/dbus-interfaces.xml b/data/dbus-interfaces.xml
index fe0aa24..d07838a 100644
--- a/data/dbus-interfaces.xml
+++ b/data/dbus-interfaces.xml
@@ -244,6 +244,34 @@
   </interface>
 
   <!--
+      org.gnome.OnlineAccounts.PasswordBased:
+
+      An account object implements this interface if one or more
+      passwords are used for accessing it.
+  -->
+  <interface name="org.gnome.OnlineAccounts.PasswordBased">
+    <!--
+      GetPassword:
+      @id: An identifier describing what password to get.
+      @password: The password.
+
+      Use this method to obtain the passwords used to access the
+      account.
+
+      If the account is for a mail account (see
+      #org.gnome.OnlineAccounts.Mail), known values for @id includes
+      <literal>imap-password</literal> and
+      <literal>smtp-password</literal>.
+
+      Note that calls to this method are logged.
+    -->
+    <method name="GetPassword">
+      <arg name="id" type="s" direction="in"/>
+      <arg name="password" type="s" direction="out"/>
+    </method>
+  </interface>
+
+  <!--
       org.gnome.OnlineAccounts.Manager:
 
       An interface used for managing accounts.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]