Enum that represents the types of invalid token reasons.
Protobuf type google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason
Constants |
public Google 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; |
public Google The user verification had already been seen. Generated from protobuf enum DUPE = 4; |
public Google The user verification token had expired. Generated from protobuf enum EXPIRED = 3; |
public Google Default unspecified type. Generated from protobuf enum INVALID_REASON_UNSPECIFIED = 0; |
public Google The provided user verification token was malformed. Generated from protobuf enum MALFORMED = 2; |
public Google The user verification token was not present. Generated from protobuf enum MISSING = 5; |
public Google If the failure reason was not accounted for. Generated from protobuf enum UNKNOWN_INVALID_REASON = 1; |
Methods |
public static name( $value) |
public static value( $name) |
Properties |
private static $valueToName = ['INVALID_REASON_UNSPECIFIED', 'UNKNOWN_INVALID_REASON', 'MALFORMED', 'EXPIRED', 'DUPE', 'MISSING', 'BROWSER_ERROR'] |
Properties |
private static $valueToName = ['INVALID_REASON_UNSPECIFIED', 'UNKNOWN_INVALID_REASON', 'MALFORMED', 'EXPIRED', 'DUPE', 'MISSING', 'BROWSER_ERROR'] |
Methods |
public static name( $value) |
public static value( $name) |