ASPSecurityKitFeature

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

Summary

ASP Security Kit plugin for Service Stack.

Constructors

#ctor()

Summary

Initializes a new instance of the ASPSecurityKitFeature class.

Parameters

This constructor has no parameters.

Properties

BeforeRequestProcess

Summary

Gets or sets the delegate that will be called before the request processing begins (by ProcessRequestAsync. You should initialize any request scoped objects that you need to access in both filters and service method via this delegate. This is only considered when RegisterAsyncFilter is set to true (the default).

RegisterAsyncFilter

Summary

Gets or sets whether an async global filter to execute the ISecurityPipeline asynchronously will be registered.

ValidateXss

Summary

Gets or sets a value indicating whether cross-site scripting (XSS) validation should be performed on the request DTO. The default is true.

Value

A Boolean value indicating whether cross-site scripting (XSS) validation should be performed on the request DTO.

Methods

Register(appHost)

Summary

Performs operation(s)/registers hook(s) necessary for ASPSecurityKit.

Parameters
Name Type Description
appHost ServiceStack.IAppHost The application host.
Exceptions
Type Description
System.ArgumentNullException When appHost is null.