Class ProfileAppService
Inheritance
ProfileAppService
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
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
Properties
IdentityOptions
Declaration
protected IOptions<IdentityOptions> IdentityOptions { get; }
Property Value
IdentityProTwoFactorManager
Declaration
protected IdentityProTwoFactorManager IdentityProTwoFactorManager { get; }
Property Value
IdentitySecurityLogManager
Declaration
protected IdentitySecurityLogManager IdentitySecurityLogManager { get; }
Property Value
IdentityUserTwoFactorChecker
Declaration
protected IdentityUserTwoFactorChecker IdentityUserTwoFactorChecker { get; }
Property Value
SettingManager
Declaration
protected ISettingManager SettingManager { get; }
Property Value
TimezoneProvider
Declaration
protected ITimezoneProvider TimezoneProvider { get; }
Property Value
UserManager
Declaration
protected IdentityUserManager UserManager { get; }
Property Value
Methods
CanEnableTwoFactorAsync()
Declaration
public virtual Task<bool> CanEnableTwoFactorAsync()
Returns
Declaration
public virtual Task ChangePasswordAsync(ChangePasswordInput input)
Parameters
Returns
GetAsync()
Declaration
public virtual Task<ProfileDto> GetAsync()
Returns
GetTimezonesAsync()
Declaration
public virtual Task<List<NameValue>> GetTimezonesAsync()
Returns
GetTwoFactorEnabledAsync()
Declaration
public virtual Task<bool> GetTwoFactorEnabledAsync()
Returns
SetTimezoneInfoAsync(ProfileDto)
Declaration
protected virtual Task<ProfileDto> SetTimezoneInfoAsync(ProfileDto profileDto)
Parameters
Returns
SetTwoFactorEnabledAsync(bool)
Declaration
public virtual Task SetTwoFactorEnabledAsync(bool enabled)
Parameters
Type |
Name |
Description |
bool |
enabled |
|
Returns
UpdateAsync(UpdateProfileDto)
Declaration
public virtual Task<ProfileDto> UpdateAsync(UpdateProfileDto input)
Parameters
Returns
Implements
Extension Methods