[gnome-keyring/dbus-api] [dbus] Update introspect xml data.



commit a7f3c50bfac5512ffa0a39325fa4dfe14d8bf879
Author: Stef Walter <stef memberwebs com>
Date:   Mon Dec 14 03:04:43 2009 +0000

    [dbus] Update introspect xml data.

 daemon/data/introspect-collection.xml |    1 +
 daemon/data/introspect-item.xml       |    8 ++++-
 daemon/data/introspect-prompt.xml     |    2 +-
 daemon/data/introspect-service.xml    |   50 +++++++++++++++++++++-----------
 4 files changed, 42 insertions(+), 19 deletions(-)
---
diff --git a/daemon/data/introspect-collection.xml b/daemon/data/introspect-collection.xml
index 23c814c..61b151f 100644
--- a/daemon/data/introspect-collection.xml
+++ b/daemon/data/introspect-collection.xml
@@ -40,6 +40,7 @@
 		</method>
 		<method name="CreateItem">
 			<arg name="props" type="a{sv}" direction="in"/>
+			<arg name="secret" type="(oayay)" direction="in"/>
 			<arg name="replace" type="b" direction="in"/>
 			<arg name="item" type="o" direction="out"/>
 			<arg name="prompt" type="o" direction="out"/>
diff --git a/daemon/data/introspect-item.xml b/daemon/data/introspect-item.xml
index 6dbf81c..56d75a2 100644
--- a/daemon/data/introspect-item.xml
+++ b/daemon/data/introspect-item.xml
@@ -34,7 +34,13 @@
 		<method name="Delete">
 			<arg name="prompt" type="o" direction="out"/>
 		</method>
+		<method name="GetSecret">
+			<arg name="session" type="o" direction="in"/>
+			<arg name="secret" type="(oayay)" direction="out"/>
+		</method>
+		<method name="SetSecret">
+			<arg name="secret" type="(oayay)" direction="in"/>
+		</method>
 	</interface>
 
-
 </node>
diff --git a/daemon/data/introspect-prompt.xml b/daemon/data/introspect-prompt.xml
index 50a6c2f..9c8781e 100644
--- a/daemon/data/introspect-prompt.xml
+++ b/daemon/data/introspect-prompt.xml
@@ -15,8 +15,8 @@
 		<method name="Dismiss">
 		</method>
 		<signal name="Completed">
-			<arg name="result" type="v"/>
 			<arg name="dismissed" type="b"/>
+			<arg name="result" type="v"/>
 		</signal>
 	</interface>
 
diff --git a/daemon/data/introspect-service.xml b/daemon/data/introspect-service.xml
index 056175c..0c955b5 100644
--- a/daemon/data/introspect-service.xml
+++ b/daemon/data/introspect-service.xml
@@ -28,9 +28,11 @@
 	<interface name="org.freedesktop.Secrets.Service">
 
 		<property name="Collections" type="ao" access="read"/>
-		<property name="DefaultCollection" type="o" access="readwrite"/>
 
 		<method name="OpenSession">
+			<arg name="algorithm" type="s" direction="in"/>
+			<arg name="input" type="v" direction="in"/>
+			<arg name="output" type="v" direction="out"/>
 			<arg name="result" type="o" direction="out"/>
 		</method>
 
@@ -40,15 +42,40 @@
 			<arg name="prompt" type="o" direction="out"/>
 		</method>
 
-		<method name="LockService">
-		</method>
-
 		<method name="SearchItems">
 			<arg name="attributes" type="a{ss}" direction="in"/>
 			<arg name="unlocked" type="ao" direction="out"/>
 			<arg name="locked" type="ao" direction="out"/>
 		</method>
 
+		<method name="Unlock">
+			<arg name="objects" type="ao" direction="in"/>
+			<arg name="unlocked" type="ao" direction="out"/>
+			<arg name="prompt" type="o" direction="out"/>
+		</method>
+
+		<method name="Lock">
+			<arg name="objects" type="ao" direction="in"/>
+			<arg name="locked" type="ao" direction="out"/>
+			<arg name="Prompt" type="o" direction="out"/>
+		</method>
+
+		<method name="GetSecrets">
+			<arg name="items" type="ao" direction="in"/>
+			<arg name="session" type="o" direction="in"/>
+			<arg name="secrets" type="a{o(oayay)}" direction="out"/>
+		</method>
+
+		<method name="ReadAlias">
+			<arg name="name" type='s' direction='in'/>
+			<arg name="collection" type='o' direction='out'/>
+		</method>
+
+		<method name="SetAlias">
+			<arg name="name" type='s' direction='in'/>
+			<arg name="collection" type='o' direction='in'/>
+		</method>
+
 		<signal name="CollectionCreated">
 			<arg name="collection" type="o"/>
 		</signal>
@@ -57,19 +84,8 @@
 			<arg name="collection" type="o"/>
 		</signal>
 
-		<method name="BeginAuthenticate">
-			<arg name="objects" type="ao" direction="in"/>
-			<arg name="window-id" type="s" direction="in"/>
-		</method>
-
-		<method name="CompleteAuthenticate">
-			<arg name="objects" type="ao" direction="in"/>
-			<arg name="authenticated" type="ao" direction="in"/>
-		</method>
-
-		<signal name="Authenticated">
-			<arg name="object" type="o"/>
-			<arg name="success" type="b"/>
+		<signal name="CollectionChanged">
+			<arg name="collection" type="o"/>
 		</signal>
 
 	</interface>



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