Type Definitions
-
MessageTemplates
-
Message Templates object to get error messages from error codes received from the reCaptcha-v2 'backend' service.
-
ReCaptchaTestValue
-
Properties:
Name Type Attributes Description secretString The 'secret' key sent to the google reCaptcha-v2 backend service. responseString The 'response' string sent to the reCaptcha-v2 backend service. remoteipString <optional>
Optional. The 'remoteip' string sent to the reCaptcha-v2 backend-validation service. -
ReCaptchaValidatorOptions
-
Properties:
Name Type Description requestOptionsRequestOptions messageTemplatesMessageTemplates -
RequestOptions
-
Options used to make request to google's reCaptcha-v2 backend-validation service.
-
ValidationResult
-
Properties:
Name Type Description resultBoolean Result of validators validation (`true` or `false`). messagesArray.<String> Validation failure messages; Reasons why tested value(s) didn't pass validation.