summaryrefslogtreecommitdiffstats
path: root/ll-auth-binding/htdocs/auth.html
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2017-07-11 06:36:33 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2017-07-11 06:36:33 +0200
commit0455a7401f9f0f9bfad82c5ddf04f7dd70b0b852 (patch)
tree819bc150cb62c8eb344656086bbb52892f5288b8 /ll-auth-binding/htdocs/auth.html
parent66b90d26cfd555b2aa5fef67d31e539a70256719 (diff)
first somewhat working version.
Change-Id: I3101dc6b8add87eccac3bbf177b1320137f72463 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'll-auth-binding/htdocs/auth.html')
-rw-r--r--ll-auth-binding/htdocs/auth.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/ll-auth-binding/htdocs/auth.html b/ll-auth-binding/htdocs/auth.html
new file mode 100644
index 0000000..6e0da89
--- /dev/null
+++ b/ll-auth-binding/htdocs/auth.html
@@ -0,0 +1,28 @@
+<html>
+ <head>
+ <title>ll-auth-binding test</title>
+ <script type="text/javascript" src="AFB-websock.js"></script>
+ <script type="text/javascript" src="IdentityBinding.js"></script>
+ </head>
+
+ <body onload="init();">
+ <h1>Identity Binding</h1>
+ <button id="connected" onclick="init()">Binder WS Fail</button>
+ <br>
+ <ol>
+ <!--
+ <li><button onclick="callbinder('ll-auth','login', {})">login</button></li>
+ <li><button onclick="callbinder('ll-auth','logout', {})">logout</button></li>
+ -->
+ <li><button onclick="callbinder('ll-auth','getuser', {})">get user</button></li>
+ </ol>
+ <br>
+ <div id="main" style="visibility:hidden">
+ <ol>
+ <li>Question <div id="question"></div></li>
+ <li>Response <div id="output"></div></li>
+ <li>Events: <div id="outevt"></div>
+ </ol>
+ </div>
+ </body>
+</html> \ No newline at end of file