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