about summary refs log tree commit diff
path: root/introspection/org.freedesktop.NetworkManager.AgentManager.xml
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-01-17 20:25:47 +0100
committerMichael Biebl <biebl@debian.org>2017-01-17 20:25:47 +0100
commitbed53db3e064450b56e23ec654f40a3bafe58815 (patch)
tree314508d6c904b1224dab2070e0cfdd5a02d7dd89 /introspection/org.freedesktop.NetworkManager.AgentManager.xml
parent7135a6e87c938139e3a5db121d62dcaa783345d1 (diff)
parent58f8be580039b0575b197b9573a1c92745d96d30 (diff)
Merge tag 'upstream/1.5.90' into experimental
Upstream version 1.5.90
Diffstat (limited to 'introspection/org.freedesktop.NetworkManager.AgentManager.xml')
-rw-r--r--introspection/org.freedesktop.NetworkManager.AgentManager.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.AgentManager.xml b/introspection/org.freedesktop.NetworkManager.AgentManager.xml
new file mode 100644
index 00000000..86b4404a
--- /dev/null
+++ b/introspection/org.freedesktop.NetworkManager.AgentManager.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/org/freedesktop/NetworkManager/AgentManager">
+  <interface name="org.freedesktop.NetworkManager.AgentManager">
+
+    <!--
+        Register:
+        @identifier: Identifies this agent; only one agent in each user session may use the same identifier. Identifier formatting follows the same rules as D-Bus bus names with the exception that the ':' character is not allowed. The valid set of characters is "[A-Z][a-z][0-9]_-." and the identifier is limited in length to 255 characters with a minimum of 3 characters. An example valid identifier is 'org.gnome.nm-applet' (without quotes).
+
+        Called by secret Agents to register their ability to provide and save
+        network secrets.
+    -->
+    <method name="Register">
+      <arg name="identifier" type="s" direction="in"/>
+    </method>
+
+    <!--
+        RegisterWithCapabilities:
+        @identifier: See the Register() method's identifier argument.
+        @capabilities: (<link linkend="NMSecretAgentCapabilities">NMSecretAgentCapabilities</link>) Indicates various agent capabilities to NetworkManager.
+
+        Like Register() but indicates agent capabilities to NetworkManager.
+    -->
+    <method name="RegisterWithCapabilities">
+      <arg name="identifier" type="s" direction="in"/>
+      <arg name="capabilities" type="u" direction="in"/>
+    </method>
+
+    <!--
+        Unregister:
+
+        Called by secret Agents to notify NetworkManager that they will no longer
+        handle requests for network secrets. Agents are automatically unregistered
+        when they disconnect from D-Bus.
+    -->
+    <method name="Unregister"/>
+  </interface>
+</node>