Flask-HTTPAuth:简单的扩展,为Flask路由提供基本,摘要和令牌HTTP身份验证

上传者: 42121905 | 上传时间: 2025-05-17 22:27:58 | 文件大小: 58KB | 文件类型: ZIP
Flask-HTTPAuth 简单扩展,为Flask路由提供基本和摘要HTTP身份验证。 安装 安装它的最简单方法是通过pip。 pip install Flask-HTTPAuth 基本身份验证示例 from flask import Flask from flask_httpauth import HTTPBasicAuth from werkzeug . security import generate_password_hash , check_password_hash app = Flask ( __name__ ) auth = HTTPBasicAuth () users

文件下载

资源详情

[{"title":"( 46 个子文件 58KB ) Flask-HTTPAuth:简单的扩展,为Flask路由提供基本,摘要和令牌HTTP身份验证","children":[{"title":"Flask-HTTPAuth-master","children":[{"title":"MANIFEST.in <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"mkchangelog.py <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"release <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"flask_httpauth.py <span style='color:#111;'> 13.86KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"conf.py <span style='color:#111;'> 7.98KB </span>","children":null,"spread":false},{"title":"make.bat <span style='color:#111;'> 6.56KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 6.63KB </span>","children":null,"spread":false},{"title":"_themes","children":[{"title":"flask","children":[{"title":"relations.html <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"static","children":[{"title":"flasky.css_t <span style='color:#111;'> 8.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout.html <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"theme.conf <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"flask_small","children":[{"title":"static","children":[{"title":"flasky.css_t <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout.html <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"theme.conf <span style='color:#111;'> 184B </span>","children":null,"spread":false}],"spread":true},{"title":"flask_theme_support.py <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.rst <span style='color:#111;'> 21.05KB </span>","children":null,"spread":false},{"title":"_static","children":[{"title":"index.html <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"tests.yml <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tests","children":[{"title":"test_basic_verify_password.py <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"test_basic_hashed_password.py <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"test_error_responses.py <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"test_digest_get_password.py <span style='color:#111;'> 7.72KB </span>","children":null,"spread":false},{"title":"test_digest_ha1_password.py <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"test_multi.py <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"test_token.py <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_basic_get_password.py <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"test_digest_custom_realm.py <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"test_roles.py <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"test_basic_custom_realm.py <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"tox.ini <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"CHANGES.md <span style='color:#111;'> 14.73KB </span>","children":null,"spread":false},{"title":"AUTHORS <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"token_auth.py <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"roles_auth.py <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"multi_auth.py <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"basic_auth.py <span style='color:#111;'> 1015B </span>","children":null,"spread":false}],"spread":true},{"title":"setup.py <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明