# File lib/authlogic/controller_adapters/abstract_adapter.rb, line 12 def authenticate_with_http_basic(&block) @auth = Rack::Auth::Basic::Request.new(controller.request.env) if @auth.provided? and @auth.basic? block.call(*@auth.credentials) else false end end