Show / Hide Table of Contents

Class AccountSessionAppService

Inheritance
object
ApplicationService
AccountSessionAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IAccountSessionAppService
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Account
Assembly: Volo.Abp.Account.Pro.Public.Application.dll
Syntax
[Authorize]
public class AccountSessionAppService : ApplicationService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IAccountSessionAppService, IApplicationService, IRemoteService

Constructors

AccountSessionAppService(IdentitySessionManager, IIdentitySessionRepository, IIdentityUserRepository)

Declaration
public AccountSessionAppService(IdentitySessionManager identitySessionManager, IIdentitySessionRepository identitySessionRepository, IIdentityUserRepository identityUserRepository)
Parameters
Type Name Description
IdentitySessionManager identitySessionManager
IIdentitySessionRepository identitySessionRepository
IIdentityUserRepository identityUserRepository

Properties

IdentitySessionManager

Declaration
protected IdentitySessionManager IdentitySessionManager { get; }
Property Value
Type Description
IdentitySessionManager

IdentitySessionRepository

Declaration
protected IIdentitySessionRepository IdentitySessionRepository { get; }
Property Value
Type Description
IIdentitySessionRepository

IdentityUserRepository

Declaration
protected IIdentityUserRepository IdentityUserRepository { get; }
Property Value
Type Description
IIdentityUserRepository

Methods

GetAsync(Guid)

Declaration
public virtual Task<IdentitySessionDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<IdentitySessionDto>

GetCurrentUserSessionAsync(Guid)

Declaration
protected virtual Task<IdentitySession> GetCurrentUserSessionAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<IdentitySession>

GetListAsync(GetAccountIdentitySessionListInput)

Declaration
public virtual Task<PagedResultDto<IdentitySessionDto>> GetListAsync(GetAccountIdentitySessionListInput input)
Parameters
Type Name Description
GetAccountIdentitySessionListInput input
Returns
Type Description
Task<PagedResultDto<IdentitySessionDto>>

RevokeAsync(Guid)

Declaration
public virtual Task RevokeAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IAccountSessionAppService
IApplicationService
IRemoteService

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