# File lib/em-http/middleware/digest_auth.rb, line 11 def initialize(www_authenticate, opts = {}) @nonce_count = -1 @opts = opts @digest_params = { algorithm: 'MD5' # MD5 is the default hashing algorithm } if (@is_digest_auth = www_authenticate =~ /^Digest/) get_params(www_authenticate) end end