for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace jumper423\decaptcha\services;
/**
* Class RuCaptchaReCaptcha
*/
class RuCaptchaReCaptcha extends RuCaptcha
{
const ACTION_FIELD_GOOGLEKEY = 19;
const ACTION_FIELD_PROXY = 20;
const ACTION_FIELD_PROXYTYPE = 21;
const ACTION_FIELD_PAGEURL = 22;
public function init()
parent::init();
$this->paramsNames[static::ACTION_FIELD_GOOGLEKEY] = 'googlekey';
$this->paramsNames[static::ACTION_FIELD_PROXY] = 'proxy';
$this->paramsNames[static::ACTION_FIELD_PROXYTYPE] = 'proxytype';
$this->paramsNames[static::ACTION_FIELD_PAGEURL] = 'pageurl';
$this->actions[static::ACTION_RECOGNIZE][static::ACTION_FIELDS][static::ACTION_FIELD_METHOD][static::PARAM_SLUG_DEFAULT] = 'userrecaptcha';
$this->actions[static::ACTION_RECOGNIZE][static::ACTION_FIELDS][static::ACTION_FIELD_GOOGLEKEY] = [
static::PARAM_SLUG_REQUIRE => true,
static::PARAM_SLUG_TYPE => static::PARAM_FIELD_TYPE_STRING,
];
$this->actions[static::ACTION_RECOGNIZE][static::ACTION_FIELDS][static::ACTION_FIELD_PROXY] = [
$this->actions[static::ACTION_RECOGNIZE][static::ACTION_FIELDS][static::ACTION_FIELD_PROXYTYPE] = [
$this->actions[static::ACTION_RECOGNIZE][static::ACTION_FIELDS][static::ACTION_FIELD_PAGEURL] = [
}