Log in
Interface

ValidationConfigInterface

Magento\ReCaptchaValidationApi\Api\Data\ValidationConfigInterface

What it does

This interface defines the contract for reCAPTCHA validation configuration in Magento 2.

Developers use this to retrieve essential reCAPTCHA settings like the Google API secret key, remote IP address for validation, and custom failure messages when implementing or extending reCAPTCHA functionality in their modules.

Public Methods

  • getPrivateKey()
  • getRemoteIp()
  • getValidationFailureMessage()
  • getExtensionAttributes()