From: Patrik Flykt <[email protected]>
Add OpenConnect.Cookie and Hostname fields for requesting an agent
to go to connect to the specified host and fetch a cookie to be used
by openconnect. Define a new argument 'Value' to contain the name of
the host.
---
doc/agent-api.txt | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index 14b2e50..a8da3f1 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -90,6 +90,19 @@ Fields string Name
Password for WISPr authentication. This field will be
requested when connecting to a WISPr-enabled hotspot.
+ string Hostname
+
+ Hostname provided for OpenConnect VPN authentication.
+
+ string OpenConnect.Cookie
+
+ OpenConnect VPN Cookie of type "string". Requested
+ when authenticating to an OpenConnect VPN. The Agent
+ needs to use the supplied hostname and query the host
+ over HTTPS for the cookie, possibly asking the user
+ for username/password and performing a login to the
+ HTTPS page.
+
Arguments string Type
Contains the type of a field. For example "psk", "wep"
@@ -113,6 +126,12 @@ Arguments string Type
Contains the list of alternate field names this
field can be represented by.
+ string Value
+
+ Contains information for the Agent. Currently used
+ only by the "Hostname" field.
+
+
Examples Requesting a passphrase for WPA2 network
RequestInput("/service1",
--
1.7.2.5
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman