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



37
38
39
# File 'lib/httpx/plugins/digest_auth.rb', line 37

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