Method: HTTPClient::ProxyBasicAuth#get

Defined in:
lib/httpclient/auth.rb

#get(req) ⇒ Object



313
314
315
316
317
318
# File 'lib/httpclient/auth.rb', line 313

def get(req)
  synchronize {
    return nil if !@force_auth and !@challenge['challenged']
    @cred
  }
end