C# Class Junior.Route.Routing.RequestValidators.AntiCsrfRequestValidator

Inheritance: IRequestValidator
Mostra file Open project: nathan-alden/junior-route

Public Methods

Method Description
AntiCsrfRequestValidator ( IAntiCsrfCookieManager antiCsrfCookieManager, IAntiCsrfNonceValidator antiCsrfNonceValidator, IAntiCsrfResponseGenerator antiCsrfResponseGenerator ) : System
Validate ( System.Web.HttpRequestBase request, System.Web.HttpResponseBase response ) : Task

Method Details

AntiCsrfRequestValidator() public method

public AntiCsrfRequestValidator ( IAntiCsrfCookieManager antiCsrfCookieManager, IAntiCsrfNonceValidator antiCsrfNonceValidator, IAntiCsrfResponseGenerator antiCsrfResponseGenerator ) : System
antiCsrfCookieManager IAntiCsrfCookieManager
antiCsrfNonceValidator IAntiCsrfNonceValidator
antiCsrfResponseGenerator IAntiCsrfResponseGenerator
return System

Validate() public method

public Validate ( System.Web.HttpRequestBase request, System.Web.HttpResponseBase response ) : Task
request System.Web.HttpRequestBase
response System.Web.HttpResponseBase
return Task