Class ClientsController
Implements
Inherited Members
Namespace: Volo.Abp.IdentityServer
Assembly: Volo.Abp.IdentityServer.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpIdentityServer")]
[Area("identityServer")]
[Controller]
[Route("api/identity-server/clients")]
[DisableAuditing]
public class ClientsController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, IClientAppService, ICrudAppService<ClientWithDetailsDto, Guid, GetClientListInput, CreateClientDto, UpdateClientDto>, ICrudAppService<ClientWithDetailsDto, ClientWithDetailsDto, Guid, GetClientListInput, CreateClientDto, UpdateClientDto>, IReadOnlyAppService<ClientWithDetailsDto, ClientWithDetailsDto, Guid, GetClientListInput>, ICreateUpdateAppService<ClientWithDetailsDto, Guid, CreateClientDto, UpdateClientDto>, ICreateAppService<ClientWithDetailsDto, CreateClientDto>, IUpdateAppService<ClientWithDetailsDto, Guid, UpdateClientDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
ClientsController(IClientAppService)
Declaration
public ClientsController(IClientAppService clientAppService)
Parameters
Type | Name | Description |
---|---|---|
IClientAppService | clientAppService |
Properties
ClientAppService
Declaration
protected IClientAppService ClientAppService { get; }
Property Value
Type | Description |
---|---|
IClientAppService |
Methods
CreateAsync(CreateClientDto)
Declaration
[HttpPost]
public virtual Task<ClientWithDetailsDto> CreateAsync(CreateClientDto input)
Parameters
Type | Name | Description |
---|---|---|
CreateClientDto | input |
Returns
Type | Description |
---|---|
Task<ClientWithDetailsDto> |
DeleteAsync(Guid)
Declaration
[HttpDelete]
public virtual Task DeleteAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
GetAsync(Guid)
Declaration
[HttpGet]
[Route("{id}")]
public virtual Task<ClientWithDetailsDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<ClientWithDetailsDto> |
GetListAsync(GetClientListInput)
Declaration
[HttpGet]
public virtual Task<PagedResultDto<ClientWithDetailsDto>> GetListAsync(GetClientListInput input)
Parameters
Type | Name | Description |
---|---|---|
GetClientListInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<ClientWithDetailsDto>> |
UpdateAsync(Guid, UpdateClientDto)
Declaration
[HttpPut]
[Route("{id}")]
public virtual Task<ClientWithDetailsDto> UpdateAsync(Guid id, UpdateClientDto input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
UpdateClientDto | input |
Returns
Type | Description |
---|---|
Task<ClientWithDetailsDto> |