Class: Authlogic::ControllerAdapters::AbstractAdapter
- Inherits:
-
Object
- Object
- Authlogic::ControllerAdapters::AbstractAdapter
show all
- Defined in:
- lib/authlogic/controller_adapters/abstract_adapter.rb
Overview
Abstract Adapter
Allows you to use Authlogic in any framework you want, not just rails. See tha RailsAdapter for an example of how to adapter Authlogic to work with your framework.
Instance Method Summary
collapse
Instance Method Details
#authenticate_with_http_basic(&block) ⇒ Object
6
7
8
|
# File 'lib/authlogic/controller_adapters/abstract_adapter.rb', line 6
def authenticate_with_http_basic(&block)
black.call(nil, nil)
end
|
#cookies ⇒ Object
10
11
12
|
# File 'lib/authlogic/controller_adapters/abstract_adapter.rb', line 10
def cookies
{}
end
|
#request ⇒ Object
14
15
16
|
# File 'lib/authlogic/controller_adapters/abstract_adapter.rb', line 14
def request
nil
end
|
#session ⇒ Object
18
19
20
|
# File 'lib/authlogic/controller_adapters/abstract_adapter.rb', line 18
def session
{}
end
|