Log in
Model

CaptchaTypeResolver

Magento\ReCaptchaAdminUi\Model\CaptchaTypeResolver

What it does

This class determines which type of ReCAPTCHA (v2, v3, invisible) should be used for specific admin areas in Magento 2.

Developers use this to retrieve the configured captcha type for different backend forms like login, forgot password, or other admin operations by passing a key identifier.

Public Methods

  • getCaptchaTypeFor()