mediawiki-extensions-Confir.../includes/CaptchaValue.php
Gergő Tisza 31c59374a4 Add AuthManager support to SimpleCaptcha, QuestyCaptcha, FancyCaptcha, MathCaptcha
Also update MathCaptcha so that it works with recent versions of
Math (and breaks with old ones). Also fix MathCaptcha API output,
which used to send the question in plaintext.

Bug: T110302
Change-Id: I0da671a546700110d789b79a3089460abd9cce3b
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
2016-05-16 09:50:25 +00:00

25 lines
316 B
PHP

<?php
/**
* Simple value object for storing a captcha question + answer.
*/
class CaptchaValue {
/**
* ID that is used to store the captcha in cache.
* @var string
*/
protected $id;
/**
* Answer to the captcha.
* @var string
*/
protected $solution;
/**
* @var mixed
*/
protected $data;
}