method
expected_response
v7.2.3 -
Show latest stable
- Class:
ActionController::HttpAuthentication::Digest
expected_response(http_method, uri, credentials, password, password_is_ha1 = true)public
Returns the expected response for a request of `http_method` to `uri` with the decoded `credentials` and the expected `password` Optional parameter `password_is_ha1` is set to `true` by default, since best practice is to store ha1 digest instead of a plain-text password.