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

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

Overview

Sinatra controller adapter

Defined Under Namespace

Modules: Implementation

Constant Summary

Constants inherited from AbstractAdapter

AbstractAdapter::ENV_SESSION_OPTIONS, AbstractAdapter::E_COOKIE_DOMAIN_ADAPTER

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, #renew_session_id, #request, #request_content_type, #respond_to_missing?, #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



49
50
51
# File 'lib/authlogic/controller_adapters/sinatra_adapter.rb', line 49

def cookie_domain
  env["SERVER_NAME"]
end