-
-
Notifications
You must be signed in to change notification settings - Fork 11
Add RecaptchaServiceInterface #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.8.x
Are you sure you want to change the base?
Changes from 1 commit
9298609
6240b47
1f4ee6e
2ec9d37
81d60b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Laminas\ReCaptcha; | ||
|
|
||
| /** | ||
| * An interface for interacting with a recaptcha service provider | ||
| */ | ||
| interface RecaptchaServiceInterface | ||
|
||
| { | ||
| /** | ||
| * Get the options array | ||
| * | ||
| * @return array<string, mixed> | ||
| */ | ||
| public function getOptions(): array; | ||
|
|
||
| /** | ||
| * Set a single option | ||
| */ | ||
| public function setOption(string $key, mixed $value): self; | ||
|
|
||
| /** | ||
| * Get the parameter array | ||
| * | ||
| * @return array<string, mixed> | ||
| */ | ||
| public function getParams(): array; | ||
|
|
||
| /** | ||
| * Set a single parameter | ||
| */ | ||
| public function setParam(string $key, mixed $value): self; | ||
|
|
||
| /** | ||
| * Get the site key | ||
| */ | ||
| public function getSiteKey(): string; | ||
|
|
||
| /** | ||
| * Set the site key | ||
| */ | ||
| public function setSiteKey(string $siteKey): self; | ||
|
|
||
| /** | ||
| * Get the secret key | ||
| */ | ||
| public function getSecretKey(): string; | ||
|
|
||
| /** | ||
| * Set the secret key | ||
| */ | ||
| public function setSecretKey(string $secretKey): self; | ||
|
|
||
| /** | ||
| * Verify the user input | ||
| */ | ||
| public function verify(string $responseField): Response; | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.