Module | Merb::Authentication::Strategies::Basic |
In: |
lib/merb-auth-more/strategies/abstract_password.rb
lib/merb-auth-more/strategies/basic/basic_auth.rb lib/merb-auth-more/strategies/basic/openid.rb lib/merb-auth-more/strategies/basic/password_form.rb |
To use the password strategies, it is expected that you will provide an @authenticate@ method on your user class. This should take two parameters login, and password. It should return nil or the user object.