for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Acquia\Hmac;
/**
* A key for authenticating and signing requests.
*/
class Key implements KeyInterface
{
* @var string
* The key ID.
protected $id;
* The key secret.
protected $secret;
* Initializes the key with a key ID and key secret.
*
* @param string $id
* @param string $secret
* The Base64-encoded key secret.
public function __construct($id, $secret)
$this->id = $id;
$this->secret = $secret;
}
* {@inheritDoc}
public function getId()
return $this->id;
public function getSecret()
return $this->secret;