Support for authentication

This commit is contained in:
Evan Seguin
2012-07-19 12:52:13 -07:00
parent 1c503f13ff
commit 78a0f180d0
8 changed files with 134 additions and 17 deletions

View File

@@ -0,0 +1,21 @@
<?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;
}
}
?>