Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
4 | class NoCaptchaProxyless extends Anticaptcha implements AntiCaptchaTaskProtocol { |
||
5 | |||
6 | private $websiteUrl; |
||
7 | private $websiteKey; |
||
8 | private $websiteSToken; |
||
9 | |||
10 | public function getPostData() { |
||
11 | return array( |
||
12 | "type" => "NoCaptchaTaskProxyless", |
||
13 | "websiteURL" => $this->websiteUrl, |
||
14 | "websiteKey" => $this->websiteKey, |
||
15 | "websiteSToken" => $this->websiteSToken |
||
16 | ); |
||
17 | } |
||
18 | |||
19 | public function getTaskSolution() { |
||
20 | return $this->taskInfo->solution->gRecaptchaResponse; |
||
21 | } |
||
22 | |||
23 | public function setWebsiteURL($value) { |
||
25 | } |
||
26 | |||
27 | public function setWebsiteKey($value) { |
||
28 | $this->websiteKey = $value; |
||
29 | } |
||
30 | |||
31 | public function setWebsiteSToken($value) { |
||
33 | } |
||
34 | |||
35 | } |
||
36 |