summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.PolicyKit1.AuthenticationAgent.xml6
-rw-r--r--data/org.freedesktop.PolicyKit1.Authority.xml11
2 files changed, 12 insertions, 5 deletions
diff --git a/data/org.freedesktop.PolicyKit1.AuthenticationAgent.xml b/data/org.freedesktop.PolicyKit1.AuthenticationAgent.xml
index 1a2063c..cf0040b 100644
--- a/data/org.freedesktop.PolicyKit1.AuthenticationAgent.xml
+++ b/data/org.freedesktop.PolicyKit1.AuthenticationAgent.xml
@@ -6,7 +6,6 @@
<interface name="org.freedesktop.PolicyKit1.AuthenticationAgent">
<method name="BeginAuthentication">
-
<!-- The action id for the action that the user is authentication for -->
<arg name="action_id" direction="in" type="s"/>
@@ -15,13 +14,10 @@
<!-- A list of identities of that the user can use for authentication -->
<arg name="identities" direction="in" type="a(sa{sv})"/>
-
</method>
- <method name="EndAuthentication">
-
+ <method name="CancelAuthentication">
<arg name="cookie" direction="in" type="s"/>
-
</method>
</interface>
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml
index c21fa84..4a15f74 100644
--- a/data/org.freedesktop.PolicyKit1.Authority.xml
+++ b/data/org.freedesktop.PolicyKit1.Authority.xml
@@ -238,5 +238,16 @@
</arg>
</method>
+ <method name="AuthenticationAgentResponse">
+ <arg name="cookie" direction="in" type="s">
+ <annotation name="org.gtk.EggDBus.DocString" value="The cookie identifying the authentication request that was passed to the authentication agent"/>
+ </arg>
+
+ <arg name="identity" direction="in" type="(sa{sv})">
+ <annotation name="org.gtk.EggDBus.StructType" value="Identity"/>
+ <annotation name="org.gtk.EggDBus.DocString" value="The identity that was authenticated"/>
+ </arg>
+ </method>
+
</interface>
</node>