Show / Hide Table of Contents

Class ApplicationAppService

Inheritance
object
ApplicationService
AbpOpenIddictProAppService
ApplicationAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IApplicationAppService
ICrudAppService<ApplicationDto, Guid, GetApplicationListInput, CreateApplicationInput, UpdateApplicationInput>
ICrudAppService<ApplicationDto, ApplicationDto, Guid, GetApplicationListInput, CreateApplicationInput, UpdateApplicationInput>
IReadOnlyAppService<ApplicationDto, ApplicationDto, Guid, GetApplicationListInput>
ICreateUpdateAppService<ApplicationDto, Guid, CreateApplicationInput, UpdateApplicationInput>
ICreateAppService<ApplicationDto, CreateApplicationInput>
IUpdateAppService<ApplicationDto, Guid, UpdateApplicationInput>
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.Applications
Assembly: Volo.Abp.OpenIddict.Pro.Application.dll
Syntax
[Authorize("OpenIddictPro.Application")]
public class ApplicationAppService : AbpOpenIddictProAppService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IApplicationAppService, ICrudAppService<ApplicationDto, Guid, GetApplicationListInput, CreateApplicationInput, UpdateApplicationInput>, ICrudAppService<ApplicationDto, ApplicationDto, Guid, GetApplicationListInput, CreateApplicationInput, UpdateApplicationInput>, IReadOnlyAppService<ApplicationDto, ApplicationDto, Guid, GetApplicationListInput>, ICreateUpdateAppService<ApplicationDto, Guid, CreateApplicationInput, UpdateApplicationInput>, ICreateAppService<ApplicationDto, CreateApplicationInput>, IUpdateAppService<ApplicationDto, Guid, UpdateApplicationInput>, IDeleteAppService<Guid>, IApplicationService, IRemoteService

Constructors

ApplicationAppService(IOpenIddictApplicationManager, IOpenIddictApplicationRepository)

Declaration
public ApplicationAppService(IOpenIddictApplicationManager applicationManager, IOpenIddictApplicationRepository applicationRepository)
Parameters
Type Name Description
IOpenIddictApplicationManager applicationManager
IOpenIddictApplicationRepository applicationRepository

Properties

ApplicationManager

Declaration
protected IOpenIddictApplicationManager ApplicationManager { get; }
Property Value
Type Description
IOpenIddictApplicationManager

ApplicationRepository

Declaration
protected IOpenIddictApplicationRepository ApplicationRepository { get; }
Property Value
Type Description
IOpenIddictApplicationRepository

Methods

CheckInputDtoAsync(ApplicationCreateOrUpdateDtoBase, OpenIddictApplicationModel)

Declaration
protected virtual Task CheckInputDtoAsync(ApplicationCreateOrUpdateDtoBase dto, OpenIddictApplicationModel application = null)
Parameters
Type Name Description
ApplicationCreateOrUpdateDtoBase dto
OpenIddictApplicationModel application
Returns
Type Description
Task

CreateAsync(CreateApplicationInput)

Declaration
[Authorize("OpenIddictPro.Application.Create")]
public virtual Task<ApplicationDto> CreateAsync(CreateApplicationInput input)
Parameters
Type Name Description
CreateApplicationInput input
Returns
Type Description
Task<ApplicationDto>

DeleteAsync(Guid)

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

GetAsync(Guid)

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

GetListAsync(GetApplicationListInput)

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

GetTokenLifetimeAsync(Guid)

Declaration
[Authorize("OpenIddictPro.Application.Update")]
public virtual Task<ApplicationTokenLifetimeDto> GetTokenLifetimeAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<ApplicationTokenLifetimeDto>

GetTokenLifetimeOrNullAsync(ImmutableDictionary<string, string>, string)

Declaration
protected virtual Task<TimeSpan?> GetTokenLifetimeOrNullAsync(ImmutableDictionary<string, string> settings, string tokenType)
Parameters
Type Name Description
ImmutableDictionary<string, string> settings
string tokenType
Returns
Type Description
Task<TimeSpan?>

SetTokenLifetimeAsync(Guid, ApplicationTokenLifetimeDto)

Declaration
[Authorize("OpenIddictPro.Application.Update")]
public virtual Task SetTokenLifetimeAsync(Guid id, ApplicationTokenLifetimeDto input)
Parameters
Type Name Description
Guid id
ApplicationTokenLifetimeDto input
Returns
Type Description
Task

UpdateAsync(Guid, UpdateApplicationInput)

Declaration
[Authorize("OpenIddictPro.Application.Update")]
public virtual Task<ApplicationDto> UpdateAsync(Guid id, UpdateApplicationInput input)
Parameters
Type Name Description
Guid id
UpdateApplicationInput input
Returns
Type Description
Task<ApplicationDto>

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IApplicationAppService
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