在 Ruby on Rails 应用程序中启用 OpenID 登录的最新技术是什么?这是一个社区 wiki,其中包含该问题的最新答案。
真实逻辑
最先进的身份验证解决方案似乎是真实逻辑 http://github.com/binarylogic/authlogic。它支持 OpenIDAuthlogic OpenID 插件 http://github.com/binarylogic/authlogic_openid。它支持 Rails 4 和 3。rails2 分支支持 Rails 2。
您可能想观看“OpenID 与 Authlogic”railscast http://railscasts.com/episodes/170-openid-with-authlogic(以及“Authlogic”铁路广播 http://railscasts.com/episodes/160-authlogic).
有一个名为的示例应用程序Authlogic OpenID 选择器示例 http://github.com/shripadk/authlogic_openid_selector_example.
Devise
Devise 是 Rails 的灵活身份验证框架。它支持 OpenIDdevise_openid_authenticatable https://github.com/nbudin/devise_openid_authenticatable.
安全认证
另一个选择的身份验证库是restful_authentication http://github.com/technoweenie/restful-authenticationRails 插件。看来你还需要安装open_id_authentication http://github.com/rails/open_id_authentication plugin.
你可能想看(旧的,大约2007年)“OpenID 身份验证”railscast http://railscasts.com/episodes/68-openid-authentication.
Ruby OpenID
对 OpenID 协议的原始支持由Ruby OpenID http://github.com/openid/ruby-openid图书馆。
看看这个OpenId 上的 Railscast http://railscasts.com/episodes/68-openid-authentication了解更多信息。我不确定它是否/如何与restful_authentication一起工作,但可能是一个很好的资源。 (我还没看过)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)