method
authentication_request
v4.2.7 -
Show latest stable
- Class:
ActionController::HttpAuthentication::Digest
authentication_request(controller, realm, message = nil)public
No documentation available.
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 259
def authentication_request(controller, realm, message = nil)
message ||= "HTTP Digest: Access denied.\n"
authentication_header(controller, realm)
controller.status = 401
controller.response_body = message
end