module ActionController::HttpAuthentication::Digest

def authenticate(request, realm, &password_procedure)

Returns false on a valid response, true otherwise.
def authenticate(request, realm, &password_procedure)
  request.authorization && validate_digest_response(request, realm, &password_procedure)
end