19 lines
358 B
PHP
19 lines
358 B
PHP
<?php
|
|
|
|
namespace App\Services\Security\Captcha;
|
|
|
|
interface CaptchaProviderInterface
|
|
{
|
|
public function name(): string;
|
|
|
|
public function isEnabled(): bool;
|
|
|
|
public function siteKey(): string;
|
|
|
|
public function inputName(): string;
|
|
|
|
public function scriptUrl(): string;
|
|
|
|
public function verify(string $token, ?string $ip = null): bool;
|
|
}
|