Copied!

Implements Googles ReCaptcha V3 (but not currently working)

There is no UI element created for this and it can not be
added to a page.

Warning: This is a work in progress and not currently working.

Cloneable Instantiable
Methods
public __construct ( PHPFUI\Interfaces\Page $page , string $publicKey , string $secretKey , callable $callback )
 
public getErrors () : array
 

Returns any errors from Google

public isValid () : bool
 

Returns true if OK to proceed

public setThreshold ( float $threshold = 0.5 ) : PHPFUI\ReCAPTCHAv3
 

Set a threshold that user needs to pass. Default 0.5

Properties
private $errors
private $publicKey
private $result
private $threshold
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration