WebserviceMethodHmacValidator::validateHmac
Verify whether the given user/request has a valid HMAC header
HMAC should be calculated as a concatenation of service name method called gmdate in format YmdH So an example before hashing would be product-getPrice-20130225 The key used for signing should come from the user's "AuthPrivateKey" field The validator will accept an hour either side of 'now'
Signature
public function validateHmac(type
$user,
SS_HTTPRequest
$request )
Parameters
$user
— object
$request
— SS_HTTPRequest
Returns
- boolean