Module: Authlogic::ActsAsAuthentic::Password

Defined in:
lib/authlogic/acts_as_authentic/password.rb

Overview

This module has a lot of neat functionality. It is responsible for encrypting your password, salting it, and verifying it. It can also help you transition to a new encryption algorithm. See the Config sub module for configuration options.

Defined Under Namespace

Modules: Callbacks, Config, Methods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/authlogic/acts_as_authentic/password.rb', line 9

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