Skip to content

Commit

Permalink
Merge pull request #5 from jgdevlabs/dev
Browse files Browse the repository at this point in the history
Added V3 response properties
  • Loading branch information
jooni91 authored Feb 29, 2020
2 parents c7dffc2 + 91a235d commit bd3df95
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ReCaptcha/Models/ValidationResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ public class ValidationResponse
[JsonProperty(PropertyName = "success")]
public bool Success { get; set; }

/// <summary>
/// The score for this request (0.0 - 1.0). Only used with reCAPTCHA V3.
/// </summary>
[JsonProperty(PropertyName = "score")]
public double? Score { get; set; } = null;

/// <summary>
/// The action name for this request (important to verify). Only used with reCAPTCHA V3.
/// </summary>
[JsonProperty(PropertyName = "action")]
public string? Action { get; set; } = null;

/// <summary>
/// Timestamp of the challenge load.
/// </summary>
Expand Down

0 comments on commit bd3df95

Please sign in to comment.