Log in
Interface

ReCaptchaConfigInterface

Magento\ReCaptchaWebapiGraphQl\Model\Adapter\ReCaptchaConfigInterface

What it does

This interface defines the contract for retrieving Google reCAPTCHA configuration settings in Magento 2's GraphQL API context.

Developers implement this interface to create adapters that provide reCAPTCHA settings like API keys, theme, language, score thresholds, and badge positioning for different reCAPTCHA types (v2, v3, invisible) used in GraphQL endpoints.

Public Methods

  • getWebsiteKey()
  • getTheme()
  • getLanguageCode()
  • getMinimumScore()
  • getBadgePosition()