Class: Merb::Authentication
- Inherits:
-
Object
- Object
- Merb::Authentication
- Defined in:
- lib/merb-auth-more/strategies/basic/basic_auth.rb,
lib/merb-auth-more/mixins/bcrypt_user.rb,
lib/merb-auth-more/mixins/salted_user.rb,
lib/merb-auth-more/strategies/basic/openid.rb,
lib/merb-auth-more/strategies/abstract_password.rb,
lib/merb-auth-more/strategies/basic/password_form.rb,
lib/merb-auth-more/mixins/salted_user/ar_salted_user.rb,
lib/merb-auth-more/mixins/salted_user/dm_salted_user.rb,
lib/merb-auth-more/mixins/salted_user/sq_salted_user.rb,
lib/merb-auth-more/mixins/salted_user/mongoid_salted_user.rb,
lib/merb-auth-more/mixins/salted_user/relaxdb_salted_user.rb
Overview
This strategy uses a login and password parameter.
Overwrite the :password_param, and :login_param to return the name of the field (on the form) that you’re using the login with. These can be strings or symbols
Required
Methods
<User>.authenticate(login_param, password_param)
Defined Under Namespace
Modules: Mixins, Strategies