From 28c2a79b22405dcc848633bdaff0dd716520b4b5 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Tue, 14 Jun 2011 12:55:28 +0300 Subject: agent: Add documentation about WISPr-enabled hotspot input request. --- doc/agent-api.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'doc') 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" } -- cgit v1.2.3