module Devise::Models::CustomAuthenticatable

Public Instance Methods

after_custom_authentication() click to toggle source

A callback initiated after successfully authenticating. This can be used to insert your own logic that is only run after the user successfully authenticates.

# File lib/devise/models/custom_authenticatable.rb, line 29
def after_custom_authentication; end
authenticated_by_any_custom_strategy?(password, *strategies) click to toggle source
# File lib/devise/models/custom_authenticatable.rb, line 16
def authenticated_by_any_custom_strategy?(password, *strategies)
  strategies.any? do |strategy|
    self.send(:"authenticated_by_#{strategy}_strategy?", password)
  end
end
password=(password) click to toggle source
Calls superclass method
# File lib/devise/models/custom_authenticatable.rb, line 11
def password=(password)
  @password = password
  super if defined?(super)
end
skip_custom_strategies() click to toggle source
# File lib/devise/models/custom_authenticatable.rb, line 22
def skip_custom_strategies
  throw :skip_custom_strategies
end