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

23 lines
353 B
PHP

<?php
require_once(dirname(__FILE__) . "/HeaderAuth.php");
class CustomHeaderAuth extends HeaderAuth {
private $header;
function __construct($headerName, $headerValue) {
$this->header = $headerName . ": " . $headerValue;
}
public function handleHeader() {
return $this->header;
}
public function handleParams() {
return null;
}
}
?>