Class: OmniAuth::Strategies::Internal
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::Internal
- Includes:
- MultiPassword::Base, OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/internal.rb
Instance Method Summary collapse
Instance Method Details
#authenticate(username, password) ⇒ Object
18 19 20 |
# File 'lib/omniauth/strategies/internal.rb', line 18 def authenticate(username, password) model.authenticate(username, password) end |
#model ⇒ Object
14 15 16 |
# File 'lib/omniauth/strategies/internal.rb', line 14 def model [:model] || ::User end |