Skip to content

Commit d5896b9

Browse files
authored
Merge pull request #5251 from davesque/master
Add information in docs about djangorestframework-simplejwt package
2 parents 75fec24 + 4091607 commit d5896b9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/api-guide/authentication.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ The [Django OAuth2 Consumer][doac] library from [Rediker Software][rediker] is a
330330

331331
## JSON Web Token Authentication
332332

333-
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.
333+
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. An alternative package for JWT authentication is [djangorestframework-simplejwt][djangorestframework-simplejwt] which provides different features as well as a pluggable token blacklist app.
334334

335335
## Hawk HTTP Authentication
336336

@@ -388,6 +388,7 @@ HTTP Signature (currently a [IETF draft][http-signature-ietf-draft]) provides a
388388
[doac-rest-framework]: https://github.com/Rediker-Software/doac/blob/master/docs/integrations.md#
389389
[blimp]: https://github.com/GetBlimp
390390
[djangorestframework-jwt]: https://github.com/GetBlimp/django-rest-framework-jwt
391+
[djangorestframework-simplejwt]: https://github.com/davesque/django-rest-framework-simplejwt
391392
[etoccalino]: https://github.com/etoccalino/
392393
[djangorestframework-httpsignature]: https://github.com/etoccalino/django-rest-framework-httpsignature
393394
[amazon-http-signature]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html

docs/topics/third-party-packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
185185
* [django-oauth-toolkit][django-oauth-toolkit] - Provides OAuth 2.0 support.
186186
* [doac][doac] - Provides OAuth 2.0 support.
187187
* [djangorestframework-jwt][djangorestframework-jwt] - Provides JSON Web Token Authentication support.
188+
* [djangorestframework-simplejwt][djangorestframework-simplejwt] - An alternative package that provides JSON Web Token Authentication support.
188189
* [hawkrest][hawkrest] - Provides Hawk HTTP Authorization.
189190
* [djangorestframework-httpsignature][djangorestframework-httpsignature] - Provides an easy to use HTTP Signature Authentication mechanism.
190191
* [djoser][djoser] - Provides a set of views to handle basic actions such as registration, login, logout, password reset and account activation.
@@ -284,6 +285,7 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
284285
[django-oauth-toolkit]: https://github.com/evonove/django-oauth-toolkit
285286
[doac]: https://github.com/Rediker-Software/doac
286287
[djangorestframework-jwt]: https://github.com/GetBlimp/django-rest-framework-jwt
288+
[djangorestframework-simplejwt]: https://github.com/davesque/django-rest-framework-simplejwt
287289
[hawkrest]: https://github.com/kumar303/hawkrest
288290
[djangorestframework-httpsignature]: https://github.com/etoccalino/django-rest-framework-httpsignature
289291
[djoser]: https://github.com/sunscrapers/djoser

0 commit comments

Comments
 (0)