diff options
| author | José Padilla | 2014-01-18 23:51:18 -0500 | 
|---|---|---|
| committer | José Padilla | 2014-01-18 23:51:18 -0500 | 
| commit | 1c34051f5edcb7cddae63fc02b0a21d6e5fc1143 (patch) | |
| tree | 2d7a6b9f4e46b9547c9a5db068bd0116e16e56bd | |
| parent | 47f5bd488d18d4b583605fd55367f04b54306b11 (diff) | |
| download | django-rest-framework-1c34051f5edcb7cddae63fc02b0a21d6e5fc1143.tar.bz2 | |
Include the djangorestframework-jwt package
| -rwxr-xr-x | docs/api-guide/authentication.md | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index 53efc49a..dc8e2099 100755 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -389,6 +389,10 @@ The [Django OAuth Toolkit][django-oauth-toolkit] package provides OAuth 2.0 supp  The [Django OAuth2 Consumer][doac] library from [Rediker Software][rediker] is another package that provides [OAuth 2.0 support for REST framework][doac-rest-framework].  The package includes token scoping permissions on tokens, which allows finer-grained access to your API. +## JSON Web Token Authentication + +JSON Web Token is a fairly new standard which can be used for token-based authentication. Unlike the built-in TokenAuthentication scheme, JWT Authentication doesn't need to use a database to validate a token. [Blimp][blimp] maintains the [djangorestframework-jwt][djangorestframework-jwt] package which provides a JWT Authentication class as well as a mechanism for clients to obtain a JWT given the username and password. +  [cite]: http://jacobian.org/writing/rest-worst-practices/  [http401]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2  [http403]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4 @@ -413,3 +417,5 @@ The [Django OAuth2 Consumer][doac] library from [Rediker Software][rediker] is a  [doac]: https://github.com/Rediker-Software/doac  [rediker]: https://github.com/Rediker-Software  [doac-rest-framework]: https://github.com/Rediker-Software/doac/blob/master/docs/integrations.md# +[blimp]: https://github.com/GetBlimp +[djangorestframework-jwt]: https://github.com/GetBlimp/django-rest-framework-jwt | 
