C# Class Emergy.Core.Services.ReCaptchaValidator

Inheritance: IReCaptchaValidator
Show file Open project: gboduljak/Emergy

Public Methods

Method Description
Dispose ( ) : void
GetErrors ( ReCaptchaApiResponse apiResponse ) : IReadOnlyCollection
ReCaptchaValidator ( ) : System
Validate ( string response ) : Task

Private Methods

Method Description
BuildUrl ( string response ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetErrors() public method

public GetErrors ( ReCaptchaApiResponse apiResponse ) : IReadOnlyCollection
apiResponse ReCaptchaApiResponse
return IReadOnlyCollection

ReCaptchaValidator() public method

public ReCaptchaValidator ( ) : System
return System

Validate() public method

public Validate ( string response ) : Task
response string
return Task