Google Cloud reCAPTCHA Enterprise v1 API - Enum TokenProperties.Types.InvalidReason (2.20.0)

public enum TokenProperties.Types.InvalidReason

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API enum TokenProperties.Types.InvalidReason.

Enum that represents the types of invalid token reasons. Ensure that applications can handle values not explicitly listed.

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Fields

Name Description
BrowserError

A retriable error (such as network failure) occurred on the browser. Could easily be simulated by an attacker.

Dupe

The user verification had already been seen.

Expired

The user verification token had expired.

Malformed

The provided user verification token was malformed.

Missing

The user verification token was not present.

UnexpectedAction

The action provided at token generation was different than the expected_action in the assessment request. The comparison is case-insensitive. This reason can only be returned if all of the following are true:

  • your site_key has the POLICY_BASED_CHALLENGE integration type
  • you set an action score threshold higher than 0.0
  • you provided a non-empty expected_action
UnknownInvalidReason

If the failure reason was not accounted for.

Unspecified

Default unspecified type.