add nfc pam module
[apps/agl-service-data-persistence.git] / ll-auth-binding / htdocs / auth.html
1 <html>
2     <head>
3         <title>ll-auth-binding test</title>
4         <script type="text/javascript" src="AFB-websock.js"></script>
5         <script type="text/javascript" src="IdentityBinding.js"></script>
6     </head>
7     
8     <body onload="init();">
9         <h1>Identity Binding</h1>
10         <button id="connected" onclick="init()">Binder WS Fail</button>
11         <br>
12         <ol>
13             <!--
14             <li><button onclick="callbinder('ll-auth','login', {})">login</button></li>
15             <li><button onclick="callbinder('ll-auth','logout', {})">logout</button></li>
16             -->
17             <li><button onclick="callbinder('ll-auth','getuser', {})">get user</button></li>
18         </ol>
19         <br>
20         <div>
21         </div>
22             <h2>User:</h2>
23             <ol>
24                 <li>id: <span id="userid"></span></li>
25                 <li>device: <span id="device"></span></li>
26             </ol>
27             <div id="message" style="color:red;"></div>
28         <br/>
29         <div id="main" style="visibility:hidden">
30             <h2>Debug: </h2>
31             <ol>
32                 <li>Question <div id="question"></div></li>
33                 <li>Response <div id="output"></div></li>
34                 <li>Events: <div id="outevt"></div></li>
35             </ol>
36         </div>
37     </body>
38 </html>