summaryrefslogtreecommitdiffstats
path: root/secret-service/org.freedesktop.Secrets.xml
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-08-20 03:15:33 +0000
committerStef Walter <stefw@collabora.co.uk>2010-12-04 16:11:42 +0000
commit3447cfa25193eaa5c038ff1fb0b99db14758c1d3 (patch)
tree7c77cf37531bb54e206a8299bf344255240d56f9 /secret-service/org.freedesktop.Secrets.xml
parent75bcfac74b3508b64b315afc782af45316d36f68 (diff)
downloadxdg-specs-3447cfa25193eaa5c038ff1fb0b99db14758c1d3.tar.xz
Changes to allow multiple sessions per application, discussed on mailing list.
Diffstat (limited to 'secret-service/org.freedesktop.Secrets.xml')
-rw-r--r--secret-service/org.freedesktop.Secrets.xml105
1 files changed, 61 insertions, 44 deletions
diff --git a/secret-service/org.freedesktop.Secrets.xml b/secret-service/org.freedesktop.Secrets.xml
index da5d609..1053751 100644
--- a/secret-service/org.freedesktop.Secrets.xml
+++ b/secret-service/org.freedesktop.Secrets.xml
@@ -141,17 +141,6 @@
</arg>
</method>
- <method name="RetrieveSecrets">
- <tp:docstring>Retrieve multiple secrets from different items.</tp:docstring>
- <arg name="items" type="ao" direction="in">
- <tp:docstring>Items to get secrets for.</tp:docstring>
- </arg>
-
- <arg name="secrets" type="a{o(sayay)}" direction="out" tp:type="ObjectPath_Secret_Map">
- <tp:docstring>Secrets for the items.</tp:docstring>
- </arg>
- </method>
-
<signal name="CollectionCreated">
<tp:docstring>A collection was created.</tp:docstring>
@@ -168,6 +157,42 @@
</arg>
</signal>
+ <method name="BeginAuthenticate">
+ <tp:docstring>Start asynchronous authentication of objects for the caller.</tp:docstring>
+
+ <arg name="objects" type="ao" direction="in">
+ <tp:docstring>Objects to authenticate or unlock.</tp:docstring>
+ </arg>
+
+ <arg name="window-id" type="s" direction="in">
+ <tp:docstring>Platform specific window handle to use for showing any prompts.</tp:docstring>
+ </arg>
+ </method>
+
+ <method name="CompleteAuthenticate">
+ <tp:docstring>Complete asynchronous authentication of objects for the caller.</tp:docstring>
+
+ <arg name="objects" type="ao" direction="in">
+ <tp:docstring>Objects to authenticate or unlock.</tp:docstring>
+ </arg>
+
+ <arg name="authenticated" type="ao" direction="in">
+ <tp:docstring>Objects that were successfully authenticated.</tp:docstring>
+ </arg>
+ </method>
+
+ <signal name="Authenticated">
+ <tp:docstring>An object (collection or item) was authenticated.</tp:docstring>
+
+ <arg name="object" type="o">
+ <tp:docstring>The object that was authenticated.</tp:docstring>
+ </arg>
+
+ <arg name="success" type="b">
+ <tp:docstring>Whether the object was successfully unlocked.</tp:docstring>
+ </arg>
+ </signal>
+
</interface>
</node>
@@ -235,10 +260,6 @@
<tp:docstring>The lookup attributes for the new item.</tp:docstring>
</arg>
- <arg name="secret" type="(sayay)" direction="in" tp:type="Secret">
- <tp:docstring>The secret to store in the new item.</tp:docstring>
- </arg>
-
<arg name="label" type="s" direction="in">
<tp:docstring>The label for the new item.</tp:docstring>
</arg>
@@ -304,10 +325,6 @@
<tp:docstring>The displayable label for this item.</tp:docstring>
</property>
- <property name="Secret" type="(sayay)" access="readwrite" tp:type="Secret">
- <tp:docstring>The secret, usually transferred encrypted.</tp:docstring>
- </property>
-
<property name="Created" type="t" access="read">
<tp:docstring>The unix time when the item was created.</tp:docstring>
</property>
@@ -360,41 +377,41 @@
</arg>
</method>
- <method name="BeginAuthenticate">
- <tp:docstring>Start asynchronous authentication of objects for the caller.</tp:docstring>
+ <method name="GetSecret">
+ <tp:docstring>Retrieve the secret for this item.</tp:docstring>
- <arg name="objects" type="ao" direction="in">
- <tp:docstring>Objects to authenticate or unlock.</tp:docstring>
- </arg>
+ <arg name="item" type="o" direction="in">
+ <tp:docstring>The path to the secret we want to retrieve.</tp:docstring>
+ </arg>
- <arg name="window-id" type="s" direction="in">
- <tp:docstring>Platform specific window handle to use for showing any prompts.</tp:docstring>
- </arg>
- </method>
+ <arg name="secret" type="(sayay)" tp:type="Secret" direction="out">
+ <tp:docstring>The secret retrieved.</tp:docstring>
+ </arg>
+ </method>
- <method name="CompleteAuthenticate">
- <tp:docstring>Complete asynchronous authentication of objects for the caller.</tp:docstring>
+ <method name="SetSecret">
+ <tp:docstring>Set the secret for this item.</tp:docstring>
- <arg name="objects" type="ao" direction="in">
- <tp:docstring>Objects to authenticate or unlock.</tp:docstring>
- </arg>
+ <arg name="item" type="o" direction="in">
+ <tp:docstring>The path to the secret we want to retrieve.</tp:docstring>
+ </arg>
- <arg name="authenticated" type="ao" direction="in">
- <tp:docstring>Objects that were successfully authenticated.</tp:docstring>
- </arg>
- </method>
+ <arg name="secret" type="(sayay)" tp:type="Secret" direction="in">
+ <tp:docstring>The secret retrieved.</tp:docstring>
+ </arg>
+ </method>
- <signal name="Authenticated">
- <tp:docstring>An object (collection or item) was authenticated.</tp:docstring>
+ <method name="GetSecrets">
+ <tp:docstring>Retrieve multiple secrets from different items.</tp:docstring>
- <arg name="object" type="o">
- <tp:docstring>The object that was authenticated.</tp:docstring>
+ <arg name="items" type="ao" direction="in">
+ <tp:docstring>Items to get secrets for.</tp:docstring>
</arg>
- <arg name="success" type="b">
- <tp:docstring>Whether the object was successfully unlocked.</tp:docstring>
+ <arg name="secrets" type="a{o(sayay)}" direction="out" tp:type="ObjectPath_Secret_Map">
+ <tp:docstring>Secrets for the items.</tp:docstring>
</arg>
- </signal>
+ </method>
</interface>