Log in
Interface

RequestHandlerInterface

Magento\ReCaptchaUi\Model\RequestHandlerInterface

What it does

This interface defines a contract for handling reCAPTCHA validation in HTTP requests.

Developers implement this interface to create request handlers that validate reCAPTCHA submissions for different functionalities (like login, contact forms, etc.), automatically setting error messages and redirecting users if validation fails.

It serves as a convenience layer to avoid repetitive reCAPTCHA validation code throughout the application.

Public Methods

  • execute()