Closed jet10000 closed 3 years ago
The AuthJWT that was used to inject the engine in the API routes.
Can it be used as a global auth object?
it will dramatically reduce the required verbosity to use the object in an endpoint.
You can check docs FastAPI about Dependencies in path operation decorators, maybe that's what you are looking for
The AuthJWT that was used to inject the engine in the API routes.
Can it be used as a global auth object?
it will dramatically reduce the required verbosity to use the object in an endpoint.