Log in
Interface

CaptchaResponseResolverInterface

Magento\ReCaptchaUi\Model\CaptchaResponseResolverInterface

What it does

This interface defines a contract for extracting the reCAPTCHA response token from HTTP requests in Magento 2.

Developers implement this interface to create custom resolvers that can retrieve the 'g-recaptcha-response' parameter from different types of requests (standard or plain text).

It serves as an extension point for handling various reCAPTCHA validation scenarios across different parts of the application.

Public Methods

  • resolve()