Django-OTP:这是使用Django测试python otp包的方法

时间:2021-02-09 15:43:59
【文件属性】:
文件名称:Django-OTP:这是使用Django测试python otp包的方法
文件大小:15.57MB
文件格式:ZIP
更新时间:2021-02-09 15:43:59
Python OTP-in-django 在您的Django项目中实现OTP功能的快速简单的技术。 需要的Python软件包: pyotp, base64, django, django-rest-framework API调用 得到 这是为了将手机号码注册到数据库中并生成OTP。 http://127.0.0.1:8000/verify/9999999999/ 开机自检 这是为了使用OTP验证手机号码。 http://127.0.0.1:8000/verify/9999999999/ 数据: { "otp":040301 }
【文件预览】:
Django-OTP-master
----heroku 1.9.5 (2).zip(13.65MB)
----otp()
--------wsgi.py(383B)
--------__init__.py(0B)
--------settings.py(3KB)
--------asgi.py(383B)
--------urls.py(805B)
----verification()
--------models.py(405B)
--------apps.py(99B)
--------__init__.py(0B)
--------views.py(2KB)
--------admin.py(127B)
--------tests.py(60B)
--------urls.py(175B)
----requirements.txt(158B)
----manage.py(623B)
----.gitignore(2KB)
----otpenv()
--------bin()
--------pip-selfcheck.json(61B)
--------include()
----README.md(480B)

网友评论