简体   繁体   English

使用OpenID的金字塔应用程序

[英]Pyramid application using OpenID

I would like to use OpenID authentication in a small Pyramid web application. 我想在小金字塔Web应用程序中使用OpenID身份验证。 Most projects I found are old and/or their status is unclear. 我发现的大多数项目都很旧和/或状态不明确。 My requirements are quite simple: 我的要求很简单:

I want to protect access to some parts of the app. 我想保护对应用程序某些部分的访问权限。 It's no high security stuff, but I don't want to care about user registration, password encryption, ... No fancy integration of multiple authentication sources, ... 它不是高安全性的东西,但我不想关心用户注册,密码加密,...没有多个认证源​​的精彩集成,......

Is there a simple, known working solution? 有一个简单的,已知的工作解决方案吗?

I used velruse in the past to have OpenID authentication on Pyramid, and it worked well. 我过去使用过velruse在Pyramid上进行OpenID身份验证,效果很好。

However, if what you want is just a way to authenticate users without dealing with the boring parts, Mozilla Persona might be what you are looking for. 但是,如果您想要的只是一种在不处理无聊部分的情况下对用户进行身份验证的方法,那么Mozilla Persona可能就是您所需要的。 One of the advantages over OpenID is that any email address can be used to log in; 与OpenID相比,其中一个优点是可以使用任何电子邮件地址登录; it's not limited to OpenID addresses. 它不仅限于OpenID地址。 There an easy-to use library to use it with persona (disclaimer : I wrote it). 有一个易于使用的库与角色一起使用 (免责声明:我写了它)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM