Log in
Model

CaptchaTypeResolver

Magento\ReCaptchaUi\Model\CaptchaTypeResolver

What it does

This class resolves which type of CAPTCHA should be used for a given key (like a form identifier) across different areas of Magento.

It acts as a composite resolver that delegates to area-specific resolvers and returns the appropriate CAPTCHA type prefixed with the area name, making it useful when you need to determine CAPTCHA configuration for different parts of your Magento application.

Public Methods

  • getCaptchaTypeFor()