1 | <?php |
||
7 | class HeaderAuthenticationHandler implements APIAuthenticationMethodInterface |
||
8 | { |
||
9 | const TYPE = 'header'; |
||
10 | |||
11 | /** |
||
12 | * Adds a http header to the curl request with the token. |
||
13 | */ |
||
14 | public function handle($curl, &$getMethod, &$token) |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public static function getType() |
||
26 | } |
||
27 |