Show / Hide Table of Contents

Class TokenCleanupOptions

Inheritance
System.Object
TokenCleanupOptions
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: Volo.Abp.IdentityServer.Tokens
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public class TokenCleanupOptions

Properties

CleanupBatchSize

Default value: 100.

Declaration
public int CleanupBatchSize { get; set; }
Property Value
Type Description
System.Int32

CleanupLoopCount

The number of loop if there are more than CleanupBatchSize tokens in the database. So, if CleanupLoopCount is 10 and CleanupBatchSize is 100, then the cleanup worker will clean 1,000 items in one CleanupPeriod at max.

Default value: 10.

Declaration
public int CleanupLoopCount { get; set; }
Property Value
Type Description
System.Int32

CleanupPeriod

Default: 3,600,000 ms.

Declaration
public int CleanupPeriod { get; set; }
Property Value
Type Description
System.Int32

IsCleanupEnabled

Default value: true. If IsEnabled is false, this property is ignored and the cleanup worker doesn't work for this application instance.

Declaration
public bool IsCleanupEnabled { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft