Methods
- authenticate_or_request_with_http_digest
- authenticate_with_http_digest
- request_http_digest_authentication
Public Instance methods
[ show source ]
# File actionpack/lib/action_controller/http_authentication.rb, line 159 159: def authenticate_or_request_with_http_digest(realm = "Application", &password_procedure) 160: authenticate_with_http_digest(realm, &password_procedure) || request_http_digest_authentication(realm) 161: end
Authenticate with HTTP Digest, returns true or false
[ show source ]
# File actionpack/lib/action_controller/http_authentication.rb, line 164 164: def authenticate_with_http_digest(realm = "Application", &password_procedure) 165: HttpAuthentication::Digest.authenticate(self, realm, &password_procedure) 166: end
Render output including the HTTP Digest authentication header
[ show source ]
# File actionpack/lib/action_controller/http_authentication.rb, line 169 169: def request_http_digest_authentication(realm = "Application", message = nil) 170: HttpAuthentication::Digest.authentication_request(self, realm, message) 171: end