Class: Authlogic::ControllerAdapters::RailsAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- Authlogic::ControllerAdapters::RailsAdapter
- Defined in:
- lib/authlogic/controller_adapters/rails_adapter.rb
Overview
Rails Adapter
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.
Defined Under Namespace
Modules: RailsImplementation
Instance Attribute Summary
Attributes inherited from AbstractAdapter
Instance Method Summary collapse
Methods inherited from AbstractAdapter
#initialize, #params, #request, #session
Constructor Details
This class inherits a constructor from Authlogic::ControllerAdapters::AbstractAdapter
Instance Method Details
#authenticate_with_http_basic(&block) ⇒ Object
7 8 9 |
# File 'lib/authlogic/controller_adapters/rails_adapter.rb', line 7 def authenticate_with_http_basic(&block) controller.authenticate_with_http_basic(&block) end |
#cookies ⇒ Object
11 12 13 |
# File 'lib/authlogic/controller_adapters/rails_adapter.rb', line 11 def controller.send(:cookies) end |