method
authentication_request
v2.3.8 -
Show latest stable
- Class:
ActionController::HttpAuthentication::Digest
authentication_request(controller, realm, message = nil)public
No documentation available.
# File actionpack/lib/action_controller/http_authentication.rb, line 241
def authentication_request(controller, realm, message = nil)
message ||= "HTTP Digest: Access denied.\n"
authentication_header(controller, realm)
controller.__send__ :render, :text => message, :status => :unauthorized
end