Show / Hide Table of Contents

Class ScopeAppService

Inheritance
object
AbpOpenIddictProAppService
ScopeAppService
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>
Inherited Members
AbpOpenIddictProAppService.ConvertIdentifierFromString(string)
AbpOpenIddictProAppService.ConvertIdentifierToString(Guid)
Namespace: Volo.Abp.OpenIddict.Scopes
Assembly: Volo.Abp.OpenIddict.Pro.Application.dll
Syntax
[Authorize("OpenIddictPro.Scope")]
public class ScopeAppService : AbpOpenIddictProAppService, 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

ScopeAppService(IOpenIddictScopeManager, IOpenIddictScopeRepository)

Declaration
public ScopeAppService(IOpenIddictScopeManager scopeManager, IOpenIddictScopeRepository scopeRepository)
Parameters
Type Name Description
IOpenIddictScopeManager scopeManager
IOpenIddictScopeRepository scopeRepository

Properties

ScopeManager

Declaration
protected IOpenIddictScopeManager ScopeManager { get; }
Property Value
Type Description
IOpenIddictScopeManager

ScopeRepository

Declaration
protected IOpenIddictScopeRepository ScopeRepository { get; }
Property Value
Type Description
IOpenIddictScopeRepository

Methods

CheckInputDtoAsync(ScopeCreateOrUpdateDtoBase, OpenIddictScopeModel)

Declaration
protected virtual Task CheckInputDtoAsync(ScopeCreateOrUpdateDtoBase dto, OpenIddictScopeModel scope = null)
Parameters
Type Name Description
ScopeCreateOrUpdateDtoBase dto
OpenIddictScopeModel scope
Returns
Type Description
Task

CreateAsync(CreateScopeInput)

Declaration
[Authorize("OpenIddictPro.Scope.Create")]
public virtual Task<ScopeDto> CreateAsync(CreateScopeInput input)
Parameters
Type Name Description
CreateScopeInput input
Returns
Type Description
Task<ScopeDto>

DeleteAsync(Guid)

Declaration
[Authorize("OpenIddictPro.Scope.Delete")]
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAllScopesAsync()

Declaration
public virtual Task<List<ScopeDto>> GetAllScopesAsync()
Returns
Type Description
Task<List<ScopeDto>>

GetAsync(Guid)

Declaration
public virtual Task<ScopeDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<ScopeDto>

GetListAsync(GetScopeListInput)

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

UpdateAsync(Guid, UpdateScopeInput)

Declaration
[Authorize("OpenIddictPro.Scope.Update")]
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