public Method

Basic.authenticate(controller, &login_procedure)

There's no documentation for this item.

Source Code

# File action_controller/http_authentication.rb, line 93
def authenticate(controller, &login_procedure)
  unless authorization(controller.request).blank?
    login_procedure.call(*user_name_and_password(controller.request))
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.