Total Complexity | 1 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class RecaptchaV3EnterpriseProxylessTask extends AbstractTask |
||
6 | { |
||
7 | /* |
||
8 | * Address of a target web page. Can be located anywhere on the web site, even in a member area. Our workers don't |
||
9 | * navigate there but simulate the visit instead. |
||
10 | */ |
||
11 | public string $websiteURL; |
||
12 | |||
13 | /* |
||
14 | * Recaptcha website key. |
||
15 | */ |
||
16 | public string $websiteKey; |
||
17 | |||
18 | /* |
||
19 | * Filters workers with a particular score. It can have one of the following values: |
||
20 | * 0.3 |
||
21 | * 0.7 |
||
22 | * 0.9 |
||
23 | */ |
||
24 | public float $minScore; |
||
25 | |||
26 | /* |
||
27 | * Recaptcha's "action" value. Website owners use this parameter to define what users are doing on the page. |
||
28 | * Example: |
||
29 | * grecaptcha.execute('site_key', {action:'login_test'}) |
||
30 | */ |
||
31 | public ?string $pageAction = null; |
||
32 | |||
33 | /* |
||
34 | * Set this flag to "true" if you need this V3 solved with Enterprise API. Default value is "false" and Recaptcha |
||
35 | * is solved with non-enterprise API. Can be determined by a javascript call like in the following example: |
||
36 | * grecaptcha.enterprise.execute('site_key', {..}) |
||
37 | */ |
||
38 | public bool $isEnterprise = true; |
||
39 | |||
40 | |||
41 | public function getType(): string |
||
46 |