XssValidation

Namespace: ASPSecurityKit.ServiceStack
Assembly: ASPSecurityKit.ServiceStack.dll

Summary

Provides methods to execute cross-site scripting (XSS) validation on the given request.

Methods

Validate(req,requestDto,requestService)

Summary

Executes the filter synchronously on the given request dto.

Parameters
Name Type Description
req ServiceStack.Web.IRequest The request.
requestDto System.Object The request dto.
requestService ASPSecurityKit.ServiceStack.IServiceStackRequestService The request service.

ValidateAsync(req,requestDto,requestService)

Summary

Executes the filter asynchronously on the given request dto.

Parameters
Name Type Description
req ServiceStack.Web.IRequest The request.
requestDto System.Object The request dto.
requestService ASPSecurityKit.ServiceStack.IServiceStackRequestService The request service.