| 1 | <?php |
||
| 14 | class BasicAuthenticationHook implements BeforeHookInterface |
||
| 15 | { |
||
| 16 | /** @var array */ |
||
| 17 | private $userPass; |
||
| 18 | |||
| 19 | /** @var string */ |
||
| 20 | private $realm; |
||
| 21 | |||
| 22 | public function __construct(array $userPass, $realm = 'Protected Area') |
||
| 27 | |||
| 28 | public function executeBefore(Request $request, array $hookData) |
||
| 52 | } |
||
| 53 |