Class: Authlogic::ControllerAdapters::SinatraAdapter::Adapter

Inherits:
AbstractAdapter
  • Object
show all
Defined in:
lib/authlogic/controller_adapters/sinatra_adapter.rb

Defined Under Namespace

Modules: Implementation

Instance Attribute Summary

Attributes inherited from AbstractAdapter

#controller

Instance Method Summary collapse

Methods inherited from AbstractAdapter

#authenticate_with_http_basic, #cookies, #initialize, #last_request_update_allowed?, #params, #request, #request_content_type, #responds_to_last_request_update_allowed?, #responds_to_single_access_allowed?, #session, #single_access_allowed?

Constructor Details

This class inherits a constructor from Authlogic::ControllerAdapters::AbstractAdapter

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Authlogic::ControllerAdapters::AbstractAdapter

Instance Method Details



44
45
46
# File 'lib/authlogic/controller_adapters/sinatra_adapter.rb', line 44

def cookie_domain
  env['SERVER_NAME']
end