Class TokenCleanupService
Inheritance
TokenCleanupService
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public class TokenCleanupService : ITransientDependency
Constructors
TokenCleanupService(IPersistentGrantRepository, IDeviceFlowCodesRepository, IOptions<TokenCleanupOptions>)
Declaration
public TokenCleanupService(IPersistentGrantRepository persistentGrantRepository, IDeviceFlowCodesRepository deviceFlowCodesRepository, IOptions<TokenCleanupOptions> options)
Parameters
Properties
DeviceFlowCodesRepository
Declaration
protected IDeviceFlowCodesRepository DeviceFlowCodesRepository { get; }
Property Value
Options
Declaration
protected TokenCleanupOptions Options { get; }
Property Value
PersistentGrantRepository
Declaration
protected IPersistentGrantRepository PersistentGrantRepository { get; }
Property Value
Methods
CleanAsync()
Declaration
[UnitOfWork]
public virtual Task CleanAsync()
Returns
RemoveDeviceCodesAsync()
Declaration
protected virtual Task RemoveDeviceCodesAsync()
Returns
RemoveGrantsAsync()
Declaration
protected virtual Task RemoveGrantsAsync()
Returns
Implements
Extension Methods