[gnome-online-accounts/wip/jfelder/owncloud-music: 9/14] dbus: Add RetryFeature to org.gnome.OnlineAccounts.Account



commit 986441229a9196bd05c7163d0370a6b277d6cac6
Author: Gaurav Narula <gnarula94 gmail com>
Date:   Fri Dec 13 20:29:51 2019 +0100

    dbus: Add RetryFeature to org.gnome.OnlineAccounts.Account
    
    It tries to get the authentication details for a given feature if it
    was not available when the account was added.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753415

 data/dbus-interfaces.xml | 12 ++++++++++++
 doc/goa-sections.txt     |  4 ++++
 2 files changed, 16 insertions(+)
---
diff --git a/data/dbus-interfaces.xml b/data/dbus-interfaces.xml
index 5b719d03..28b4498d 100644
--- a/data/dbus-interfaces.xml
+++ b/data/dbus-interfaces.xml
@@ -298,6 +298,18 @@
     <method name="EnsureCredentials">
       <arg name="expires_in" type="i" direction="out"/>
     </method>
+
+    <!--
+        RetryFeature:
+        @feature: The feature to retry.
+
+        Retries getting the authentication details for a given
+        feature if it was not available when the account was added
+    -->
+    <method name="RetryFeature">
+      <arg name="feature" type="s" direction="in"/>
+      <arg name="result" type="b" direction="out"/>
+    </method>
   </interface>
 
   <!--
diff --git a/doc/goa-sections.txt b/doc/goa-sections.txt
index 6f96d69e..a0e8a4b2 100644
--- a/doc/goa-sections.txt
+++ b/doc/goa-sections.txt
@@ -192,6 +192,10 @@ goa_account_call_remove
 goa_account_call_remove_finish
 goa_account_call_remove_sync
 goa_account_complete_remove
+goa_account_call_retry_feature
+goa_account_call_retry_feature_finish
+goa_account_call_retry_feature_sync
+goa_account_complete_retry_feature
 GoaAccountProxy
 GoaAccountProxyClass
 goa_account_proxy_new


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