for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace jumper423\decaptcha\services;
/**
* Class AnticaptchaReCaptchaProxeless.
*/
class AnticaptchaReCaptchaProxeless extends Anticaptcha
{
public function init()
parent::init();
$this->paramsNames[static::ACTION_FIELD_PAGEURL] = 'websiteURL';
$this->paramsNames[static::ACTION_FIELD_GOOGLEKEY] = 'websiteKey';
$this->paramsNames[static::ACTION_FIELD_GOOGLETOKEN] = 'websiteSToken';
$this->actions[static::ACTION_RECOGNIZE][static::ACTION_FIELD_TASK][static::ACTION_FIELDS] = [
static::ACTION_FIELD_METHOD => [
static::PARAM_SLUG_DEFAULT => 'NoCaptchaTask',
static::PARAM_SLUG_REQUIRE => true,
static::PARAM_SLUG_TYPE => static::PARAM_FIELD_TYPE_STRING,
],
static::ACTION_FIELD_PAGEURL => [
static::ACTION_FIELD_GOOGLEKEY => [
static::ACTION_FIELD_GOOGLETOKEN => [
];
$this->decodeSettings[static::DECODE_ACTION][static::DECODE_ACTION_GET][static::DECODE_PARAMS][static::DECODE_PARAM_CODE][static::DECODE_PARAM_SETTING_MARKER] = 'solution.gRecaptchaResponse';
}