Method: ActionController::HttpAuthentication::Digest#authenticate

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

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

Returns true on a valid response, false otherwise.



215
216
217
# File 'actionpack/lib/action_controller/metal/http_authentication.rb', line 215

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