Commit graph

3 commits

Author SHA1 Message Date
Augusto Dwenger
6ce7d15af9 Add test to the auth middleware 2020-10-30 14:41:15 +01:00
Augusto Dwenger
b07ffc5f7e Impement auth middleware
The middleware checks for the presents of a 'Token' header and
if the provided token is valid. It adds a authorization layer with
some basic configuration options.
2020-10-30 12:18:26 +01:00
Augusto Dwenger
2ae33c6e1b Add default middlewares
Add request logging middleware
Add panic recover middleware
2020-10-30 11:31:57 +01:00