# File lib/action_controller/metal/http_authentication.rb, line 156
156: def authenticate_or_request_with_http_digest(realm = "Application", &password_procedure)
157: authenticate_with_http_digest(realm, &password_procedure) || request_http_digest_authentication(realm)
158: end
Authenticate with HTTP Digest, returns true or false
# File lib/action_controller/metal/http_authentication.rb, line 161
161: def authenticate_with_http_digest(realm = "Application", &password_procedure)
162: HttpAuthentication::Digest.authenticate(request, realm, &password_procedure)
163: end
Render output including the HTTP Digest authentication header
# File lib/action_controller/metal/http_authentication.rb, line 166
166: def request_http_digest_authentication(realm = "Application", message = nil)
167: HttpAuthentication::Digest.authentication_request(self, realm, message)
168: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.