Interface

CaptchaTypeResolverInterface

Magento\ReCaptchaUi\Model\CaptchaTypeResolverInterface

What it does

This interface defines a contract for resolving which type of reCAPTCHA should be used for different areas of a Magento store (like customer login, contact forms, checkout, etc.).

Developers use implementations of this interface to determine if reCAPTCHA is enabled for a specific functionality and which version (v2, v3, invisible) should be displayed to users.

Public Methods

  • getCaptchaTypeFor()