Method: HTTPClient::OAuth#initialize
- Defined in:
- lib/httpclient/auth.rb
#initialize ⇒ OAuth
Creates new DigestAuth filter.
612 613 614 615 616 617 618 619 620 621 |
# File 'lib/httpclient/auth.rb', line 612 def initialize @config = nil # common config @auth = {} # configs for each site @challengeable = {} @nonce_count = 0 @signature_handler = { 'HMAC-SHA1' => method(:sign_hmac_sha1) } @scheme = "OAuth" end |