Module: Devise::Models::CustomAuthenticatable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/devise/models/custom_authenticatable.rb
Instance Method Summary collapse
Instance Method Details
#authenticated_by_any_custom_strategy?(password, *strategies) ⇒ Boolean
11 12 13 14 15 |
# File 'lib/devise/models/custom_authenticatable.rb', line 11 def authenticated_by_any_custom_strategy?(password, *strategies) strategies.any? do |strategy| self.send(:"authenticated_by_#{strategy}_strategy?", password) end end |