Sha256: 29ae6c5e8314d000e0cfd5a3029459114bf01194ddfd3eadb347e25faac5ddf0

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

module AuthlogicConnect
  class Engine < Rails::Engine
    engine_name :authlogic_connect
    
    initializer "authlogic_connect.authentication_hook" do |app|
      app.middleware.use AuthlogicConnect::CallbackFilter
      app.middleware.use OpenIdAuthentication
    end
    
    initializer "authlogic_connect.finalize", :after => "authlogic_connect.authentication_hook" do |app|
      OpenID::Util.logger = Rails.logger
      ActionController::Base.send :include, OpenIdAuthentication
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authlogic-connect-0.0.3.4 lib/authlogic_connect/engine.rb