Class HTTPClient::SSPINegotiateAuth
In: lib/httpclient/auth.rb
Parent: Object

Authentication filter for handling Negotiate/NTLM negotiation. Used in ProxyAuth.

SSPINegotiateAuth depends on ‘win32/sspi’ module.

Methods

challenge   get   new   reset_challenge   set  

Attributes

scheme  [R]  Authentication scheme.

Public Class methods

Creates new SSPINegotiateAuth filter.

Public Instance methods

Challenge handler: remember URL and challenge token for response.

Response handler: returns credential. See win32/sspi for negotiation state transition.

Resets challenge state. Do not send ’*Authorization’ header until the server sends ’*Authentication’ again.

Set authentication credential. NOT SUPPORTED: username and necessary data is retrieved by win32/sspi. See win32/sspi for more details.

[Validate]