
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
djangorestframework-simplejwt-captcha
Advanced tools
Simple JWT is a JSON Web Token authentication plugin for the Django REST
Framework
For full documentation, visit django-rest-framework-simplejwt.readthedocs.io
二次开发的Simple JWT
You can use this command to install this package:
pip3 install djangorestframework_simplejwt_captcha
from rest_framework_simplejwt.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'),
]
传入4个参数
- username
- password
- uuid # 获取上一个api 的uuid
- captcha # 图片验证码
FAQs
A minimal JSON Web Token
We found that djangorestframework-simplejwt-captcha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.