- README.md: Examples' link fixed for pypi.
- Package's
__init__.py
:__version__
added.
- README.md: Installation instructions added.
- auth_required():
user_class
parameter added which ensures the authenticated user is an instance of given type. - Mixed auth example implemented.
APIKeyAuthBackend
andAuthBackendsWrapper
auth backends implemented.- APIKey authentication example added.
- JWTAuthBackend:
get_user
option added for handling more complex authentication. auth_required()
's default security dependency removed.
auth_required()
will not enable swagger's authorize button by itself anymore. You can set security dependencies as app/router dependencies instead.