| 1 | <?php |
||
| 22 | class CertificateAuthenticator implements AuthenticatorInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var CertificateInterface |
||
| 26 | */ |
||
| 27 | private $certificate; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Constructor. |
||
| 31 | * |
||
| 32 | * @param CertificateInterface $certificate |
||
| 33 | */ |
||
| 34 | public function __construct(CertificateInterface $certificate) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function authenticate(Request $request): Request |
||
| 49 | } |
||
| 50 |