Class ScopeAppService
Implements
Inherited Members
Namespace: Volo.Abp.OpenIddict.Scopes
Assembly: Volo.Abp.OpenIddict.Pro.Application.dll
Syntax
[Authorize("OpenIddictPro.Scope")]
public class ScopeAppService : AbpOpenIddictProAppService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, 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
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> |