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 | declare(strict_types=1); |
| 4 | |
| 5 | namespace BO\Zmscitizenapi\Models; |
| 6 | |
| 7 | interface CaptchaInterface |
| 8 | { |
| 9 | /** |
| 10 | * Gibt die Captcha-Konfigurationsdetails zurück. |
| 11 | * |
| 12 | * @return array |
| 13 | */ |
| 14 | public function getCaptchaDetails(): array; |
| 15 | |
| 16 | /** |
| 17 | * Fordert eine neue Captcha-Challenge an. |
| 18 | * |
| 19 | * @return array |
| 20 | * @throws \Exception |
| 21 | */ |
| 22 | public function createChallenge(): array; |
| 23 | |
| 24 | /** |
| 25 | * Überprüft die Captcha-Lösung. |
| 26 | * |
| 27 | * @param string $payload |
| 28 | * @return mixed |
| 29 | * @throws \Exception |
| 30 | */ |
| 31 | public function verifySolution(string $payload): array; |
| 32 | } |