module Authlogic::Session::Cookies

Handles all authentication that deals with cookies, such as persisting, saving, and destroying.

Public Class Methods

included(klass) click to toggle source
# File lib/authlogic/session/cookies.rb, line 5
def self.included(klass)
  klass.class_eval do
    extend Config
    include InstanceMethods
    persist :persist_by_cookie
    after_save :save_cookie
    after_destroy :destroy_cookie
  end
end