Ruby on Rails 或 JRuby 的身份验证库

发布于 2024-11-02 20:33:22 字数 162 浏览 3 评论 0原文

我正在考虑使用 Ruby(或 jRuby,因为在撰写本文时我还没有在两者之间做出决定)来实现身份验证和用户管理。

有哪些适用于 Ruby/jRuby 的优秀身份验证库? 另外,由于我是 Ruby 新手,我可以为 ruby​​ 或 jruby 使用相同的库吗?

谢谢, 亚历克斯

I am thinking about implementing authentication and user management using Ruby (or jRuby since I have not decided between the two at the time of this writing).

What are some good auth libraries available for Ruby/jRuby?
Also since I am sort of a Ruby-newb, can I potentially use the same library for either ruby or jruby?

Thanks,
Alex

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

许久 2024-11-09 20:33:22

看看

http://ruby-toolbox.com/categories/rails_authentication.html

查看 Rails 身份验证解决方案列表(按受欢迎程度排名)。

设计是最受欢迎的。下面是一个有用的教程和示例应用程序,展示了如何设置 Devise:

rails3-mongoid-devise 教程和示例

Take a look at

http://ruby-toolbox.com/categories/rails_authentication.html

for a list of authentication solutions for Rails, ranked by popularity.

Devise is the most popular. Here's a useful tutorial and example app that shows how to set up Devise:

rails3-mongoid-devise tutorial and example

谎言 2024-11-09 20:33:22

Sorcery是另一个auth lib,它诞生于几个月前,由我编写。

https://github.com/NoamB/sorcery

对于新手来说不是那么多,但它给了很多东西更大的灵活性,因为它是一个简单的 API,而不是一个完整的 MVC 解决方案。

尚未在 jruby 上尝试过。

请参阅 github wiki 中的教程。

Sorcery is another auth lib, which was born a few months ago, authored by me.

https://github.com/NoamB/sorcery

It is not so much for newbies, but it gives much more flexibility since it is a bare-bones API instead of a complete MVC solution.

Not yet tried on jruby.

See tutorials in the github wiki.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文