Files
unirest-php/main/mashape/authentication/QueryAuthentication.php
2012-10-02 15:59:55 -07:00

22 lines
362 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;
}
}
?>