@Unstable
@Role
public interface Captcha
String display() throws CaptchaException
CaptchaException
- in case of problemsString display(Map<String,Object> parameters) throws CaptchaException
parameters
- the configuration values to override when displaying the CAPTCHA. Missing parameters value are
taken from the CAPTCHA's configurationCaptchaException
- in case of problemsboolean isValid() throws CaptchaException
true
if the CAPTCHA answer passed to the current context is valid; false
otherwiseCaptchaException
- in case of problemsboolean isValid(Map<String,Object> parameters) throws CaptchaException
parameters
- the configuration values to override when validating the CAPTCHA's answer. Missing parameters
value are taken from the CAPTCHA's configurationtrue
if the CAPTCHA answer passed to the current context, using the given parameters to override
the configuration, is valid; false
otherwiseCaptchaException
- in case of problemsCopyright © 2004–2019 XWiki. All rights reserved.