Show / Hide Table of Contents

Class ScopeController

Inheritance
object
AbpOpenIddictProController
ScopeController
Implements
IScopeAppService
ICrudAppService<ScopeDto, Guid, GetScopeListInput, CreateScopeInput, UpdateScopeInput>
ICrudAppService<ScopeDto, ScopeDto, Guid, GetScopeListInput, CreateScopeInput, UpdateScopeInput>
IReadOnlyAppService<ScopeDto, ScopeDto, Guid, GetScopeListInput>
IApplicationService
IRemoteService
ICreateUpdateAppService<ScopeDto, Guid, CreateScopeInput, UpdateScopeInput>
ICreateAppService<ScopeDto, CreateScopeInput>
IUpdateAppService<ScopeDto, Guid, UpdateScopeInput>
IDeleteAppService<Guid>
Namespace: Volo.Abp.OpenIddict
Assembly: Volo.Abp.OpenIddict.Pro.HttpApi.dll
Syntax
[Area("openiddictpro")]
[Controller]
[Route("api/openiddict/scopes")]
public class ScopeController : AbpOpenIddictProController, IScopeAppService, ICrudAppService<ScopeDto, Guid, GetScopeListInput, CreateScopeInput, UpdateScopeInput>, ICrudAppService<ScopeDto, ScopeDto, Guid, GetScopeListInput, CreateScopeInput, UpdateScopeInput>, IReadOnlyAppService<ScopeDto, ScopeDto, Guid, GetScopeListInput>, IApplicationService, IRemoteService, ICreateUpdateAppService<ScopeDto, Guid, CreateScopeInput, UpdateScopeInput>, ICreateAppService<ScopeDto, CreateScopeInput>, IUpdateAppService<ScopeDto, Guid, UpdateScopeInput>, IDeleteAppService<Guid>

Constructors

ScopeController(IScopeAppService)

Declaration
public ScopeController(IScopeAppService scopeAppService)
Parameters
Type Name Description
IScopeAppService scopeAppService

Properties

ScopeAppService

Declaration
protected IScopeAppService ScopeAppService { get; }
Property Value
Type Description
IScopeAppService

Methods

CreateAsync(CreateScopeInput)

Declaration
[HttpPost]
public virtual Task<ScopeDto> CreateAsync(CreateScopeInput input)
Parameters
Type Name Description
CreateScopeInput input
Returns
Type Description
Task<ScopeDto>

DeleteAsync(Guid)

Declaration
[HttpDelete]
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAllScopesAsync()

Declaration
[HttpGet]
[Route("all")]
public Task<List<ScopeDto>> GetAllScopesAsync()
Returns
Type Description
Task<List<ScopeDto>>

GetAsync(Guid)

Declaration
[HttpGet]
[Route("{id}")]
public virtual Task<ScopeDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<ScopeDto>

GetListAsync(GetScopeListInput)

Declaration
[HttpGet]
public virtual Task<PagedResultDto<ScopeDto>> GetListAsync(GetScopeListInput input)
Parameters
Type Name Description
GetScopeListInput input
Returns
Type Description
Task<PagedResultDto<ScopeDto>>

UpdateAsync(Guid, UpdateScopeInput)

Declaration
[HttpPut]
[Route("{id}")]
public virtual Task<ScopeDto> UpdateAsync(Guid id, UpdateScopeInput input)
Parameters
Type Name Description
Guid id
UpdateScopeInput input
Returns
Type Description
Task<ScopeDto>

Implements

IScopeAppService
Volo.Abp.Application.Services.ICrudAppService<,,,,>
Volo.Abp.Application.Services.ICrudAppService<,,,,,>
Volo.Abp.Application.Services.IReadOnlyAppService<,,,>
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService
Volo.Abp.Application.Services.ICreateUpdateAppService<,,,>
Volo.Abp.Application.Services.ICreateAppService<,>
Volo.Abp.Application.Services.IUpdateAppService<,,>
Volo.Abp.Application.Services.IDeleteAppService<>
In this article
Back to top Powered by Volosoft