Sha256: 7809ad1eee6df68dfd5834051c6b50bdf4cb777ea5d6b9d7f13d151a675347ec

Contents?: true

Size: 550 Bytes

Versions: 6

Compression:

Stored size: 550 Bytes

Contents

require "authlogic-connect-andrewacove"

# copied from open_id_authentication plugin on github

# this is the Rails 2.x equivalent.
# Rails 3 equivalent is in authlogic_connect/engine.rb
if Rails.version < '3'
  config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1'
end

require 'open_id_authentication'

config.middleware.use OpenIdAuthentication
config.middleware.use AuthlogicConnect::CallbackFilter

config.after_initialize do
  OpenID::Util.logger = Rails.logger
  ActionController::Base.send :include, OpenIdAuthentication
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
authlogic-connect-andrewacove-0.5.7 rails/init.rb
authlogic-connect-andrewacove-0.5.6 rails/init.rb
authlogic-connect-andrewacove-0.5.5 rails/init.rb
authlogic-connect-andrewacove-0.5.4 rails/init.rb
authlogic-connect-andrewacove-0.5.2 rails/init.rb
authlogic-connect-andrewacove-0.5.0 rails/init.rb