基于json web令牌的django-rest框架认证
drf-jwt的Python项目详细描述
#rest框架jwt认证
[![生成状态](https://travis-ci.org/Styria-Digital/django-rest-framework-jwt.svg?branch=master)](https://travis-ci.org/Styria-Digital/django-rest-framework-jwt) [![覆盖范围](https://codecov.io/github/Styria-Digital/django-rest-framework-jwt/branch/master/graph/badge.svg)](https://codecov.io/github/Styria-Digital/django-rest-framework-jwt/branch/master)
django rest框架的json web令牌身份验证支持
##概述
此包提供[json web令牌身份验证][jwt auth spec]支持 对于[django rest framework][drf]。
如果您想了解更多关于jwt的信息,请查看以下资源:
- DjangoCon 2014 - JSON Web Tokens [Video][jwt-video] | [Slides][jwt-slides]
- [Auth with JSON Web Tokens][auth-jwt]
- [JWT.io][jwt-io]
##要求
- Python2.7、3.4、3.5、3.6
- Django 1.11、2.0、2.1、2.2
- django rest框架3.7.x,3.8.x
##安装
`bash $ pip install drf-jwt `
##文档和支持
项目的完整文档可在[文档][文档]中找到。
[jwt认证规范]:http://tools.ietf.org/html/draft-ietf-oauth-json-web-token [DRF]:http://django-rest-framework.org/ [JWT视频]:https://www.youtube.com/watch?v=825hodQ61bg [JWT幻灯片]:https://speakerdeck.com/jpadilla/djangocon-json-web-tokens [认证JWT]:http://jpadilla.com/post/73791304724/auth-with-json-web-tokens [JWT IO]:http://jwt.io/ [文档]:http://styria-digital.github.io/django-rest-framework-jwt