Class AccountSessionController
Implements
Inherited Members
Namespace: Volo.Abp.Account
Assembly: Volo.Abp.Account.Pro.Public.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpAccountPublic")]
[Area("account")]
[Route("/api/account/sessions")]
public class AccountSessionController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, IAccountSessionAppService, IApplicationService, IRemoteService
Constructors
AccountSessionController(IAccountSessionAppService)
Declaration
public AccountSessionController(IAccountSessionAppService accountSessionAppService)
Parameters
Type | Name | Description |
---|---|---|
IAccountSessionAppService | accountSessionAppService |
Properties
AccountSessionAppService
Declaration
protected IAccountSessionAppService AccountSessionAppService { get; }
Property Value
Type | Description |
---|---|
IAccountSessionAppService |
Methods
GetAsync(Guid)
Declaration
[HttpGet]
[Route("{id}")]
public virtual Task<IdentitySessionDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<IdentitySessionDto> |
GetListAsync(GetAccountIdentitySessionListInput)
Declaration
[HttpGet]
public virtual Task<PagedResultDto<IdentitySessionDto>> GetListAsync(GetAccountIdentitySessionListInput input)
Parameters
Type | Name | Description |
---|---|---|
GetAccountIdentitySessionListInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<IdentitySessionDto>> |
RevokeAsync(Guid)
Declaration
[HttpDelete]
[Route("{id}")]
public virtual Task RevokeAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |