1 <?xml version="1.0" encoding="UTF-8" ?>
3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
5 <interface name="org.freedesktop.NetworkManager.Settings.Connection">
6 <annotation name="org.gtk.GDBus.DocString" value="
7 Represents a single network connection configuration.
10 <method name="Update">
11 <annotation name="org.gtk.GDBus.DocString" value="
12 Update the connection with new settings and properties (replacing
13 all previous settings and properties) and save the connection to
14 disk. Secrets may be part of the update request, and will be either
15 stored in persistent storage or sent to a Secret Agent for storage,
16 depending on the flags associated with each secret.
18 <arg name="properties" type="a{sa{sv}}" direction="in">
19 <annotation name="org.gtk.GDBus.DocString" value="
20 New connection settings, properties, and (optionally) secrets.
25 <method name="UpdateUnsaved">
26 <annotation name="org.gtk.GDBus.DocString" value="
27 Update the connection with new settings and properties (replacing
28 all previous settings and properties) but do not immediately save
29 the connection to disk. Secrets may be part of the update request
30 and may sent to a Secret Agent for storage, depending on the
31 flags associated with each secret.
33 Use the 'Save' method to save these changes to disk. Note
34 that unsaved changes will be lost if the connection is
35 reloaded from disk (either automatically on file change or
36 due to an explicit ReloadConnections call).
38 <arg name="properties" type="a{sa{sv}}" direction="in">
39 <annotation name="org.gtk.GDBus.DocString" value="
40 New connection settings, properties, and (optionally) secrets.
45 <method name="Delete">
46 <annotation name="org.gtk.GDBus.DocString" value="
47 Delete the connection.
51 <method name="GetSettings">
52 <annotation name="org.gtk.GDBus.DocString" value="
53 Get the settings maps describing this network configuration.
54 This will never include any secrets required for connection
55 to the network, as those are often protected. Secrets must
56 be requested separately using the GetSecrets() call.
58 <arg name="settings" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
59 <annotation name="org.gtk.GDBus.DocString" value="
60 The nested settings maps describing this object.
65 <method name="GetSecrets">
66 <annotation name="org.gtk.GDBus.DocString" value="
67 Get the secrets belonging to this network configuration. Only
68 secrets from persistent storage or a Secret Agent running in
69 the requestor's session will be returned. The user will never
70 be prompted for secrets as a result of this request.
72 <arg name="setting_name" type="s" direction="in">
73 <annotation name="org.gtk.GDBus.DocString" value="
74 Name of the setting to return secrets for. If empty, all
75 all secrets will be returned.
79 <arg name="secrets" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
80 <annotation name="org.gtk.GDBus.DocString" value="
81 Nested settings maps containing secrets.
86 <method name="ClearSecrets">
87 <annotation name="org.gtk.GDBus.DocString" value="
88 Clear the secrets belonging to this network connection profile.
93 <annotation name="org.gtk.GDBus.DocString" value="
94 Saves a "dirty" connection (that had previously been
95 updated with UpdateUnsaved) to persistent storage.
99 <signal name="Updated">
100 <annotation name="org.gtk.GDBus.DocString" value="
101 Emitted when any settings or permissions change. When handling
102 this signal, clients should re-read the connection using the
103 GetSettings method to get the changes and to ensure the client
104 still has permission to access the connection.
108 <signal name="Removed">
109 <annotation name="org.gtk.GDBus.DocString" value="
110 Emitted when this connection is no longer available. This
111 happens when the connection is deleted or if it is no longer
112 accessible by any of the system's logged-in users. After
113 receipt of this signal, the object no longer exists. Also
114 see the Settings.ConnectionRemoved signal.
118 <property name="Unsaved" type="b" access="read">
119 <annotation name="org.gtk.GDBus.DocString" value="
120 If set, indicates that the in-memory state of the
121 connection does not match the on-disk state. This flag
122 will be set when UpdateUnsaved() is called or when any
123 connection details change, and cleared when the connection
124 is saved to disk via Save() or from internal operations.
128 <signal name="PropertiesChanged">
129 <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
130 <annotation name="org.gtk.GDBus.DocString" value="
131 A dictionary mapping property names to variant boxed values.