method

basic_auth

v1_9_2_180 - Show latest stable - Class: WEBrick::HTTPAuth
basic_auth(req, res, realm, &block)
public

No documentation available.

# 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