class CaptchaManager extends Manager

Class CaptchaManager

Methods

GoogleReCaptcha
createGoogleDriver()

Create google reCAPTCHA driver

createNaverDriver()

Create google reCAPTCHA driver

array
getConfig(string $driver)

Returns api config

string
getDefaultDriver()

Get the default captcha driver name.

void
setDefaultDriver(string $name)

Set the default captcha driver name.

Details

at line 38
GoogleReCaptcha createGoogleDriver()

Create google reCAPTCHA driver

Return Value

GoogleReCaptcha

at line 55
NaverCaptcha createNaverDriver()

Create google reCAPTCHA driver

Return Value

NaverCaptcha

at line 75
protected array getConfig(string $driver)

Returns api config

Parameters

string $driver driver name

Return Value

array

at line 87
string getDefaultDriver()

Get the default captcha driver name.

Return Value

string

at line 98
void setDefaultDriver(string $name)

Set the default captcha driver name.

Parameters

string $name driver name

Return Value

void