Skip to content

siewwp/php-hmac-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guzzle http client with hmac

Usage

Providing the key on constructor

$key = Acquia\Hmac\Key($appId, $appSecret);

$client = new \Siewwp\HmacHttp\HttpClient($options, $key);

// your usual guzzle stuff

Providing the key using key setter

$client = new \Siewwp\HmacHttp\HttpClient($options, $key);

$key = Acquia\Hmac\Key($appId, $appSecret);

$client->setKey($key);

// your usual guzzle stuff

About

Guzzle http client with hmac authentication middleware

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages