Module: AuthlogicOpenid::ActsAsAuthentic

Defined in:
lib/authlogic_openid/acts_as_authentic.rb

Overview

This module is responsible for adding in the OpenID functionality to your models. It hooks itself into the acts_as_authentic method provided by Authlogic.

Defined Under Namespace

Modules: Config, Methods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

Adds in the neccesary modules for acts_as_authentic to include and also disabled password validation if OpenID is being used.



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

def self.included(klass)
  klass.class_eval do
    extend Config
    add_acts_as_authentic_module(Methods, :prepend)
  end
end