module HTTPX::Plugins::DigestAuth::InstanceMethods

  1. lib/httpx/plugins/digest_auth.rb

Methods

Public Instance

  1. digest_auth

Public Instance methods

digest_auth(user, password, hashed: false)

returns a session which will authenticate requests using HTTP Digest Auth, with user and password as credentials.

[show source]
   # File lib/httpx/plugins/digest_auth.rb
38 def digest_auth(user, password, hashed: false)
39   with(digest: Authentication::Digest.new(user, password, hashed: hashed))
40 end