diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-02-09 19:53:53 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-02-28 16:13:57 +0100 |
commit | 1e768fc50c50b24274601f28dfde9cc9a41cc5c2 (patch) | |
tree | 1b0ad5624c847e92479eaba61f253762b60a7524 | |
parent | a939261a3d47fc6766521de6ae5a50d514314f37 (diff) | |
download | xdg-specs-1e768fc50c50b24274601f28dfde9cc9a41cc5c2.tar.xz |
Add a content type to the secret struct.
This is used to specify the type of the secret. For example:
* text/plain; charset=utf8
* application/octet-stream
* etc...
-rw-r--r-- | secret-service/org.freedesktop.Secrets.xml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/secret-service/org.freedesktop.Secrets.xml b/secret-service/org.freedesktop.Secrets.xml index def4f62..6a9e495 100644 --- a/secret-service/org.freedesktop.Secrets.xml +++ b/secret-service/org.freedesktop.Secrets.xml @@ -38,7 +38,7 @@ <!-- * ====================================================================================== * SECRET STRUCT - * Signature: (oayay) + * Signature: (oayays) * --> @@ -53,6 +53,9 @@ <tp:member type="ay" name="value"> <tp:docstring>Possibly encoded secret value</tp:docstring> </tp:member> + <tp:member type="s" name="content_type"> + <tp:docstring>The content type of the secret. For example: 'text/plain; charset=utf8'</tp:docstring> + </tp:member> </tp:struct> <tp:mapping name="ObjectPath_Secret_Map"> @@ -60,7 +63,7 @@ <tp:member type="o" name="Key"> <tp:docstring>D-Bus object-path</tp:docstring> </tp:member> - <tp:member type="(oayay)" name="Value" tp:type="Secret"> + <tp:member type="(oayays)" name="Value" tp:type="Secret"> <tp:docstring>A secret</tp:docstring> </tp:member> </tp:mapping> @@ -173,7 +176,7 @@ properties = { "Label": "MyCollection" } <arg name="session" type="o" direction="in"> <tp:docstring>The session to use to encode the secrets.</tp:docstring> </arg> - <arg name="secrets" type="a{o(oayay)}" direction="out" tp:type="ObjectPath_Secret_Map"> + <arg name="secrets" type="a{o(oayays)}" direction="out" tp:type="ObjectPath_Secret_Map"> <tp:docstring>Secrets for the items.</tp:docstring> </arg> </method> @@ -310,7 +313,7 @@ properties = { </para> </tp:docstring> </arg> - <arg name="secret" type="(oayay)" tp:type="Secret" direction="in"> + <arg name="secret" type="(oayays)" tp:type="Secret" direction="in"> <tp:docstring>The secret to store in the item, encoded with the included session.</tp:docstring> </arg> <arg name="replace" type="b" direction="in"> @@ -395,14 +398,14 @@ properties = { <arg name="session" type="o" direction="in"> <tp:docstring>The session to use to encode the secret.</tp:docstring> </arg> - <arg name="secret" type="(oayay)" tp:type="Secret" direction="out"> + <arg name="secret" type="(oayays)" tp:type="Secret" direction="out"> <tp:docstring>The secret retrieved.</tp:docstring> </arg> </method> <method name="SetSecret"> <tp:docstring>Set the secret for this item.</tp:docstring> - <arg name="secret" type="(oayay)" tp:type="Secret" direction="in"> + <arg name="secret" type="(oayays)" tp:type="Secret" direction="in"> <tp:docstring>The secret to set, encoded for the included session.</tp:docstring> </arg> </method> |