summaryrefslogtreecommitdiffstats
path: root/src/org.freedesktop.PolicyKit.AuthenticationAgent.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/org.freedesktop.PolicyKit.AuthenticationAgent.xml')
-rw-r--r--src/org.freedesktop.PolicyKit.AuthenticationAgent.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/org.freedesktop.PolicyKit.AuthenticationAgent.xml b/src/org.freedesktop.PolicyKit.AuthenticationAgent.xml
new file mode 100644
index 0000000..f5aa8ef
--- /dev/null
+++ b/src/org.freedesktop.PolicyKit.AuthenticationAgent.xml
@@ -0,0 +1,15 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.freedesktop.PolicyKit.AuthenticationAgent">
+ <method name="ObtainAuthorization" >
+ <!-- IN: PolicyKit action identifier; see PolKitAction -->
+ <arg direction="in" type="s" name="action_id" />
+ <!-- IN: X11 window ID for the top-level X11 window the dialog will be transient for. -->
+ <arg direction="in" type="u" name="xid" />
+ <!-- IN: Process ID to grant authorization to -->
+ <arg direction="in" type="u" name="pid" />
+ <!-- OUT: whether the user gained the authorization -->
+ <arg direction="out" type="b" name="gained_authorization" />
+ </method>
+ </interface>
+</node>