public Method

HTTPAuth.basic_auth(req, res, realm, &block)

There's no documentation for this item.

Source Code

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

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.