Sha256: d7facca6a1747ed846462993cba09bd052292f033905dc59122fc31b3179782c

Contents?: true

Size: 538 Bytes

Versions: 27

Compression:

Stored size: 538 Bytes

Contents

require "authlogic-connect"

# 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

27 entries across 27 versions & 8 rubygems

Version Path
lsdr-authlogic-connect-0.0.3.9 rails/init.rb
authlogic-connect-0.0.4.05 rails/init.rb
authlogic-connect-0.0.4.04 rails/init.rb
authlogic-connect-0.0.4.03 rails/init.rb
authlogic-connect-0.0.3.9 rails/init.rb
authlogic-connect-0.0.3.8 rails/init.rb
authlogic-connect-0.0.3.6 rails/init.rb