Google Cloud Recaptcha Enterprise V1 Client - Class InvalidReason (1.15.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class InvalidReason.

Enum that represents the types of invalid token reasons.

Protobuf type google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1 \ TokenProperties

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

INVALID_REASON_UNSPECIFIED

Value: 0

Default unspecified type.

Generated from protobuf enum INVALID_REASON_UNSPECIFIED = 0;

UNKNOWN_INVALID_REASON

Value: 1

If the failure reason was not accounted for.

Generated from protobuf enum UNKNOWN_INVALID_REASON = 1;

MALFORMED

Value: 2

The provided user verification token was malformed.

Generated from protobuf enum MALFORMED = 2;

EXPIRED

Value: 3

The user verification token had expired.

Generated from protobuf enum EXPIRED = 3;

DUPE

Value: 4

The user verification had already been seen.

Generated from protobuf enum DUPE = 4;

MISSING

Value: 5

The user verification token was not present.

Generated from protobuf enum MISSING = 5;

BROWSER_ERROR

Value: 6

A retriable error (such as network failure) occurred on the browser.

Could easily be simulated by an attacker.

Generated from protobuf enum BROWSER_ERROR = 6;