diff options
author | David Zeuthen <davidz@redhat.com> | 2009-02-08 11:37:35 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-02-08 11:37:35 -0500 |
commit | 41fbdb3e0802d07eca4c96526d278001d22cb1ff (patch) | |
tree | 203857a91a9083498f712e127d7c0fc8f2942307 /data | |
parent | 21cdbad09bd3f9790c5e57ddfecbd0ef538b9c2c (diff) | |
download | polkit-41fbdb3e0802d07eca4c96526d278001d22cb1ff.tar.gz |
make authentication agents pass a session_id parameter
The session_id has got to be empty for now. The thinking is that in
the future we might want to register an authentication agent that runs
in secure desktop, e.g. a separate session from the user session.
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.PolicyKit1.Authority.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml index 711dc4a..2057bd6 100644 --- a/data/org.freedesktop.PolicyKit1.Authority.xml +++ b/data/org.freedesktop.PolicyKit1.Authority.xml @@ -198,7 +198,11 @@ </method> <method name="RegisterAuthenticationAgent"> - <annotation name="org.gtk.EggDBus.DocString" value="Register an authentication agent."/> + <annotation name="org.gtk.EggDBus.DocString" value="<para>Register an authentication agent.</para><para>Note that current versions of PolicyKit will only work if @session_id is set to the empty string. In the future it might work for non-empty strings if the caller is sufficiently privileged.</para>"/> + + <arg name="session_id" direction="in" type="s"> + <annotation name="org.gtk.EggDBus.DocString" value="The session to register the authentication for or blank for the session the caller of the method is in."/> + </arg> <arg name="object_path" direction="in" type="s"> <annotation name="org.gtk.EggDBus.DocString" value="The object path of authentication agent object on the unique name of the caller."/> @@ -208,6 +212,10 @@ <method name="UnregisterAuthenticationAgent"> <annotation name="org.gtk.EggDBus.DocString" value="Unregister an authentication agent."/> + <arg name="session_id" direction="in" type="s"> + <annotation name="org.gtk.EggDBus.DocString" value="The session identifier passed to org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent()."/> + </arg> + <arg name="object_path" direction="in" type="s"> <annotation name="org.gtk.EggDBus.DocString" value="The object path of authentication agent object on the unique name of the caller."/> </arg> |