Log in
Model

Validator

Magento\ReCaptchaValidation\Model\Validator

What it does

This class validates reCAPTCHA responses from users by verifying them against Google's reCAPTCHA service.

Developers use this validator when implementing reCAPTCHA protection on forms to check if the user's reCAPTCHA token is valid, supports score thresholds for reCAPTCHA v3, and returns detailed error messages when validation fails.

Public Methods

  • isValid()