Method: HTTPClient::ProxyAuth#initialize
- Defined in:
- lib/httpclient/auth.rb
#initialize ⇒ ProxyAuth
Creates new ProxyAuth.
158 159 160 161 162 163 164 165 166 |
# File 'lib/httpclient/auth.rb', line 158 def initialize @basic_auth = ProxyBasicAuth.new @negotiate_auth = NegotiateAuth.new @ntlm_auth = NegotiateAuth.new('NTLM') @sspi_negotiate_auth = SSPINegotiateAuth.new @digest_auth = ProxyDigestAuth.new # sort authenticators by priority @authenticator = [@negotiate_auth, @ntlm_auth, @sspi_negotiate_auth, @digest_auth, @basic_auth] end |