Method: ActionController::HttpAuthentication::Digest::ControllerMethods#request_http_digest_authentication

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

#request_http_digest_authentication(realm = "Application", message = nil) ⇒ Object

Render an HTTP header requesting the client to send a Digest for authentication.



209
210
211
# File 'actionpack/lib/action_controller/metal/http_authentication.rb', line 209

def request_http_digest_authentication(realm = "Application", message = nil)
  HttpAuthentication::Digest.authentication_request(self, realm, message)
end