Module: Devise::Models::HttpAuthenticatable::ClassMethods
- Defined in:
- lib/devise/models/http_authenticatable.rb
Instance Method Summary collapse
-
#authenticate_with_http(username, password) ⇒ Object
Authenticate an user using http.
Instance Method Details
#authenticate_with_http(username, password) ⇒ Object
Authenticate an user using http.
17 18 19 |
# File 'lib/devise/models/http_authenticatable.rb', line 17 def authenticate_with_http(username, password) authenticate(authentication_keys.first => username, :password => password) end |