Provides captcha verification to GraalJS controller code, reached from JS as the registered captcha manager. Delegates to whichever CaptchaApplication is currently active for the website, so callers do not need to know which captcha provider (e.g. reCAPTCHA) is configured.

Group: Managers


Methods

verify(Map<String,String> parameters)

Returns: boolean

Checks whether the given request parameters indicate a successful captcha challenge response, verified against whichever CaptchaApplication is currently active for the website. Returns false if no captcha app is active.

ParameterDescription
parametersthe request parameters submitted with the form, including the captcha response field

findCaptchaApp()

Returns: CaptchaApplication

Finds the currently active captcha app for the current context, ie the first active CaptchaApplication with captcha checking enabled.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.