module Faraday::DigestAuth::Connection
Connection
methods
Public Instance Methods
digest_auth(user, password)
click to toggle source
Public: Adds the digest auth middleware at the top and sets the user and password.
user - A String with the user. password - A String with the password.
# File lib/faraday/digestauth/connection.rb, line 13 def digest_auth(user, password) builder.insert(0, Faraday::Request::DigestAuth, user, password) end