Sha256: 87fd71abd7cf878a753af76750ffb1ef9741a21c9ae5eee6a73f215fde5954aa

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 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
      attr_accessor :controller
      
      def initialize(controller)
        self.controller = controller
      end
      
      def authenticate_with_http_basic(*args, &block)
      end
      
      def cookies
      end
      
      def request
      end
      
      def session
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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