Django-rest-knox

Latest version: v4.2.0

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

Scan your dependencies

Page 2 of 5

3.4.0

Our release cycle was broken since 3.1.5, hence you can not find the previous releases on pypi. We now fixed the problem.

- Adds optional token limit
- \129, \128 fixed
- Changelog and Readme converted to markdown
- Auth header prefix is now configurable
- We ensure not to have flake8 errors in our code during our build
- MIN_REFRESH_INTERVAL is now a configurable setting

3.3.1

- Ensure compatibility with Django 2.1 up to Python 3.7

3.3.0

- **Breaking changes**: Successful authentication **ONLY** returns
`Token` object by default
now.`USER_SERIALIZER` must be overridden to return more
data.

- Introduce new setting `MIN_REFRESH_INTERVAL` to configure the time
interval (in seconds) to wait before a token is automatically refreshed.

3.2.1

- Fix !111: Avoid knox failing if settings are not overwritten

3.2.0

- Introduce new setting AUTO_REFRESH for controlling if token expiry time should be extended automatically

3.1.5

- Make AuthTokenAdmin more compatible with big user tables
- Extend docs regarding usage of Token Authentication as single authentication method.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.