Module: Authlogic::Session::Session
- Defined in:
- lib/authlogic/session/session.rb
Overview
Handles all parts of authentication that deal with sessions. Such as persisting a session and saving / destroy a session.
Defined Under Namespace
Modules: Config, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/authlogic/session/session.rb', line 5 def self.included(klass) klass.class_eval do extend Config include InstanceMethods persist :persist_by_session after_save :update_session after_destroy :update_session after_persisting :update_session, :unless => :single_access? end end |