Metadata-Version: 2.1
Name: djangorestframework_simplejwt_captcha
Version: 1.1.5
Summary: A minimal JSON Web Token
Home-page: https://github.com/SimpleJWT/django-rest-framework-simplejwt
Author: juks9527
Author-email: 15507925675xiao@gmail.com
License: MIT
Description: # Simple JWT
        
        ![License](https://img.shields.io/badge/license-Apache%202-blue)
        
        
        ## Abstract
        
        
        Simple JWT is a JSON Web Token authentication plugin for the Django REST
        
        Framework ![http://www.django-rest-framework.org/]()
        
        For full documentation, visit django-rest-framework-simplejwt.readthedocs.io
        ![https://django-rest-framework-simplejwt.readthedocs.io/en/latest/]()
        
        
        二次开发的Simple JWT
        ## Installation
        
        You can use this command to install this package:
        
        
        ```markdown
        pip3 install djangorestframework_simplejwt_captcha
        ```
        
        
        
        ## Usage
        
        
        ```markdown
        from djangorestframework_simplejwt_captcha.views import TokenObtainPairView,TokenRefreshView,ImageInfo
        
        urlpatterns = [
            path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
            path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
            path('api/images_captcha/',ImageInfo.as_view(), name='images_captcha'),
        
        ]
        ```
        
        - api/images_captcha 是获取图片base64和uuid
        - api/token/是登录获取jwt
        
        ```markdown
        传入4个参数
        - username
        - password
        - uuid          # 获取上一个api 的uuid
        - captcha       # 图片验证码
        ```
        
        - api/token/refresh     刷新token
        
        
        
        
        ## For more information, see here
        ### 验证码有效期是120秒
        
        ![https://github.com/SimpleJWT/django-rest-framework-simplejwt/issues/207]()
        
        
        
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: test
Provides-Extra: lint
Provides-Extra: doc
Provides-Extra: dev
Provides-Extra: python-jose
