class HTTPClient::ProxyDigestAuth
Ignores uri argument. Used in ProxyAuth.
Authentication filter for handling DigestAuth negotiation.
def challenge(uri, param_str)
def challenge(uri, param_str) synchronize { @challenge = parse_challenge_param(param_str) true } end
def get(req)
regardless of target uri if the proxy has required authentication
overrides DigestAuth#get. Uses default user name and password
def get(req) synchronize { param = @challenge return nil unless param user, passwd = @auth return nil unless user calc_cred(req, user, passwd, param) } end
def reset_challenge
def reset_challenge synchronize do @challenge = nil end end
def set(uri, user, passwd)
def set(uri, user, passwd) synchronize do @auth = [user, passwd] end end