Add authentication and authorization

Use session cookie plus in-memory server sessions scheme.
Add /login /logout POST routes: {"data": ["username", "password"]}.
Add authorization plugin with arbitrary authorization callbacks.
Add valid user and user in group authorization callbacks.
Require valid user authorization for all routes (besides login/logout).
1 file changed
tree: 74c9fdecbe5b65db1eea4f8ecad6d861dc1f649c
  1. cert.pem
  2. LICENSE
  3. obmc-rest
  4. setup.cfg
  5. setup.py