summaryrefslogtreecommitdiff
path: root/data/org.freedesktop.PolicyKit1.AuthorityManager.xml
blob: 5c05fcc7e471b6c66e04bef8b7ec6d7749331228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>

  <!-- Authorization struct -->
  <annotation name="org.gtk.EggDBus.DeclareStruct" value="Authorization">
    <annotation name="org.gtk.EggDBus.Struct.Member"  value="s:action_id">
      <annotation name="org.gtk.EggDBus.DocString" value="Identifier for the action the authorization is for"/>
    </annotation>

    <annotation name="org.gtk.EggDBus.Struct.Member"  value="(sa{sv}):subject">
      <annotation name="org.gtk.EggDBus.StructType" value="Subject"/>
      <annotation name="org.gtk.EggDBus.DocString" value="Subject that the authorization applies to"/>
    </annotation>

    <annotation name="org.gtk.EggDBus.Struct.Member"  value="b:is_negative">
      <annotation name="org.gtk.EggDBus.DocString" value="Whether the authorization is negative"/>
    </annotation>
  </annotation>

  <interface name="org.freedesktop.PolicyKit1.AuthorityManager">

    <method name="EnumerateUsers">
      <arg name="users" direction="out" type="a(sa{sv})">
        <annotation name="org.gtk.EggDBus.StructType" value="Identity"/>
      </arg>
    </method>

    <method name="EnumerateGroups">
      <arg name="groups" direction="out" type="a(sa{sv})">
        <annotation name="org.gtk.EggDBus.StructType" value="Identity"/>
      </arg>
    </method>

    <method name="AddAuthorization">
      <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 to add @authorization to"/>
      </arg>
      <arg name="authorization" direction="in" type="(s(sa{sv})b)">
        <annotation name="org.gtk.EggDBus.StructType" value="Authorization"/>
        <annotation name="org.gtk.EggDBus.DocString" value="The authorization to add for @identity"/>
      </arg>
    </method>

    <method name="RemoveAuthorization">
      <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 to remove @authorization from"/>
      </arg>
      <arg name="authorization" direction="in" type="(s(sa{sv})b)">
        <annotation name="org.gtk.EggDBus.StructType" value="Authorization"/>
        <annotation name="org.gtk.EggDBus.DocString" value="The authorization to remove from @identity"/>
      </arg>
    </method>

    <method name="EnumerateAuthorizations">
      <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 to enumerate authorizations for"/>
      </arg>
      <arg name="authorizations" direction="out" type="a(s(sa{sv})b)">
        <annotation name="org.gtk.EggDBus.StructType" value="Authorization"/>
        <annotation name="org.gtk.EggDBus.DocString" value="An array of authorizations for @identity"/>
      </arg>
    </method>

  </interface>
</node>