* [x] Create `/v1/auth` for login (get jwt token) * [x] Docs `/v1/auth` * [x] Fix `/v1/ws` to **client** informs at the initial connection the token data * [x] Think about the WebSocket Token and the login (change the token will be drops the websocket token based connection?) * [x] Auth the handlers * [x] Not requires auth from WebService Socket? * [x] User with a random password for others components Docs and auth: Update all docs api Header * [x] Authentication * [x] Plugins Management * [x] Banks Management * [x] Bank Management * [x] Pedalboard Management * [x] Pedalboard Data Management * [x] Effect Management * [x] Param Management * [x] Effect connection Management * [x] Current Management * [x] Move * [x] Configurations * [x] Component Data * [x] WebSocket ``` curl -H 'Authorization:bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MjEwNzYxOTh9.ZmX3gSjzV-aMzlW77ug0KGnzx7CopKJA7Q2HV7HONOM' http://localhost:3000/v1/current/data ``` - Cookie based - http://www.tornadoweb.org/en/stable/guide/security.html - http://guillaumevincent.com/2013/02/12/Basic-authentication-on-Tornado-with-a-decorator.html - JWT Json Web Token: https://jwt.io/ - ~https://github.com/vsouza/JWT-Tornado~ (see issue) - http://www.codekraft.co/python/json-web-token-com-tornado/ - https://github.com/paulorodriguesxv/tornado-json-web-token-jwt - https://steelkiwi.com/blog/jwt-authorization-python-part-1-practise/
/v1/authfor login (get jwt token)/v1/auth/v1/wsto client informs at the initial connection the token dataDocs and auth: Update all docs api Header
Cookie based
JWT Json Web Token: https://jwt.io/
https://github.com/vsouza/JWT-Tornado(see issue)