smartocci / modulr-authentication forked from technoweenie/restful-authentication

Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in.

This URL has Read+Write access

modulr-authentication / init.rb
100644 13 lines (8 sloc) 0.383 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
#Implement the ability to order the authentication order
#YouserAuthentication::authentication_order = [:local_user, :facebook, :openid]
 
#Load each authenticator
require 'youser_authentication'
 
#YouserAuthentication::load_modules
 
#YouserAuthentication::authenticators = YouserAuthentication::authenticator_order.collect do |auth|
# require "youser_authenticator_#{}{auth}"
#end