Authentication filter base class.
Authentication scheme.
# File lib/httpclient/auth.rb, line 232 def initialize(scheme) @scheme = scheme @challenge = {} end
Resets challenge state. Do not send '*Authorization' header until the server sends '*Authentication' again.
# File lib/httpclient/auth.rb, line 239 def reset_challenge synchronize do @challenge.clear end end