winget-run / api

winget.run rest api
46 stars 4 forks source link

Auth middleware #105

Closed Dragon1320 closed 4 years ago

Dragon1320 commented 4 years ago

Currently we have to duplicate a bunch of code every time we want to protect a route with a token, make this a fastify plugin instead, this will also contribute towards eventually having proper auth/tokens.