Class ScopeController
Implements
Inherited Members
Namespace: Volo.Abp.OpenIddict
Assembly: Volo.Abp.OpenIddict.Pro.HttpApi.dll
Syntax
[RemoteService(true, Name = "OpenIddictPro")]
[Area("openiddictpro")]
[Controller]
[Route("api/openiddict/scopes")]
[DisableAuditing]
public class ScopeController : AbpOpenIddictProController, IAvoidDuplicateCrossCuttingConcerns, IScopeAppService, ICrudAppService<ScopeDto, Guid, GetScopeListInput, CreateScopeInput, UpdateScopeInput>, ICrudAppService<ScopeDto, ScopeDto, Guid, GetScopeListInput, CreateScopeInput, UpdateScopeInput>, IReadOnlyAppService<ScopeDto, ScopeDto, Guid, GetScopeListInput>, ICreateUpdateAppService<ScopeDto, Guid, CreateScopeInput, UpdateScopeInput>, ICreateAppService<ScopeDto, CreateScopeInput>, IUpdateAppService<ScopeDto, Guid, UpdateScopeInput>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
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> |