1 | <?php |
||
18 | abstract class AbstractAuthentication implements AuthenticationInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var JwtToken |
||
22 | */ |
||
23 | protected $token; |
||
24 | |||
25 | /** |
||
26 | * AbstractAuthentication constructor. |
||
27 | * |
||
28 | * @param string $key |
||
29 | * @param string $sharedSecret |
||
30 | */ |
||
31 | public function __construct($key, $sharedSecret) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function getHeaders() |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function getQueryParameters() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function getTokenInstance() |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function setQueryString($method, $url) |
||
68 | } |
||
69 |