Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/faraday
test
.gitignore
Gemfile
LICENSE.md
README.md
Rakefile
faraday-auth-hmac.gemspec

README.md

Faraday AuthHMAC

HMAC Signing for Faraday Requests

Enables signing your requests (from Faraday) with AuthHMAC.

Usage

require 'faraday'
require 'faraday/auth-hmac'

c = Faraday.new do |b|
  b.request :auth_hmac # enables request signing
  b.adapter :net_http
end

c.get('http://localhost/') do |r|
  # signs the request with the access_id and the secret
  r.sign! 'access_id', 'secret'
end

Contributing

  • Fork
  • Work on a topic branch
  • Write tests
  • Add/fix/etc
  • Create a Pull Request
Something went wrong with that request. Please try again.