diff options
author | David Llewellyn-Jones <david.llewellyn-jones@jolla.com> | 2019-11-11 16:01:46 +0200 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2019-11-14 17:26:55 +0100 |
commit | 68b3653f852ad917b104ef9581ca1c0bb0668e93 (patch) | |
tree | 4c83a0edd55acd44882f90d1ea353e31f7a5539f /vpn/vpn-agent.h | |
parent | e6966c28768b2807515cca11fcf7789ef7971cb6 (diff) | |
download | connman-68b3653f852ad917b104ef9581ca1c0bb0668e93.tar.gz |
vpn-agent: Allow control of VPN credential storage/retrieval
When using the VPN the UI can request credentials from the user. These
can optionally be stored if the user selects the option to store them in
the dialogue.
There may be times when the VPN should prevent the user from choosing to
store credentials. This change allows connman to request for them not to
be stored.
Diffstat (limited to 'vpn/vpn-agent.h')
-rw-r--r-- | vpn/vpn-agent.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vpn/vpn-agent.h b/vpn/vpn-agent.h index 1dcaa4ec..89f4e81f 100644 --- a/vpn/vpn-agent.h +++ b/vpn/vpn-agent.h @@ -38,6 +38,10 @@ bool vpn_agent_check_reply_has_dict(DBusMessage *reply); void vpn_agent_append_user_info(DBusMessageIter *iter, struct vpn_provider *provider, const char *username_str); +void vpn_agent_append_allow_credential_storage(DBusMessageIter *iter, + bool allow); +void vpn_agent_append_allow_credential_retrieval(DBusMessageIter *iter, + bool allow); void vpn_agent_append_auth_failure(DBusMessageIter *iter, struct vpn_provider *provider, const char *information); |