Parent

Class/Module Index [+]

Quicksearch

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
cookies() click to toggle source
# File lib/authlogic/controller_adapters/rails_adapter.rb, line 14
def cookies
  controller.send(:cookies)
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.