summaryrefslogtreecommitdiff
path: root/introspection/nm-secret-agent.xml
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-01-18 13:19:29 -0600
committerDan Williams <dcbw@redhat.com>2011-01-18 13:19:29 -0600
commita2f36e8bd4afd52c3fa3831b7f843633fc08f8fa (patch)
treea85a80a6b1d954e28d80d4db9abc8980dbeeee93 /introspection/nm-secret-agent.xml
parent7fa1a62cd351a3e50bdc49788c560b6f76164c3c (diff)
downloadNetworkManager-a2f36e8bd4afd52c3fa3831b7f843633fc08f8fa.tar.gz
agent: add CancelGetSecrets D-Bus API
Allows NM to signal to an agent that an in-progress secrets request is no longer needed. This could happen if the device for which the request was started was removed, disabled, or the network being connected to changed, or whatever.
Diffstat (limited to 'introspection/nm-secret-agent.xml')
-rw-r--r--introspection/nm-secret-agent.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/introspection/nm-secret-agent.xml b/introspection/nm-secret-agent.xml
index ec1ac687bd..9ac6950faf 100644
--- a/introspection/nm-secret-agent.xml
+++ b/introspection/nm-secret-agent.xml
@@ -59,6 +59,27 @@
</arg>
</method>
+ <method name="CancelGetSecrets">
+ <tp:docstring>
+ Cancel a pending GetSecrets request for secrets of the given
+ connection. Any matching request should be canceled.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_secret_agent_cancel_get_secrets"/>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <arg name="connection_path" type="o" direction="in">
+ <tp:docstring>
+ Object path of the connection for which, if secrets are being
+ requested, the request should be canceled.
+ </tp:docstring>
+ </arg>
+ <arg name="setting_name" type="s" direction="in">
+ <tp:docstring>
+ Setting name for which secrets for this connection were
+ originally being requested.
+ </tp:docstring>
+ </arg>
+ </method>
+
<method name="SaveSecrets">
<tp:docstring>
Save given secrets to backing storage.