public sealed class TokenProperties : IMessage<TokenProperties>, IEquatable<TokenProperties>, IDeepCloneable<TokenProperties>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class TokenProperties.
Properties of the provided event token.
Implements
IMessageTokenProperties, IEquatableTokenProperties, IDeepCloneableTokenProperties, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
Google.Cloud.RecaptchaEnterprise.V1.dll
Constructors
TokenProperties()
public TokenProperties()TokenProperties(TokenProperties)
public TokenProperties(TokenProperties other)| Parameter | |
|---|---|
| Name | Description |
other |
TokenProperties |
Properties
Action
public string Action { get; set; }Output only. Action name provided at token generation.
| Property Value | |
|---|---|
| Type | Description |
string |
|
AndroidPackageName
public string AndroidPackageName { get; set; }Output only. The name of the Android package with which the token was generated (Android keys only).
| Property Value | |
|---|---|
| Type | Description |
string |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The timestamp corresponding to the generation of the token.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Hostname
public string Hostname { get; set; }Output only. The hostname of the page on which the token was generated (Web keys only).
| Property Value | |
|---|---|
| Type | Description |
string |
|
InvalidReason
public TokenProperties.Types.InvalidReason InvalidReason { get; set; }Output only. Reason associated with the response when valid = false.
| Property Value | |
|---|---|
| Type | Description |
TokenPropertiesTypesInvalidReason |
|
IosBundleId
public string IosBundleId { get; set; }Output only. The ID of the iOS bundle with which the token was generated (iOS keys only).
| Property Value | |
|---|---|
| Type | Description |
string |
|
Valid
public bool Valid { get; set; }Output only. Indicates whether the provided user response token is valid.
If false, the token is invalid, either because the user failed the
challenge or for a reason provided in the invalid_reason field.
| Property Value | |
|---|---|
| Type | Description |
bool |
|