Class ApiScopesController
Implements
ICrudAppService<ApiScopeWithDetailsDto, Guid, GetApiScopeListInput, CreateApiScopeDto, UpdateApiScopeDto>
Inherited Members
Namespace: Volo.Abp.IdentityServer
Assembly: Volo.Abp.IdentityServer.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpIdentityServer")]
[Area("identityServer")]
[Controller]
[Route("api/identity-server/apiScopes")]
[DisableAuditing]
public class ApiScopesController : AbpController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable, IAvoidDuplicateCrossCuttingConcerns, IApiScopeAppService, ICrudAppService<ApiScopeWithDetailsDto, Guid, GetApiScopeListInput, CreateApiScopeDto, UpdateApiScopeDto>, ICrudAppService<ApiScopeWithDetailsDto, ApiScopeWithDetailsDto, Guid, GetApiScopeListInput, CreateApiScopeDto, UpdateApiScopeDto>, IReadOnlyAppService<ApiScopeWithDetailsDto, ApiScopeWithDetailsDto, Guid, GetApiScopeListInput>, ICreateUpdateAppService<ApiScopeWithDetailsDto, Guid, CreateApiScopeDto, UpdateApiScopeDto>, ICreateAppService<ApiScopeWithDetailsDto, CreateApiScopeDto>, IUpdateAppService<ApiScopeWithDetailsDto, Guid, UpdateApiScopeDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
ApiScopesController(IApiScopeAppService)
Declaration
public ApiScopesController(IApiScopeAppService apiScopeAppService)
Parameters
Type | Name | Description |
---|---|---|
IApiScopeAppService | apiScopeAppService |
Properties
ApiScopeAppService
Declaration
public IApiScopeAppService ApiScopeAppService { get; }
Property Value
Type | Description |
---|---|
IApiScopeAppService |
Methods
CreateAsync(CreateApiScopeDto)
Declaration
[HttpPost]
public Task<ApiScopeWithDetailsDto> CreateAsync(CreateApiScopeDto input)
Parameters
Type | Name | Description |
---|---|---|
CreateApiScopeDto | input |
Returns
Type | Description |
---|---|
Task<ApiScopeWithDetailsDto> |
DeleteAsync(Guid)
Declaration
[HttpDelete]
public Task DeleteAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
GetAllListAsync()
Declaration
[HttpGet]
[Route("all")]
public Task<List<ApiScopeWithDetailsDto>> GetAllListAsync()
Returns
Type | Description |
---|---|
Task<List<ApiScopeWithDetailsDto>> |
GetAsync(Guid)
Declaration
[HttpGet]
[Route("{id}")]
public Task<ApiScopeWithDetailsDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<ApiScopeWithDetailsDto> |
GetListAsync(GetApiScopeListInput)
Declaration
[HttpGet]
public Task<PagedResultDto<ApiScopeWithDetailsDto>> GetListAsync(GetApiScopeListInput input)
Parameters
Type | Name | Description |
---|---|---|
GetApiScopeListInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<ApiScopeWithDetailsDto>> |
UpdateAsync(Guid, UpdateApiScopeDto)
Declaration
[HttpPut]
[Route("{id}")]
public Task<ApiScopeWithDetailsDto> UpdateAsync(Guid id, UpdateApiScopeDto input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
UpdateApiScopeDto | input |
Returns
Type | Description |
---|---|
Task<ApiScopeWithDetailsDto> |