Show / Hide Table of Contents

Class ScopeAppService

Inheritance
object
ApplicationService
AbpOpenIddictProAppService
ScopeAppService
Implements
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
Inherited Members
AbpOpenIddictProAppService.ConvertIdentifierFromString(string)
AbpOpenIddictProAppService.ConvertIdentifierToString(Guid)
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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>

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IScopeAppService
ICrudAppService<TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
ICrudAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
IReadOnlyAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput>
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateUpdateInput, TUpdateInput>
ICreateAppService<TGetOutputDto, TCreateInput>
IUpdateAppService<TGetOutputDto, TKey, TUpdateInput>
IDeleteAppService<TKey>
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform