最佳解决方案验证在Ruby on Rails的 [英] Best Solution For Authentication in Ruby on Rails

查看:116
本文介绍了最佳解决方案验证在Ruby on Rails的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个pre-内置的解决方案,我可以在我的RoR应用程序使用。我的理想寻找类似于ASP.NET窗体身份验证提供电子邮件验证,注册控件,并允许用户重置其密码的东西。哦,是的,而且容易让我拉当前登录到应用程序的用户。

I'm looking for a pre-built solution I can use in my RoR application. I'm ideally looking for something similar to the ASP.NET Forms authentication that provides email validation, sign-up controls, and allows users to reset their passwords. Oh yeah, and easily allows me to pull the user that is currently logged into the application.

我已经开始研究已经书面作品,但我发现它是真正的混乱。我看着LoginGenerator,RestfulAuthentication,SaltedLoginGenerator,但似乎并没有成为一个具有伟大的教程或为他们提供的比较同一个地方。如果有我只是还没有发现一个网站,或者如果有一个事实上的标准,大多数人使用,我想AP preciate了援助之手。

I've started to look into the already written pieces, but I've found it to be really confusing. I've looked at LoginGenerator, RestfulAuthentication, SaltedLoginGenerator, but there doesn't seem to be one place that has great tutorials or provide a comparison of them. If there's a site I just haven't discovered yet, or if there is a de-facto standard that most people use, I'd appreciate the helping hand.

推荐答案

AuthLogic似乎是块新的孩子,似乎是restful_authentication的下一个演进,使用更方便等。

AuthLogic appears to be the new kid on the block and seems to be the next evolution of restful_authentication, easier to use, etc

<一个href=\"http://github.com/binarylogic/authlogic/tree/master\">http://github.com/binarylogic/authlogic/tree/master

编辑:现在的Rails 3超出,设计似乎是块新的,新来的小子

now that Rails 3 is out, Devise seems to be the new, new kid on the block

https://github.com/plataformatec/devise
或者我一直在滚动我自己的身份验证与 has_​​secure_password 内置于Rails的<一个href=\"http://railscasts.com/episodes/250-authentication-from-scratch-revised\">http://railscasts.com/episodes/250-authentication-from-scratch-revised

旁注:红宝石工具箱是寻找在各个类别目前的最佳解决方案(基于GitHub上观察家数)一个伟大的网站:

Side note: Ruby Toolbox is a great site for finding the current best solution in various categories (based on the number of GitHub watchers):

<一个href=\"http://ruby-toolbox.com/categories/rails_authentication.html\">http://ruby-toolbox.com/categories/rails_authentication.html

这篇关于最佳解决方案验证在Ruby on Rails的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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