summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/agent-api.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index c9a0b0f2..14b2e50a 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -80,6 +80,16 @@ Fields string Name
method, or a pin code if user wants to use the pin
method.
+ string Username
+
+ Username for WISPr authentication. This field will be
+ requested when connecting to a WISPr-enabled hotspot.
+
+ string Password
+
+ Password for WISPr authentication. This field will be
+ requested when connecting to a WISPr-enabled hotspot.
+
Arguments string Type
Contains the type of a field. For example "psk", "wep"
@@ -164,3 +174,16 @@ Examples Requesting a passphrase for WPA2 network
}
==> { "Identity" : "bob", "Passphrase": "secret123" }
+
+ Requesting username and password for a WISPr-enabled hotspot:
+
+ RequestInput("/service5",
+ { "Username" : { "Type" : "string",
+ "Requirement" : "mandatory"
+ },
+ "Password" : { "Type" : "passphrase",
+ "Requirement" : "mandatory"
+ }
+ }
+
+ ==> { "Username" : "foo", "Password": "secret" }