Module: AuthlogicRpx::ActsAsAuthentic

Defined in:
lib/authlogic_rpx/acts_as_authentic.rb

Overview

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

Defined Under Namespace

Modules: Config, Methods Classes: ConfigurationError, GeneralError

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 RPX is being used.



9
10
11
12
13
14
# File 'lib/authlogic_rpx/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