Class RecaptchaResponse
- Namespace
- CMS.FormEngine
- Assembly
- CMS.FormEngine.dll
Encapsulates a response from reCAPTCHA web service.
public class RecaptchaResponse
- Inheritance
-
objectRecaptchaResponse
- Extension Methods
Constructors
RecaptchaResponse()
public RecaptchaResponse()
Properties
Action
Name of the action for which the reCAPTCHA v3 challenge was issued.
public string Action { get; set; }
Property Value
- string
ErrorCodes
Error codes explaining why reCAPTCHA validation failed.
public IEnumerable<string> ErrorCodes { get; set; }
Property Value
- IEnumerable<string>
ErrorMessage
Aggregated error message from all the error codes.
public string ErrorMessage { get; }
Property Value
- string
HostName
The hostname of the site where the reCAPTCHA was solved.
public string HostName { get; set; }
Property Value
- string
IsValid
Indicates whether the reCAPTCHA validation was successful.
public bool IsValid { get; set; }
Property Value
- bool
Score
Score (a number from 0.0 to 1.0) of a reCAPTCHA v3 request.
public double Score { get; set; }
Property Value
- double
TimeStamp
Timestamp of the challenge load.
public DateTime TimeStamp { get; set; }
Property Value
- DateTime