Class IdentityResourcesController
Implements
ICrudAppService<IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>
ICrudAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>
IReadOnlyAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput>
Inherited Members
Namespace: Volo.Abp.IdentityServer
Assembly: Volo.Abp.IdentityServer.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpIdentityServer")]
[Area("identityServer")]
[Controller]
[Route("api/identity-server/identity-resources")]
[DisableAuditing]
public class IdentityResourcesController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, IIdentityResourceAppService, ICrudAppService<IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>, ICrudAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>, IReadOnlyAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput>, ICreateUpdateAppService<IdentityResourceWithDetailsDto, Guid, CreateIdentityResourceDto, UpdateIdentityResourceDto>, ICreateAppService<IdentityResourceWithDetailsDto, CreateIdentityResourceDto>, IUpdateAppService<IdentityResourceWithDetailsDto, Guid, UpdateIdentityResourceDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
IdentityResourcesController(IIdentityResourceAppService)
Declaration
public IdentityResourcesController(IIdentityResourceAppService identityResourceAppService)
Parameters
Type | Name | Description |
---|---|---|
IIdentityResourceAppService | identityResourceAppService |
Properties
IdentityResourceAppService
Declaration
protected IIdentityResourceAppService IdentityResourceAppService { get; }
Property Value
Type | Description |
---|---|
IIdentityResourceAppService |
Methods
CreateAsync(CreateIdentityResourceDto)
Declaration
[HttpPost]
public virtual Task<IdentityResourceWithDetailsDto> CreateAsync(CreateIdentityResourceDto input)
Parameters
Type | Name | Description |
---|---|---|
CreateIdentityResourceDto | input |
Returns
Type | Description |
---|---|
Task<IdentityResourceWithDetailsDto> |
CreateStandardResourcesAsync()
Declaration
[HttpPost]
[Route("create-standard-resources")]
public virtual Task CreateStandardResourcesAsync()
Returns
Type | Description |
---|---|
Task |
DeleteAsync(Guid)
Declaration
[HttpDelete]
public virtual Task DeleteAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
GetAllListAsync()
Declaration
[HttpGet]
[Route("all")]
public virtual Task<List<IdentityResourceWithDetailsDto>> GetAllListAsync()
Returns
Type | Description |
---|---|
Task<List<IdentityResourceWithDetailsDto>> |
GetAsync(Guid)
Declaration
[HttpGet]
[Route("{id}")]
public virtual Task<IdentityResourceWithDetailsDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<IdentityResourceWithDetailsDto> |
GetListAsync(GetIdentityResourceListInput)
Declaration
[HttpGet]
[Route("")]
public Task<PagedResultDto<IdentityResourceWithDetailsDto>> GetListAsync(GetIdentityResourceListInput input)
Parameters
Type | Name | Description |
---|---|---|
GetIdentityResourceListInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<IdentityResourceWithDetailsDto>> |
UpdateAsync(Guid, UpdateIdentityResourceDto)
Declaration
[HttpPut]
[Route("{id}")]
public virtual Task<IdentityResourceWithDetailsDto> UpdateAsync(Guid id, UpdateIdentityResourceDto input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
UpdateIdentityResourceDto | input |
Returns
Type | Description |
---|---|
Task<IdentityResourceWithDetailsDto> |