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\Form $form , PHPFUI\Button $button , string $siteKey , string $secretKey , array $post )
 
public getErrors () : array
 

Returns any errors from Google

public getResults () : array
 

Returns results 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 $result
private $results
private $threshold
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration