instance method
authenticate_with_http_digest
Ruby on Rails 8.0.4
Since v2.3.18Signature
authenticate_with_http_digest(realm = "Application", &password_procedure)
Authenticate using an HTTP Digest. Returns true if authentication is successful, false otherwise.
Parameters
-
realmopt = "Application" -
password_procedureblock
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 203
def authenticate_with_http_digest(realm = "Application", &password_procedure)
HttpAuthentication::Digest.authenticate(request, realm, &password_procedure)
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 203
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Digest::ControllerMethods