method
authenticate
authenticate(controller, &login_procedure)
public
Hide source
# File actionpack/lib/action_controller/http_authentication.rb, line 124 def authenticate(controller, &login_procedure) unless authorization(controller.request).blank? login_procedure.call(*user_name_and_password(controller.request)) end end