Module: MinimalistAuthentication

Defined in:
lib/minimalist_authentication.rb,
lib/minimalist_authentication/user.rb,
lib/minimalist_authentication/engine.rb,
lib/minimalist_authentication/version.rb,
lib/minimalist_authentication/sessions.rb,
lib/minimalist_authentication/controller.rb,
lib/minimalist_authentication/test_helper.rb,
lib/minimalist_authentication/authenticator.rb,
lib/minimalist_authentication/configuration.rb,
lib/minimalist_authentication/verifiable_token.rb,
lib/minimalist_authentication/email_verification.rb,
lib/minimalist_authentication/conversions/merge_password_hash.rb

Defined Under Namespace

Modules: Controller, Conversions, EmailVerification, Sessions, TestHelper, User, VerifiableToken Classes: Authenticator, Configuration, Engine

Constant Summary collapse

VERSION =
"3.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject

store the configuration object



5
6
7
# File 'lib/minimalist_authentication/configuration.rb', line 5

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

yield the configuration object for modification

Yields:



10
11
12
# File 'lib/minimalist_authentication/configuration.rb', line 10

def self.configure
  yield configuration
end

.deprecatorObject



14
15
16
# File 'lib/minimalist_authentication.rb', line 14

def self.deprecator
  @deprecator ||= ActiveSupport::Deprecation.new("4.0", name)
end

.reset_configuration!Object

reset the configuration object



15
16
17
# File 'lib/minimalist_authentication/configuration.rb', line 15

def self.reset_configuration!
  @configuration = nil
end