摘要:
https://github.com/cameronbwhite/Flask-CAS https://github.com/cameronbwhite/flask-cas-extension-demo/ 阅读全文
posted @ 2018-05-26 20:36
糖豆爸爸
阅读(545)
评论(0)
推荐(0)
摘要:
因为使用restful方式,因此每次用户访问都会上传带入auth_key,如jwt等,因此可在@app.before_request中做权限的检查。 @app.app.before_request def before_request(): #可在此处检查jwt等auth_key是否合法, #abo 阅读全文
posted @ 2018-05-26 20:32
糖豆爸爸
阅读(1347)
评论(0)
推荐(0)