class HTTPClient::AuthBase
Authentication filter base class.
Attributes
Authentication scheme.
Public Class Methods
Source
# File lib/httpclient/auth.rb, line 232 def initialize(scheme) @scheme = scheme @challenge = {} end
Public Instance Methods
Source
# File lib/httpclient/auth.rb, line 239 def reset_challenge synchronize do @challenge.clear end end
Resets challenge state. Do not send ‘*Authorization’ header until the server sends ‘*Authentication’ again.