瓶子友好的WSGI身份验证库/中间件 [英] Bottle-friendly WSGI authentication library/middleware

查看:61
本文介绍了瓶子友好的WSGI身份验证库/中间件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要的是一个轻量级的身份验证/ACL库或中间件,该库或中间件最好能够使用openID(尽管这不是至关重要的),并且可以与Bottle框架很好地兼容(即,也许不使用异常作为内部流控制机制) ).有什么建议吗?

What I need is a lightweight authentication/ACL library or middleware which is preferably capable of openID (though this is not crucial), and would play nice with bottle framework (i.e, maybe not use exceptions as an internal flow-control mechanism). Any suggestions?

对桶有任何想法吗?

推荐答案

我建议您查看 repoze.who 进行身份验证,并 repoze.what 进行授权.它们都被设计为通用的WSGI中间件,并且可以轻松地与任何WSGI框架一起使用.

I suggest you look to repoze.who for authentication and repoze.what for authorization. Both of them are designed to be generic WSGI middleware and easily can work with any of WSGI frameworks.

这篇关于瓶子友好的WSGI身份验证库/中间件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆