Log in
Model

ReCaptchaV3

Magento\ReCaptchaWebapiGraphQl\Model\Resolver\ReCaptchaV3

What it does

This class is a GraphQL resolver that provides ReCaptcha V3 configuration data to the frontend.

Developers use this when they need to implement ReCaptcha V3 validation in GraphQL-based forms, as it returns all necessary settings like website keys, minimum scores, enabled forms, and failure messages.

It checks if ReCaptcha V3 is properly configured and returns the configuration data that the frontend needs to render and validate the captcha.

Public Methods

  • resolve()
  • isEnabled()
  • getFailureMessage()
  • _resetState()