mirror of
https://github.com/pelican-dev/panel.git
synced 2025-09-14 22:44:46 +02:00

Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com> Co-authored-by: Boy132 <Boy132@users.noreply.github.com> Co-authored-by: Lance Pioch <git@lance.sh>
31 lines
622 B
PHP
31 lines
622 B
PHP
<?php
|
|
|
|
namespace App\Extensions\Captcha\Schemas;
|
|
|
|
use Filament\Schemas\Components\Component;
|
|
|
|
interface CaptchaSchemaInterface
|
|
{
|
|
public function getId(): string;
|
|
|
|
public function getName(): string;
|
|
|
|
/**
|
|
* @return array<string, string|string[]|bool|null>
|
|
*/
|
|
public function getConfig(): array;
|
|
|
|
public function isEnabled(): bool;
|
|
|
|
public function getFormComponent(): Component;
|
|
|
|
/**
|
|
* @return Component[]
|
|
*/
|
|
public function getSettingsForm(): array;
|
|
|
|
public function getIcon(): ?string;
|
|
|
|
public function validateResponse(?string $captchaResponse = null): void;
|
|
}
|