Class TargetedSiteDataClearingMiddleware
Middleware which provides support for targeted site data clearing.
Inheritance
System.Object
TargetedSiteDataClearingMiddleware
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lib.AspNetCore.Security
Assembly: Lib.AspNetCore.Security.dll
Syntax
public class TargetedSiteDataClearingMiddleware
Constructors
TargetedSiteDataClearingMiddleware(RequestDelegate, IOptions<TargetedSiteDataClearingOptions>)
Instantiates a new TargetedSiteDataClearingMiddleware.
Declaration
public TargetedSiteDataClearingMiddleware(RequestDelegate next, IOptions<TargetedSiteDataClearingOptions> options)
Parameters
Type | Name | Description |
---|---|---|
RequestDelegate | next | The next middleware in the pipeline. |
IOptions<TargetedSiteDataClearingOptions> | options | An instance of the TargetedSiteDataClearingOptions to configure the middleware. |
Methods
Invoke(HttpContext)
Process an individual request.
Declaration
public async Task Invoke(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | The context. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The task object representing the asynchronous operation. |