TokenProperties(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Properties of the provided event token.
Attributes |
|
---|---|
Name | Description |
valid |
bool
Output only. Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment). |
invalid_reason |
google.cloud.recaptchaenterprise_v1.types.TokenProperties.InvalidReason
Output only. Reason associated with the response when valid = false. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp corresponding to the generation of the token. |
hostname |
str
Output only. The hostname of the page on which the token was generated (Web keys only). |
android_package_name |
str
Output only. The name of the Android package with which the token was generated (Android keys only). |
ios_bundle_id |
str
Output only. The ID of the iOS bundle with which the token was generated (iOS keys only). |
action |
str
Output only. Action name provided at token generation. |
Classes
InvalidReason
InvalidReason(value)
Enum that represents the types of invalid token reasons.