[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/google/recaptcha/src/ReCaptcha/ -> ReCaptcha.php (summary)

This is a PHP library that handles calling reCAPTCHA.

Copyright: Copyright (c) 2015, Google Inc.
File Size: 97 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ReCaptcha:: (2 methods):

Class: ReCaptcha  - X-Ref

reCAPTCHA client.

__construct($secret, RequestMethod $requestMethod = null)   X-Ref
Create a configured instance to use the reCAPTCHA service.

param: string $secret shared secret between site and reCAPTCHA server.
param: RequestMethod $requestMethod method used to send the request. Defaults to POST.

verify($response, $remoteIp = null)   X-Ref
Calls the reCAPTCHA siteverify API to verify whether the user passes

param: string $response The value of 'g-recaptcha-response' in the submitted form.
param: string $remoteIp The end user's IP address.
return: Response Response from the service.

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1