Module: HTTPX::Plugins::DigestAuth::InstanceMethods

Defined in:
lib/httpx/plugins/digest_auth.rb

Instance Method Summary collapse

Instance Method Details

#digest_auth(user, password, hashed: false) ⇒ Object



35
36
37
# File 'lib/httpx/plugins/digest_auth.rb', line 35

def digest_auth(user, password, hashed: false)
  with(digest: Authentication::Digest.new(user, password, hashed: hashed))
end