method
authentication_header
v2.3.8 -
Show latest stable
- Class:
ActionController::HttpAuthentication::Digest
authentication_header(controller, realm)public
No documentation available.
# File actionpack/lib/action_controller/http_authentication.rb, line 237
def authentication_header(controller, realm)
controller.headers["WWW-Authenticate"] = %(Digest realm="#{realm}", qop="auth", algorithm=MD5, nonce="#{nonce}", opaque="#{opaque}")
end