method
basic_auth
basic_auth(req, res, realm, &block)
public
Hide source
# File lib/webrick/httpauth.rb, line 35 def basic_auth(req, res, realm, &block) _basic_auth(req, res, realm, "Authorization", "WWW-Authenticate", HTTPStatus::Unauthorized, block) end