22 lines
331 B
PHP
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;
|
|
}
|
|
}
|
|
?>
|
|
|