Files
unirest-php/main/mashape/authentication/QueryAuthentication.php
2012-10-10 16:45:55 -07:00

20 lines
360 B
PHP

<?php
require_once(dirname(__FILE__) . "/Authentication.php");
class QueryAuthentication implements Authentication {
private $params;
function __construct($queryKey, $queryValue) {
$this->params = array($queryKey => $queryValue);
}
public function handleHeaders() {
return null;
}
public function handleParams() {
return $this->params;
}
}
?>