[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

This is a PHP library that handles calling reCAPTCHA. BSD 3-Clause License

Copyright: (c) 2019, Google Inc.
File Size: 218 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Response:: (10 methods):
  fromJson()
  __construct()
  isSuccess()
  getErrorCodes()
  getHostname()
  getChallengeTs()
  getApkPackageName()
  getScore()
  getAction()
  toArray()


Class: Response  - X-Ref

The response returned from the service.

fromJson($json)   X-Ref
Build the response from the expected JSON returned by the service.

param: string $json
return: \ReCaptcha\Response

__construct($success, array $errorCodes = array()   X-Ref
Constructor.

param: boolean $success
param: string $hostname
param: string $challengeTs
param: string $apkPackageName
param: float $score
param: string $action
param: array $errorCodes

isSuccess()   X-Ref
Is success?

return: boolean

getErrorCodes()   X-Ref
Get error codes.

return: array

getHostname()   X-Ref
Get hostname.

return: string

getChallengeTs()   X-Ref
Get challenge timestamp

return: string

getApkPackageName()   X-Ref
Get APK package name

return: string

getScore()   X-Ref
Get score

return: float

getAction()   X-Ref
Get action

return: string

toArray()   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer