Method: HTTPClient::ProxyAuth#set_auth
- Defined in:
- lib/httpclient/auth.rb
#set_auth(user, passwd) ⇒ Object
Set authentication credential. See sub filters for more details.
176 177 178 179 180 181 |
# File 'lib/httpclient/auth.rb', line 176 def set_auth(user, passwd) @authenticator.each do |auth| auth.set(nil, user, passwd) end reset_challenge end |