Enum TokenProperties.InvalidReason (3.52.0)

public enum TokenProperties.InvalidReason extends Enum<TokenProperties.InvalidReason> implements ProtocolMessageEnum

Enum that represents the types of invalid token reasons.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
BROWSER_ERROR

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

BROWSER_ERROR = 6;

BROWSER_ERROR_VALUE

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

BROWSER_ERROR = 6;

DUPE

The user verification had already been seen.

DUPE = 4;

DUPE_VALUE

The user verification had already been seen.

DUPE = 4;

EXPIRED

The user verification token had expired.

EXPIRED = 3;

EXPIRED_VALUE

The user verification token had expired.

EXPIRED = 3;

INVALID_REASON_UNSPECIFIED

Default unspecified type.

INVALID_REASON_UNSPECIFIED = 0;

INVALID_REASON_UNSPECIFIED_VALUE

Default unspecified type.

INVALID_REASON_UNSPECIFIED = 0;

MALFORMED

The provided user verification token was malformed.

MALFORMED = 2;

MALFORMED_VALUE

The provided user verification token was malformed.

MALFORMED = 2;

MISSING

The user verification token was not present.

MISSING = 5;

MISSING_VALUE

The user verification token was not present.

MISSING = 5;

UNKNOWN_INVALID_REASON

If the failure reason was not accounted for.

UNKNOWN_INVALID_REASON = 1;

UNKNOWN_INVALID_REASON_VALUE

If the failure reason was not accounted for.

UNKNOWN_INVALID_REASON = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()