Skip to content

mtodd/faraday-auth-hmac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages