Skip to content

acinader/SignedRequest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General purpose request signer and validator.

Sign an http request that can be authenticated with a shared secret.

Usage:

  $params = array('foo' => 'bar', 'Fid' => array('fig' => 'floo', 'soo' => 'tid'), 'nid' => 'nad');
  echo 'http://localhost/SignedRequest.php/?' . $signer->generateValidQueryString($params) . "\n";

To validate the current request:

  echo $signer->validateCurrentRequest() ? "valid\n" : "invalid\n";

About

Simple request signer/validator to provide authenticated communication between two endpoints with a shared secret

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages