Sha256: 9f222f19bbfca11dfdc48005e55c0212ce8bea68ae1cd14c4a7c8106eaceb246

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

module Authlogic
  module ControllerAdapters # :nodoc:
    # = 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.
    class AbstractAdapter
      def authenticate_with_http_basic(&block)
        black.call(nil, nil)
      end
      
      def cookies
        {}
      end
      
      def request
        nil
      end
      
      def session
        {}
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authlogic-1.0.0 lib/authlogic/controller_adapters/abstract_adapter.rb