RubyGems.org

NanoAuth

0.1.0

NanoAuth is a super stripped down Rails authentication module. It's comprised (so far) of one file that provides some additional methods to be mixed in to your User model. Over the years I kept tweaking code in various projects and continued to see the same boiler plate code for: * authentication a user via User.authenticate(email,password) * encrypt(password) * authenticated?(password) \ So I decided on some down time to pull all this stuff out and make a nice little gem of it.

installgem install NanoAuth
Authors

Jason Lee

1,060 total downloads 1,060 for this version
Owners

9a5c497293dffb91cacef202bad5b602

Gemfile
gem 'NanoAuth', '~> 0.1.0'
Versions
  1. 0.1.0 November 13, 2011 (4 KB)
Runtime Dependencies
  1. bcrypt-ruby >= 0