vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
5 stars 1 forks source link

Place GET /package behind auth #130

Closed Robin5605 closed 1 year ago

Robin5605 commented 1 year ago

Closes #121

Place the GET /package (lookup_package_info function) behind authentication by adding validate_token as a dependency. We don't actually are about the actual credentials, only that it's valid, so it's in the path operation decorator instead of as a function argument.