All Projects → DavyJonesLocker → Ruby Easy_auth

DavyJonesLocker / Ruby Easy_auth

Dead simple drop-in identity based Rails authentication

Programming Languages

ruby
36898 projects - #4 most used programming language

EasyAuth

Build Status Dependency Status Code Climate

Dead simple drop in authentication for Rails 3.2+

Installation

In your Gemfile add the following:

gem 'easy_auth'

After running Bundler you'll need to install the migrations:

rake easy_auth:install:migrations

Then run your migrations.

You should also run the generator:

rails g easy_auth:setup

You will need to mix-in a few modules into your application:

class ApplicationController < ActionController::Base
  include EasyAuthHelper
end
class User < ActiveRecord::Base
   include EasyAuth::Models::Account
end

Your application is now ready for EasyAuth.

Usage

You will need to use one of the many plugins available for EasyAuth to provide a specific authentication strategy.

For locales take a look on locales wiki page.

What you get

You User model will be setup with an association to identities. The modeling is pretty simple:

EasyAuth Identity Modeling

Authors

Brian Cardarella

We are very thankful for the many contributors

Versioning

This gem follows Semantic Versioning

Want to help?

Please do! We are always looking to improve this gem. Please see our Contribution Guidelines on how to properly submit issues and pull requests.

Legal

DockYard, LLC © 2012

@dockyard

Licensed under the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].