Class | HTTPClient::WWWAuth |
In: |
lib/httpclient/auth.rb
|
Parent: | AuthFilterBase |
Authentication filter for handling authentication negotiation between Web server. Parses ‘WWW-Authentication’ header in response and generates ‘Authorization’ header in request.
Authentication filter is implemented using request filter of HTTPClient. It traps HTTP response header and maintains authentication state, and traps HTTP request header for inserting necessary authentication header.
WWWAuth has sub filters (BasicAuth, DigestAuth, NegotiateAuth and SSPINegotiateAuth) and delegates some operations to it. NegotiateAuth requires ‘ruby/ntlm’ module. SSPINegotiateAuth requires ‘win32/sspi’ module.
basic_auth | [R] | |
digest_auth | [R] | |
negotiate_auth | [R] | |
sspi_negotiate_auth | [R] |