Method: ActionController::HttpAuthentication::Digest#authenticate

Defined in:
lib/action_controller/metal/http_authentication.rb

#authenticate(request, realm, &password_procedure) ⇒ Object

Returns false on a valid response, true otherwise



178
179
180
# File 'lib/action_controller/metal/http_authentication.rb', line 178

def authenticate(request, realm, &password_procedure)
  request.authorization && validate_digest_response(request, realm, &password_procedure)
end