flask 用户登录
使用flask开发RESTful架构的api服务器端(3)–简单的RESTful services – Python – 伯乐在线
Flask学习之五 用户登录 – AminHuang – 博客园
Flask开发之Flask-Login 用户登录管理 – 李涛的博客 | Taolee’s Blog
-》flask UserMixin
GitHub – maxcountryman/flask-login: Flask user session management.
Using Flask-Login for User Management with Flask – Real Python
Flask-Login — Flask-Login 0.3.2 documentation
Flask-Security — Flask-Security 1.7.5 documentation
Quick Start — Flask-Security 1.7.5 documentation
flask 用户注册 登录 管理
flask权限管理 – neo1218的笔记 – SegmentFault
-》flask_principal
-》发现:
Flask-Security — Flask-Security 1.7.5 documentation
-》
Flask Principal — Flask Principal 0.4.0 documentation
Welcome to Flask-HTTPAuth’s documentation! — Flask-HTTPAuth documentation
目前看起来是:
Flask-Security是把之前其它常见的,用户注册登录和管理方面的插件:
Flask-Login
Flask-Mail
Flask-Principal
Flask-Script
Flask-WTF
itsdangerous
passlib
都集成进来了(部分是可选的)
所以,尽量先去用:
Flask-Security就好了。
且支持的功能也多:
Session based authentication
Role management
Password encryption
Basic HTTP authentication
Token based authentication
Token based account activation (optional)
Token based password recovery / resetting (optional)
User registration (optional)
Login tracking (optional)
JSON/Ajax Support
底层数据存储支持:
Flask-SQLAlchemy
Flask-MongoEngine
Flask-Peewee