|
| clear ( $index) |
| Delete a result once the captcha has been used, so it cannot be reused.
|
|
| cookiesNeeded () |
| Whether this type of CaptchaStore needs cookies.
|
|
| retrieve ( $index) |
| Retrieve the answer for a given captcha.
|
|
| store ( $index, $info) |
| Store the correct answer for a given captcha.
|
|
|
| __construct () |
| Protected constructor: no creating instances except through the factory method above.
|
|
Definition at line 3 of file CaptchaStore.php.
◆ __construct()
CaptchaStore::__construct |
( |
| ) |
|
|
protected |
◆ clear()
CaptchaStore::clear |
( |
| $index | ) |
|
|
abstract |
◆ cookiesNeeded()
CaptchaStore::cookiesNeeded |
( |
| ) |
|
|
abstract |
◆ get()
static CaptchaStore::get |
( |
| ) |
|
|
staticfinal |
Get somewhere to store captcha data that will persist between requests.
- Exceptions
-
- Returns
- CaptchaStore
Definition at line 42 of file CaptchaStore.php.
References $instance, and and().
Referenced by SimpleCaptcha\clearCaptcha(), SimpleCaptcha\retrieveCaptcha(), CaptchaAuthenticationRequestTest\setUp(), CaptchaPreAuthenticationProviderTest\setUp(), QuestyCaptcha\showHelp(), SimpleCaptcha\showHelp(), SimpleCaptcha\storeCaptcha(), CaptchaPreAuthenticationProviderTest\testPingLimiter(), CaptchaPreAuthenticationProviderTest\testTestForAccountCreation(), and CaptchaPreAuthenticationProviderTest\testTestForAuthentication().
◆ retrieve()
CaptchaStore::retrieve |
( |
| $index | ) |
|
|
abstract |
◆ store()
CaptchaStore::store |
( |
| $index, |
|
|
| $info ) |
|
abstract |
◆ unsetInstanceForTests()
static CaptchaStore::unsetInstanceForTests |
( |
| ) |
|
|
staticfinal |
◆ $instance
The documentation for this class was generated from the following file: