| 1 | <?php declare(strict_types=1); |
||
| 8 | class HmacAuthenticator implements AuthenticatorInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var HmacGenerator |
||
| 12 | */ |
||
| 13 | private $generator; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var RequestAdapterFactoryInterface |
||
| 17 | */ |
||
| 18 | private $requestAdapterFactory; |
||
| 19 | |||
| 20 | 1 | public function __construct(HmacGenerator $generator, RequestAdapterFactoryInterface $requestAdapterFactory) |
|
| 25 | |||
| 26 | 2 | public function authenticateRequest($request): bool |
|
| 38 | } |
||
| 39 |