diff options
author | Dan Williams <dcbw@redhat.com> | 2013-06-18 09:32:53 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-07-31 08:16:40 -0500 |
commit | cc924d8bab1ffd8770116fb822e5d864050d08f2 (patch) | |
tree | 0ebdd14b8ab6bde5ea224469019672c60e579f16 /libnm-glib/libnm-glib-vpn.ver | |
parent | eacd4cf8f94b2ff883aa75847e1c118e81d01a86 (diff) | |
download | NetworkManager-cc924d8bab1ffd8770116fb822e5d864050d08f2.tar.gz |
libnm-glib-vpn: add support for interactive secrets requests
There are three additions to the D-Bus interface for VPN plugins as
part of this patch:
1) ConnectInteractive(): called by NM instead of Connect() to let
the plugin know that it can request additional secrets during the
connection process using SecretsRequired
2) SecretsRequired: a new signal emitted by the plugin to indicate
to NetworkManager that additional secrets are required to connect;
can only be called if NetworkManager initiated the connection by
calling the ConnectInteractive() method
3) NewSecrets(): a new method of the plugin that NetworkManager calls
when new secrets requested by the SecretsRequired signal have been
retrieved from secret agents
We need new methods because agents need to be aware of the hints that
the VPN plugins may send with the SecretsRequired signal (detailing
the specific secrets that are required) and at this time, not all
agents support passing those hints to the VPN plugin authentication
dialogs.
Diffstat (limited to 'libnm-glib/libnm-glib-vpn.ver')
-rw-r--r-- | libnm-glib/libnm-glib-vpn.ver | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-glib/libnm-glib-vpn.ver b/libnm-glib/libnm-glib-vpn.ver index 9d2bad5e2d..b2e763b2a6 100644 --- a/libnm-glib/libnm-glib-vpn.ver +++ b/libnm-glib/libnm-glib-vpn.ver @@ -7,6 +7,7 @@ global: nm_vpn_plugin_get_connection; nm_vpn_plugin_get_state; nm_vpn_plugin_get_type; + nm_vpn_plugin_secrets_required; nm_vpn_plugin_set_ip4_config; nm_vpn_plugin_set_login_banner; nm_vpn_plugin_set_state; |