ProtectAttribute
Members
Namespace: ASPSecurityKit.NetFramework.WebApi
Assembly: ASPSecurityKit.NetFramework.WebApi.dll
Summary
An ASP.NET Web API action filter attribute that protects the associated actions or endpoints by executing a strong security pipeline provided by ASPSecurityKit.
Members
RequestServiceInitializer
Summary
Initializer for IRequestService; defaults to initializing the RequestService. Override it to initialize a derived or an entirely different implementation of the IRequestService.
Methods
ExecuteActionFilterAsync(actionContext,cancellationToken,continuation)
Summary
Initializes and executes the ISecurityPipeline before the action method executes.
Parameters
Name | Type | Description |
---|---|---|
actionContext | System.Web.Http.Controllers.HttpActionContext | The action context. |
cancellationToken | System.Threading.CancellationToken | The cancellation token assigned for this task. |
continuation | System.Func{System.Threading.Tasks.Task{System.Net.Http.HttpResponseMessage}} | The delegate function to continue after the action method is invoked. |