Class: HTTPClient::SSPINegotiateAuth

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

new()

Creates new SSPINegotiateAuth filter.

### Public Instance methods

challenge(uri, param_str)

Challenge handler: remember URL and challenge token for response.

get(req)

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

reset_challenge()

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

set(uri, user, passwd)

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

[Validate]