Show / Hide Table of Contents

Class ProfileAppService

Inheritance
object
ApplicationService
IdentityAppServiceBase
ProfileAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IProfileAppService
IApplicationService
IRemoteService
Inherited Members
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.Account
Assembly: Volo.Abp.Account.Application.dll
Syntax
[Authorize]
public class ProfileAppService : IdentityAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IProfileAppService, IApplicationService, IRemoteService

Constructors

ProfileAppService(IdentityUserManager, IOptions<IdentityOptions>)

Declaration
public ProfileAppService(IdentityUserManager userManager, IOptions<IdentityOptions> identityOptions)
Parameters
Type Name Description
IdentityUserManager userManager
IOptions<IdentityOptions> identityOptions

ProfileAppService(IdentityUserManager, IdentitySecurityLogManager, IdentityProTwoFactorManager, IOptions<IdentityOptions>, IdentityUserTwoFactorChecker, ITimezoneProvider, ISettingManager)

Declaration
public ProfileAppService(IdentityUserManager userManager, IdentitySecurityLogManager identitySecurityLogManager, IdentityProTwoFactorManager identityProTwoFactorManager, IOptions<IdentityOptions> identityOptions, IdentityUserTwoFactorChecker identityUserTwoFactorChecker, ITimezoneProvider timezoneProvider, ISettingManager settingManager)
Parameters
Type Name Description
IdentityUserManager userManager
IdentitySecurityLogManager identitySecurityLogManager
IdentityProTwoFactorManager identityProTwoFactorManager
IOptions<IdentityOptions> identityOptions
IdentityUserTwoFactorChecker identityUserTwoFactorChecker
ITimezoneProvider timezoneProvider
ISettingManager settingManager

Properties

IdentityOptions

Declaration
protected IOptions<IdentityOptions> IdentityOptions { get; }
Property Value
Type Description
IOptions<IdentityOptions>

IdentityProTwoFactorManager

Declaration
protected IdentityProTwoFactorManager IdentityProTwoFactorManager { get; }
Property Value
Type Description
IdentityProTwoFactorManager

IdentitySecurityLogManager

Declaration
protected IdentitySecurityLogManager IdentitySecurityLogManager { get; }
Property Value
Type Description
IdentitySecurityLogManager

IdentityUserTwoFactorChecker

Declaration
protected IdentityUserTwoFactorChecker IdentityUserTwoFactorChecker { get; }
Property Value
Type Description
IdentityUserTwoFactorChecker

SettingManager

Declaration
protected ISettingManager SettingManager { get; }
Property Value
Type Description
ISettingManager

TimezoneProvider

Declaration
protected ITimezoneProvider TimezoneProvider { get; }
Property Value
Type Description
ITimezoneProvider

UserManager

Declaration
protected IdentityUserManager UserManager { get; }
Property Value
Type Description
IdentityUserManager

Methods

CanEnableTwoFactorAsync()

Declaration
public virtual Task<bool> CanEnableTwoFactorAsync()
Returns
Type Description
Task<bool>

ChangePasswordAsync(ChangePasswordInput)

Declaration
public virtual Task ChangePasswordAsync(ChangePasswordInput input)
Parameters
Type Name Description
ChangePasswordInput input
Returns
Type Description
Task

GetAsync()

Declaration
public virtual Task<ProfileDto> GetAsync()
Returns
Type Description
Task<ProfileDto>

GetTimezonesAsync()

Declaration
public virtual Task<List<NameValue>> GetTimezonesAsync()
Returns
Type Description
Task<List<NameValue>>

GetTwoFactorEnabledAsync()

Declaration
public virtual Task<bool> GetTwoFactorEnabledAsync()
Returns
Type Description
Task<bool>

SetTimezoneInfoAsync(ProfileDto)

Declaration
protected virtual Task<ProfileDto> SetTimezoneInfoAsync(ProfileDto profileDto)
Parameters
Type Name Description
ProfileDto profileDto
Returns
Type Description
Task<ProfileDto>

SetTwoFactorEnabledAsync(bool)

Declaration
public virtual Task SetTwoFactorEnabledAsync(bool enabled)
Parameters
Type Name Description
bool enabled
Returns
Type Description
Task

UpdateAsync(UpdateProfileDto)

Declaration
public virtual Task<ProfileDto> UpdateAsync(UpdateProfileDto input)
Parameters
Type Name Description
UpdateProfileDto input
Returns
Type Description
Task<ProfileDto>

Implements

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