madnerdorg / libreconnect

Plug an arduino to connect it as a websocket
http://madnerd.org
MIT License
5 stars 0 forks source link

Token authentification #12

Open maditnerd opened 7 years ago

maditnerd commented 7 years ago

Instead of using a password, the client should mostly use temporary token. Password will only be used to provided a token to the client.

Token are stored with an expiration date (and ip) into variables.

Token are erased when

Example:

First authentication

Second authentication

Disconnection