diff options
Diffstat (limited to 'daemon/dbus/org.freedesktop.Secrets.xml')
-rw-r--r-- | daemon/dbus/org.freedesktop.Secrets.xml | 167 |
1 files changed, 167 insertions, 0 deletions
diff --git a/daemon/dbus/org.freedesktop.Secrets.xml b/daemon/dbus/org.freedesktop.Secrets.xml new file mode 100644 index 00000000..c1624ef0 --- /dev/null +++ b/daemon/dbus/org.freedesktop.Secrets.xml @@ -0,0 +1,167 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> + +<node name="/org/freedesktop/Secrets"> + + <interface name="org.freedesktop.Secret.Service"> + <property name="Collections" type="ao" access="read" /> + + <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> + + <method name="CreateCollection"> + <arg name="properties" type="a{sv}" direction="in"/> + <arg name="alias" type="s" direction="in"/> + <arg name="collection" type="o" direction="out"/> + <arg name="prompt" type="o" direction="out"/> + </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="LockService"/> + + <method name="ChangeLock"> + <arg name="collection" type="o" direction="in"/> + <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(oayays)}" 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> + + <signal name="CollectionDeleted"> + <arg name="collection" type="o"/> + </signal> + + <signal name="CollectionChanged"> + <arg name="collection" type="o"/> + </signal> + + </interface> + + <interface name="org.freedesktop.Secret.Collection"> + + <property name="Items" type="ao" access="read"/> + <property name="Label" type="s" access="readwrite"/> + <property name="Locked" type="b" access="read"/> + <property name="Created" type="t" access="read"/> + <property name="Modified" type="t" access="read"/> + + <method name="Delete"> + <arg name="prompt" type="o" direction="out"/> + </method> + + <method name="SearchItems"> + <arg name="attributes" type="a{ss}" direction="in"/> + <arg name="results" type="ao" direction="out"/> + </method> + + <method name="CreateItem"> + <arg name="properties" type="a{sv}" direction="in"/> + <arg name="secret" type="(oayays)" direction="in"/> + <arg name="replace" type="b" direction="in"/> + <arg name="item" type="o" direction="out"/> + <arg name="prompt" type="o" direction="out"/> + </method> + + <signal name="ItemCreated"> + <arg name="item" type="o"/> + </signal> + + <signal name="ItemDeleted"> + <arg name="item" type="o"/> + </signal> + + <signal name="ItemChanged"> + <arg name="item" type="o"/> + </signal> + + </interface> + + <interface name="org.freedesktop.Secret.Item"> + + <property name="Locked" type="b" access="read"/> + + <property name="Attributes" type="a{ss}" access="readwrite"/> + + <property name="Label" type="s" access="readwrite"/> + + <property name="Created" type="t" access="read"/> + + <property name="Modified" type="t" access="read"/> + + <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="(oayays)" direction="out"/> + </method> + + <method name="SetSecret"> + <arg name="secret" type="(oayays)" direction="in"/> + </method> + + </interface> + + + <interface name="org.freedesktop.Secret.Session"> + + <method name="Close"> + </method> + + </interface> + + <interface name="org.freedesktop.Secret.Prompt"> + + <method name="Prompt"> + <arg name="window_id" type="s" direction="in"/> + </method> + + <method name="Dismiss"> + </method> + + <signal name="Completed"> + <arg name="dismissed" type="b"/> + <arg name="result" type="v"/> + </signal> + </interface> +s +</node> |