Aiohttp-security

Latest version: v0.5.0

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

Scan your dependencies

0.5.0

==================

- Added type annotations.
- Added a reason message when permission is rejected.
- Switched to ``aiohttp.web.AppKey``.
- Reverted change in ``JWTIdentityPolicy`` so identity returns ``str``.

0.4.0

==================

- Bump minimal supported ``aiohttp`` version to 3.2.
- Use ``request.config_dict`` for accessing ``jinja2`` environment. It
allows to reuse jinja rendering engine from parent application.

0.3.0

==================

- Deprecate ``login_required`` and ``has_permission`` decorators.
Use ``check_authorized`` and ``check_permission`` helper functions instead.
- Bump supported ``aiohttp`` version to 3.0+.
- Enable strong warnings mode for test suite, clean-up all deprecation warnings.
- Polish documentation

0.2.0

==================

- Add ``is_anonymous``, ``login_required``, ``has_permission`` helpers. (114)

0.1.2

==================

- Make aiohttp-session optional dependency. (107)

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.