Log in
Model

CaptchaResponseResolver

Magento\ReCaptchaUi\Model\CaptchaResponseResolver

What it does

This class extracts and validates the reCAPTCHA response parameter from HTTP requests.

Developers use it when implementing reCAPTCHA validation to retrieve the user's captcha token from form submissions before sending it to Google's verification service.

It throws an exception if the reCAPTCHA parameter is missing from the request.

Public Methods

  • resolve()