@@ -4,15 +4,15 @@ django-rest-knox
44[ ![ Jazzband] ( https://jazzband.co/static/img/badge.svg )] ( https://jazzband.co/ )
55[ ![ image] ( https://github.com/jazzband/django-rest-knox/workflows/Test/badge.svg?branch=develop )] ( https://github.com/jazzband/django-rest-knox/actions )
66
7- Authentication Module for django rest auth
7+ Authentication module for Django rest auth.
88
9- Knox provides easy to use authentication for [ Django REST
9+ Knox provides easy-to- use authentication for [ Django REST
1010Framework] ( https://www.django-rest-framework.org/ ) The aim is to allow
11- for common patterns in applications that are REST based, with little
11+ for common patterns in applications that are REST- based, with little
1212extra effort; and to ensure that connections remain secure.
1313
14- Knox authentication is token based, similar to the ` TokenAuthentication `
15- built in to DRF. However, it overcomes some problems present in the
14+ Knox authentication is token- based, similar to the ` TokenAuthentication `
15+ built into DRF. However, it overcomes some problems present in the
1616default implementation:
1717
1818- DRF tokens are limited to one per user. This does not facilitate
@@ -24,13 +24,14 @@ default implementation:
2424 client to have its own token which is deleted on the server side
2525 when the client logs out.
2626
27- Knox also provides an option for a logged in client to remove * all*
27+ Knox also provides an option for a logged- in client to remove * all*
2828 tokens that the server has - forcing all clients to re-authenticate.
2929
3030- DRF tokens are stored unencrypted in the database. This would allow
31- an attacker unrestricted access to an account with a token if the
31+ an attacker unrestricted access to an account with a token if the
3232 database were compromised.
3333
34+
3435 Knox tokens are only stored in a secure hash form (like a password). Even if the
3536 database were somehow stolen, an attacker would not be able to log
3637 in with the stolen credentials.
@@ -44,8 +45,7 @@ More information can be found in the
4445
4546# Run the tests locally
4647
47- If you need to debug a test locally and if you have [ docker] ( https://www.docker.com/ ) installed:
48-
48+ If you need to debug a test locally and if you have [ docker] ( https://www.docker.com/ ) installed,
4949simply run the `` ./docker-run-tests.sh `` script and it will run the test suite in every Python /
5050Django versions.
5151
@@ -56,7 +56,7 @@ Python / Django versions a bit more tricky.
5656
5757Our documentation is generated by [ Mkdocs] ( https://www.mkdocs.org ) .
5858
59- You can refer to their documentation on how to install it locally.
59+ You can refer to their [ documentation] ( https://www.mkdocs.org/user-guide/installation/ ) on how to install it locally.
6060
6161Another option is to use ` mkdocs.sh ` in this repository.
6262It will run mkdocs in a [ docker] ( https://www.docker.com/ ) container.
0 commit comments