Class RecaptchaValidatorV2
Inheritance
RecaptchaValidatorV2
Assembly: Volo.Abp.Account.Pro.Public.Web.dll
Syntax
[ExposeServices(new Type[] { typeof(RecaptchaValidatorV2) })]
public class RecaptchaValidatorV2 : RecaptchaValidatorBase, IRecaptchaValidator, ITransientDependency
Constructors
RecaptchaValidatorV2(IHttpContextAccessor, IStringLocalizer<AccountResource>, IJsonSerializer, IreCAPTCHASiteVerifyV2)
Declaration
public RecaptchaValidatorV2(IHttpContextAccessor httpContextAccessor, IStringLocalizer<AccountResource> stringLocalizer, IJsonSerializer jsonSerializer, IreCAPTCHASiteVerifyV2 reCaptchaSiteVerifyV2)
Parameters
Properties
ReCAPTCHASiteVerifyV2
Declaration
protected IreCAPTCHASiteVerifyV2 ReCAPTCHASiteVerifyV2 { get; }
Property Value
Type |
Description |
IreCAPTCHASiteVerifyV2 |
|
Methods
ValidateAsync(string)
Declaration
public override Task ValidateAsync(string captchaResponse)
Parameters
Type |
Name |
Description |
string |
captchaResponse |
|
Returns
Overrides
Implements
Extension Methods