Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Marker interface for admin controllers that intentionally bypass the |
| 5 | * automatic authentication enforcement performed by the |
| 6 | * ControllerContainerListener. |
| 7 | * |
| 8 | * Only the AuthenticationController itself (handling login/logout/token |
| 9 | * endpoints) should implement this interface. Every other controller in |
| 10 | * the Administration namespace must require an authenticated user. |
| 11 | * |
| 12 | * This Source Code Form is subject to the terms of the Mozilla Public License, |
| 13 | * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
| 14 | * obtain one at https://mozilla.org/MPL/2.0/. |
| 15 | * |
| 16 | * @package phpMyFAQ |
| 17 | * @author Thorsten Rinne <thorsten@phpmyfaq.de> |
| 18 | * @copyright 2026 phpMyFAQ Team |
| 19 | * @license https://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
| 20 | * @link https://www.phpmyfaq.de |
| 21 | * @since 2026-04-10 |
| 22 | */ |
| 23 | |
| 24 | declare(strict_types=1); |
| 25 | |
| 26 | namespace phpMyFAQ\Controller\Administration; |
| 27 | |
| 28 | interface SkipsAuthenticationCheck {} |