IndominusByte / fastapi-jwt-auth

FastAPI extension that provides JWT Auth support (secure, easy to use, and lightweight)
http://indominusbyte.github.io/fastapi-jwt-auth/
MIT License
644 stars 150 forks source link

Create methods to expose self._request and self._response #41

Open brunohenriquy opened 3 years ago

brunohenriquy commented 3 years ago

Since _request and _response are named with "underscore" they are considered private. If I access it with Authorize._request or Authorize._response some linters will complain. So I suggest adding a get_request() and get_response().

brunohenriquy commented 3 years ago

What do you think @IndominusByte ?