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

Authentication filter for handling DigestAuth negotiation. Used in WWWAuth.

Methods

challenge   get   new   reset_challenge   set  

Attributes

scheme  [R]  Authentication scheme.

Public Class methods

Creates new DigestAuth filter.

Public Instance methods

Challenge handler: remember URL and challenge token for response.

Response handler: returns credential. It sends cred only when a given uri is;

  • child page of challengeable(got *Authenticate before) uri and,
  • child page of defined credential

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

Set authentication credential. uri == nil is ignored.

[Validate]