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