Files
unirest-php/main/mashape/authentication/MashapeAuthentication.php
thefosk 64704384db bugfix
2013-02-20 00:43:14 +01:00

17 lines
408 B
PHP

<?php
require_once(dirname(__FILE__) . "/AuthenticationUtil.php");
require_once(dirname(__FILE__) . "/HeaderAuthentication.php");
class MashapeAuthentication extends HeaderAuthentication {
private $headers;
function __construct($mashapeKey) {
$this->headers = array(AuthenticationUtil::generateAuthenticationHeader($mashapeKey));
}
public function handleHeaders() {
return $this->headers;
}
}
?>