Interface ICleanupTask
Represents a task that performs clean up, for example removing old data according to GDPR.
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface ICleanupTask
Methods
Run(CancellationToken)
Performs the cleanup task.
Declaration
Task Run(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled. |
Returns
System.Threading.Tasks.Task
The System.Threading.Tasks.Task that represents the asynchronous operation. |