Django-rest-knox

Latest version: v5.0.2

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

Scan your dependencies

Page 1 of 5

5.0.2

- Implement AUTO_REFRESH_MAX_TTL to limit total token lifetime when AUTO_REFRESH = True

5.0.1

- Fix migration: retrieve `TOKEN_MODEL` from `knox_settings` instead of Django settings.

5.0.0

- Tokens created prior to this release will no longer work
- Fix migration reverse flow, enable migrate 0
- Various documentation fixes and improvements
- Drop `cryptography` in favor of hashlib
- Make custom AuthModel work
- Token prefix can be set in the setttings
- Drop support for Django 4.0
- Add support for Dango 4.2, 5.0 and Python 3.11 and 3.12
- Cleanup legacy Python 2.0 code
- Fix isort, flake8 usage for Python 3.10 in the test suite
- Update Github actions version
- Upgrade markdown dependency
- Get rid of the `six` library
- Add custom login / logout response support
- Join the jazzband organization
- Add pre-commit hooks
- Add tracking of tests code coverage
- Fix migrations when used in condition with a custom DB
- Improve typing
- Use `self.authenticate_header()` in `authenticate()` method to get auth header prefix

4.2.0

- compatibility with Python up to 3.10 and Django up to 4.0
- integration with github CI instead of travis
- Migration: "salt" field of model "AuthToken" is removed, WARNING: invalidates old tokens!

4.1.0

- Expiry format now defaults to whatever is used Django REST framework
- The behavior can be overridden via EXPIRY_DATETIME_FORMAT setting
- Fully customizable expiry format via format_expiry_datetime
- Fully customizable response payload via get_post_response_data

4.0.1

- Fix for tox config to build Django 2.2 on python 3.6

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.