Files
unirest-php/main/mashape/auth/QueryAuth.php
2012-07-19 12:52:13 -07:00

22 lines
331 B
PHP

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