Module: Authentication::Logic::ActsAsAuthentic::PersistenceToken

Defined in:
lib/auth/logic/acts_as_authentic/persistence_token.rb

Overview

Maintains the persistence token, the token responsible for persisting sessions. This token gets stored in the session and the cookie.

Defined Under Namespace

Modules: Methods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



9
10
11
12
13
# File 'lib/auth/logic/acts_as_authentic/persistence_token.rb', line 9

def self.included(klass)
  klass.class_eval do
    add_acts_as_authentic_module(Methods)
  end
end