XCloud for the new XKit extension.
The server also has 2 calls for checking if the server is running and a call for checking version numbers. Currently these are hard coded but we could redirect to a file stored on github for convenience.
XCloud extension is currently passing md5 passwords to the server.
Once received a BCrypts hash is computed and stored.
Mimic of the old XCloud server.
- XKit creates a user on the browser and then sends a username and password (md5 hashed) to the server.
- The server BCrypts the password and stores it.
- XKit sends a username and password to the server, server returns with a success or failure.
- Upon success XKit caches the username and password.
- XKit appends all of the extension information to one json document
- XKit encodes it uses base64. After encoding XCS is prepended and XCE is appended
- XKit uploads the encoded preferences with a username and password to the server..
- The server authenticates the call and then stores the base64 encoded string.
- XKit sends a username and password to the sever.
- The server authenticates and servers the encoded preferences back
- XKit restores the settings based on the encoded preferences.
##Version 2 Enhancement to XCloud.