Show / Hide Table of Contents

Class AspNetCoreSecurityLogManager

Inheritance
object
DefaultSecurityLogManager
AspNetCoreSecurityLogManager
Implements
ISecurityLogManager
ITransientDependency
Inherited Members
DefaultSecurityLogManager.SaveAsync(Action<SecurityLogInfo>)
DefaultSecurityLogManager.SecurityLogOptions
DefaultSecurityLogManager.SecurityLogStore
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.SecurityLog
Assembly: Volo.Abp.AspNetCore.dll
Syntax
[Dependency(ReplaceServices = true)]
public class AspNetCoreSecurityLogManager : DefaultSecurityLogManager, ISecurityLogManager, ITransientDependency

Constructors

AspNetCoreSecurityLogManager(IOptions<AbpSecurityLogOptions>, ISecurityLogStore, ILogger<AspNetCoreSecurityLogManager>, IClock, ICurrentUser, ICurrentTenant, ICurrentClient, IHttpContextAccessor, ICorrelationIdProvider, IWebClientInfoProvider)

Declaration
public AspNetCoreSecurityLogManager(IOptions<AbpSecurityLogOptions> securityLogOptions, ISecurityLogStore securityLogStore, ILogger<AspNetCoreSecurityLogManager> logger, IClock clock, ICurrentUser currentUser, ICurrentTenant currentTenant, ICurrentClient currentClient, IHttpContextAccessor httpContextAccessor, ICorrelationIdProvider correlationIdProvider, IWebClientInfoProvider webClientInfoProvider)
Parameters
Type Name Description
IOptions<AbpSecurityLogOptions> securityLogOptions
ISecurityLogStore securityLogStore
ILogger<AspNetCoreSecurityLogManager> logger
IClock clock
ICurrentUser currentUser
ICurrentTenant currentTenant
ICurrentClient currentClient
IHttpContextAccessor httpContextAccessor
ICorrelationIdProvider correlationIdProvider
IWebClientInfoProvider webClientInfoProvider

Properties

Clock

Declaration
protected IClock Clock { get; }
Property Value
Type Description
IClock

CorrelationIdProvider

Declaration
protected ICorrelationIdProvider CorrelationIdProvider { get; }
Property Value
Type Description
ICorrelationIdProvider

CurrentClient

Declaration
protected ICurrentClient CurrentClient { get; }
Property Value
Type Description
ICurrentClient

CurrentTenant

Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type Description
ICurrentTenant

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

HttpContextAccessor

Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
Type Description
IHttpContextAccessor

Logger

Declaration
protected ILogger<AspNetCoreSecurityLogManager> Logger { get; }
Property Value
Type Description
ILogger<AspNetCoreSecurityLogManager>

WebClientInfoProvider

Declaration
protected IWebClientInfoProvider WebClientInfoProvider { get; }
Property Value
Type Description
IWebClientInfoProvider

Methods

CreateAsync()

Declaration
protected override Task<SecurityLogInfo> CreateAsync()
Returns
Type Description
Task<SecurityLogInfo>
Overrides
DefaultSecurityLogManager.CreateAsync()

Implements

ISecurityLogManager
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform