public sealed class TokenProperties : IMessage<TokenProperties>, IEquatable<TokenProperties>, IDeepCloneable<TokenProperties>, IBufferMessage, IMessage
Implements
IMessage<TokenProperties>, IEquatable<TokenProperties>, IDeepCloneable<TokenProperties>, 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; }
Action name provided at token generation.
Property Value | |
---|---|
Type | Description |
String |
AndroidPackageName
public string AndroidPackageName { get; set; }
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; }
The timestamp corresponding to the generation of the token.
Property Value | |
---|---|
Type | Description |
Timestamp |
Hostname
public string Hostname { get; set; }
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; }
Reason associated with the response when valid = false.
Property Value | |
---|---|
Type | Description |
TokenProperties.Types.InvalidReason |
IosBundleId
public string IosBundleId { get; set; }
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; }
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).
Property Value | |
---|---|
Type | Description |
Boolean |