C# Class SimCaptcha.AspNetCore.SimCaptchaMiddleware

显示文件 Open project: yiyungent/SimCaptcha

Protected Properties

Property Type Description
_accessor IHttpContextAccessor
_jsonHelper IJsonHelper
_next RequestDelegate
_options SimCaptchaOptions
_service SimCaptchaService

Public Methods

Method Description
InvokeAsync ( HttpContext context ) : Task
SimCaptchaMiddleware ( RequestDelegate next, IOptions optionsAccessor, ICache cache, IHttpContextAccessor accessor, IVCodeImage vCodeImage, IJsonHelper jsonHelper, ILogHelper logHelper ) : Microsoft.AspNetCore.Http

Method Details

InvokeAsync() public abstract method

public abstract InvokeAsync ( HttpContext context ) : Task
context HttpContext
return Task

SimCaptchaMiddleware() public method

public SimCaptchaMiddleware ( RequestDelegate next, IOptions optionsAccessor, ICache cache, IHttpContextAccessor accessor, IVCodeImage vCodeImage, IJsonHelper jsonHelper, ILogHelper logHelper ) : Microsoft.AspNetCore.Http
next RequestDelegate
optionsAccessor IOptions
cache ICache
accessor IHttpContextAccessor
vCodeImage IVCodeImage
jsonHelper IJsonHelper
logHelper ILogHelper
return Microsoft.AspNetCore.Http

Property Details

_accessor protected_oe property

protected IHttpContextAccessor _accessor
return IHttpContextAccessor

_jsonHelper protected_oe property

protected IJsonHelper _jsonHelper
return IJsonHelper

_next protected_oe property

protected RequestDelegate _next
return RequestDelegate

_options protected_oe property

protected SimCaptchaOptions _options
return SimCaptchaOptions

_service protected_oe property

protected SimCaptchaService _service
return SimCaptchaService