Property | Type | Description | |
---|---|---|---|
$captcha | ReCaptcha\ReCaptcha | ReCaptcha instance | |
$frontend | FrontendHandler instance | ||
$input | string | Captcha input name | |
$request | Illuminate\Http\Request | Http Request instance | |
$response | ReCaptcha\Response | ReCaptcha response instnace | |
$secret | string | Api secret key | |
$siteKey | string | Api site key |
Method | Description | |
---|---|---|
__construct ( string $siteKey, string $secret, Illuminate\Http\Request $request, |
Constructor | |
available ( ) : mixed | Determine if captcha is available | |
errors ( ) : array | Message of fails | |
getInputName ( ) : string | Captcha input name | |
render ( ) : string | For UI object display | |
verify ( ) : boolean | Verify captcha |
Method | Description | |
---|---|---|
create ( ) : ReCaptcha\ReCaptcha | Create captcha instance |
public __construct ( string $siteKey, string $secret, Illuminate\Http\Request $request, |
||
$siteKey | string | Api site key |
$secret | string | Api secret key |
$request | Illuminate\Http\Request | Http Request instance |
$frontend | FrontendHandler instance |
protected create ( ) : ReCaptcha\ReCaptcha | ||
return | ReCaptcha\ReCaptcha |
protected ReCaptcha,ReCaptcha $captcha | ||
return | ReCaptcha\ReCaptcha |
protected FrontendHandler,Xpressengine\Presenter\Html $frontend | ||
return |
protected Request,Illuminate\Http $request | ||
return | Illuminate\Http\Request |
protected Response,ReCaptcha $response | ||
return | ReCaptcha\Response |