Enum TokenProperties.InvalidReason (3.0.12)

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

Enum that represents the types of invalid token reasons.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
BROWSER_ERROR

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

BROWSER_ERROR = 7;

BROWSER_ERROR_VALUE

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

BROWSER_ERROR = 7;

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. It is a required input.

MISSING = 6;

MISSING_VALUE

The user verification token was not present. It is a required input.

MISSING = 6;

SITE_MISMATCH

The user verification token did not match the provided site key. This may be a configuration error (e.g. development keys used in production) or end users trying to use verification tokens from other sites.

SITE_MISMATCH = 5 [deprecated = true];

SITE_MISMATCH_VALUE

The user verification token did not match the provided site key. This may be a configuration error (e.g. development keys used in production) or end users trying to use verification tokens from other sites.

SITE_MISMATCH = 5 [deprecated = true];

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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()