Module: Authlogic::ActsAsAuthentic::Base

Defined in:
lib/novelys_authlogic/acts_as_authentic/base.rb

Overview

Provides the base functionality for acts_as_authentic

Defined Under Namespace

Modules: Config

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/novelys_authlogic/acts_as_authentic/base.rb', line 5

def self.included(klass)
  klass.class_eval do
    extend Config
    
    include Authlogic::ActsAsAuthentic::Email
    include Authlogic::ActsAsAuthentic::LoggedInStatus
    include Authlogic::ActsAsAuthentic::Login
    include Authlogic::ActsAsAuthentic::MagicColumns
    include Authlogic::ActsAsAuthentic::Password
    include Authlogic::ActsAsAuthentic::PerishableToken
    include Authlogic::ActsAsAuthentic::PersistenceToken
    include Authlogic::ActsAsAuthentic::RestfulAuthentication
    include Authlogic::ActsAsAuthentic::SessionMaintenance
    include Authlogic::ActsAsAuthentic::SingleAccessToken
    include Authlogic::ActsAsAuthentic::ValidationsScope
  end
end