class Authlogic::ControllerAdapters::RailsAdapter
Adapts authlogic to work with rails. The point is to close the gap between what authlogic expects and what the rails controller object provides. Similar to how ActiveRecord has an adapter for MySQL, PostgreSQL, SQLite, etc.
Public Instance Methods
authenticate_with_http_basic(&block)
click to toggle source
# File lib/authlogic/controller_adapters/rails_adapter.rb, line 10 def authenticate_with_http_basic(&block) controller.authenticate_with_http_basic(&block) end
request_content_type()
click to toggle source
# File lib/authlogic/controller_adapters/rails_adapter.rb, line 23 def request_content_type request.format.to_s end