public function ReCaptcha::setChallengeTimeout in reCAPTCHA 8.2
Same name and namespace in other branches
- 7.2 recaptcha-php/src/ReCaptcha/ReCaptcha.php \ReCaptcha\ReCaptcha::setChallengeTimeout()
Provide a timeout in seconds to test against the challenge timestamp in verify()
Parameters
int $timeoutSeconds Expected hostname:
Return value
ReCaptcha Current instance for fluent interface
File
- recaptcha-php/
src/ ReCaptcha/ ReCaptcha.php, line 256
Class
- ReCaptcha
- reCAPTCHA client.
Namespace
ReCaptchaCode
public function setChallengeTimeout($timeoutSeconds) {
$this->timeoutSeconds = $timeoutSeconds;
return $this;
}