module ActionController::HttpAuthentication::Digest::ControllerMethods
def authenticate_or_request_with_http_digest(realm = "Application", message = nil, &password_procedure)
requesting the client to send a \Digest.
Authenticate using an HTTP \Digest, or otherwise render an HTTP header
def authenticate_or_request_with_http_digest(realm = "Application", message = nil, &password_procedure) authenticate_with_http_digest(realm, &password_procedure) || request_http_digest_authentication(realm, message) end
def authenticate_with_http_digest(realm = "Application", &password_procedure)
Authenticate using an HTTP \Digest. Returns true if authentication is
def authenticate_with_http_digest(realm = "Application", &password_procedure) HttpAuthentication::Digest.authenticate(request, realm, &password_procedure) end
def request_http_digest_authentication(realm = "Application", message = nil)
Render an HTTP header requesting the client to send a \Digest for
def request_http_digest_authentication(realm = "Application", message = nil) HttpAuthentication::Digest.authentication_request(self, realm, message) end