Closed import-pandas-as-numpy closed 1 year ago
Why is this auth different than every other endpoint?
We put it there because we just want to check if the user has valid credentials, we don't actually care what those credentials are. They go in the decorator to address this. This page from the FastAPI docs has more information on this.
[x] #121 https://github.com/vipyrsec/dragonfly-mainframe/blob/b438ad625aab864f1ac4341f4e0ea0f88fad5312/src/mainframe/endpoints/package.py#L106
[x] Why is this auth different than every other endpoint? https://github.com/vipyrsec/dragonfly-mainframe/blob/b438ad625aab864f1ac4341f4e0ea0f88fad5312/src/mainframe/endpoints/rules.py#L9