Show / Hide Table of Contents

Class ProfileAppService

Inheritance
object
ProfileAppService
Implements
IProfileAppService
IApplicationService
IRemoteService
Namespace: Volo.Abp.Account
Assembly: Volo.Abp.Account.Pro.Public.Application.dll
Syntax
[Authorize]
public class ProfileAppService : ApplicationService, IProfileAppService, IApplicationService, IRemoteService

Constructors

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

IProfileAppService
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService
In this article
Back to top Powered by Volosoft