diff options
author | David Zeuthen <davidz@redhat.com> | 2009-01-21 00:27:13 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-01-21 00:27:13 -0500 |
commit | 13821cff7c2d31c9f990f6ac635c773dba060d97 (patch) | |
tree | 6b31d91603ab170c0e06834770a1c4d6f5209979 /data | |
parent | 39427166d5f77945cc21e1458f184e54c02cefe9 (diff) |
finish authentication agent integration
Yay, it works!
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.PolicyKit1.AuthenticationAgent.xml | 6 | ||||
-rw-r--r-- | data/org.freedesktop.PolicyKit1.Authority.xml | 11 |
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> |