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.
Closes #121
Place the
GET /package
(lookup_package_info
function) behind authentication by addingvalidate_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.