Skip to content

Commit fc2e98c

Browse files
committed
Merge pull request #3400 from James1345/master
added knox package reference to 3rd party auth apps
2 parents b7d77d5 + 6baca94 commit fc2e98c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/api-guide/authentication.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@ HTTP Signature (currently a [IETF draft][http-signature-ietf-draft]) provides a
360360

361361
[Django-rest-auth][django-rest-auth] library provides a set of REST API endpoints for registration, authentication (including social media authentication), password reset, retrieve and update user details, etc. By having these API endpoints, your client apps such as AngularJS, iOS, Android, and others can communicate to your Django backend site independently via REST APIs for user management.
362362

363+
## django-rest-knox
364+
365+
[Django-rest-knox][django-rest-knox] library provides models and views to handle token based authentication in a more secure and extensible way than the built-in TokenAuthentication scheme - with Single Page Applications and Mobile clients in mind. It provides per-client tokens, and views to generate them when provided some other authentication (usually basic authentication), to delete the token (providing a server enforced logout) and to delete all tokens (logs out all clients that a user is logged into).
366+
363367
[cite]: http://jacobian.org/writing/rest-worst-practices/
364368
[http401]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2
365369
[http403]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4
@@ -400,3 +404,4 @@ HTTP Signature (currently a [IETF draft][http-signature-ietf-draft]) provides a
400404
[mac]: http://tools.ietf.org/html/draft-hammer-oauth-v2-mac-token-05
401405
[djoser]: https://github.com/sunscrapers/djoser
402406
[django-rest-auth]: https://github.com/Tivix/django-rest-auth
407+
[django-rest-knox]: https://github.com/James1345/django-rest-knox

0 commit comments

Comments
 (0)