[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

This is a PHP library that handles calling reCAPTCHA.

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

Defines 1 class

RequestParameters:: (3 methods):
  __construct()
  toArray()
  toQueryString()


Class: RequestParameters  - X-Ref

Stores and formats the parameters for the request to the reCAPTCHA service.

__construct($secret, $response, $remoteIp = null, $version = null)   X-Ref
Initialise parameters.

param: string $secret Site secret.
param: string $response Value from g-captcha-response form field.
param: string $remoteIp User's IP address.
param: string $version Version of this client library.

toArray()   X-Ref
Array representation.

return: array Array formatted parameters.

toQueryString()   X-Ref
Query string representation for HTTP request.

return: string Query string formatted parameters.



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