WebAPI/WebSocketOverApps: Difference between revisions

Line 43: Line 43:
  }
  }


== Work with DeviceIndexedDB ==
== Work with DeviceIndexedDB or other Application Choosers ==
[[WebAPI/DeviceIndexedDB]] can be used as the API of application chooser, so we can request application chooser to return a list of applications that the user allow the app to connect to.  The list returned by an application chooser can be some kind of tokens that the app can use a token as the URL to connect to.
 
The tokenss must be some kind of opaque data that can not be passed to other Apps, only valid for the app it-self.  For security reason, the tokens should not be reversed to the server Apps, so the token holder can not tell what app it connect to by a token.


== Use Case ==
== Use Case ==
Confirmed users
398

edits