Fastapi-auth-utils

Latest version: v1.1.2

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.2

- README.md: Examples' link fixed for pypi.
- Package's `__init__.py`: `__version__` added.

1.1.1

- README.md: Installation instructions added.

1.1.0

Added:
- auth_required(): `user_class` parameter added which ensures the authenticated user is an instance of given type.
- Mixed auth example implemented.

1.0.0

Added:
- `APIKeyAuthBackend` and `AuthBackendsWrapper` auth backends implemented.
- APIKey authentication example added.

Modified:
- JWTAuthBackend: `get_user` option added for handling more complex authentication.
- `auth_required()`'s default security dependency removed.

Breaking changes:
- `auth_required()` will not enable swagger's authorize button by itself anymore. You can set security dependencies as app/router dependencies instead.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.