Table of Contents

Class RecaptchaValidator

Namespace
CMS.FormEngine
Assembly
CMS.FormEngine.dll

Calls the reCAPTCHA server to validate the answer to a reCAPTCHA challenge.

public class RecaptchaValidator
Inheritance
object
RecaptchaValidator
Extension Methods

Properties

PrivateKey

The shared key between the site and reCAPTCHA.

public string PrivateKey { get; set; }

Property Value

string

RemoteIP

The user's IP address.

public string RemoteIP { get; set; }

Property Value

string

Response

The user response token provided by reCAPTCHA, verifying the user on your site.

public string Response { get; set; }

Property Value

string

Methods

Validate()

Validate reCAPTCHA response

public Task<RecaptchaResponse> Validate()

Returns

Task<RecaptchaResponse>