Initial commit, WIP.

This commit is contained in:
Junade Ali
2017-01-13 23:52:27 +00:00
commit a49c655e77
13 changed files with 2150 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
/**
* User: junade
* Date: 13/01/2017
* Time: 18:01
*/
namespace Cloudflare\API\Auth;
class UserServiceKey implements Auth
{
private $userServiceKey;
public function __construct(String $userServiceKey)
{
$this->userServiceKey = $userServiceKey;
}
public function getHeaders(): array
{
return [
'X-Auth-User-Service-Key' => $this->userServiceKey,
];
}
}