Show / Hide Table of Contents

Class AccountSettingsController

Inheritance
object
AccountSettingsController
Implements
IAccountSettingsAppService
IApplicationService
IRemoteService
Namespace: Volo.Abp.Account
Assembly: Volo.Abp.Account.Pro.Admin.HttpApi.dll
Syntax
[Area("accountAdmin")]
[Route("api/account-admin/settings")]
public class AccountSettingsController : AbpController, IAccountSettingsAppService, IApplicationService, IRemoteService

Constructors

AccountSettingsController(IAccountSettingsAppService)

Declaration
public AccountSettingsController(IAccountSettingsAppService accountSettingsAppService)
Parameters
Type Name Description
IAccountSettingsAppService accountSettingsAppService

Properties

AccountSettingsAppService

Declaration
protected IAccountSettingsAppService AccountSettingsAppService { get; }
Property Value
Type Description
IAccountSettingsAppService

Methods

GetAsync()

Declaration
[HttpGet]
public virtual Task<AccountSettingsDto> GetAsync()
Returns
Type Description
Task<AccountSettingsDto>

GetExternalProviderAsync()

Declaration
[HttpGet]
[Route("external-provider")]
public virtual Task<AccountExternalProviderSettingsDto> GetExternalProviderAsync()
Returns
Type Description
Task<AccountExternalProviderSettingsDto>

GetRecaptchaAsync()

Declaration
[HttpGet]
[Route("recaptcha")]
public virtual Task<AccountRecaptchaSettingsDto> GetRecaptchaAsync()
Returns
Type Description
Task<AccountRecaptchaSettingsDto>

GetTwoFactorAsync()

Declaration
[HttpGet]
[Route("two-factor")]
public virtual Task<AccountTwoFactorSettingsDto> GetTwoFactorAsync()
Returns
Type Description
Task<AccountTwoFactorSettingsDto>

UpdateAsync(AccountSettingsDto)

Declaration
[HttpPut]
public virtual Task UpdateAsync(AccountSettingsDto input)
Parameters
Type Name Description
AccountSettingsDto input
Returns
Type Description
Task

UpdateExternalProviderAsync(List<UpdateExternalProviderDto>)

Declaration
[HttpPut]
[Route("external-provider")]
public virtual Task UpdateExternalProviderAsync(List<UpdateExternalProviderDto> input)
Parameters
Type Name Description
List<UpdateExternalProviderDto> input
Returns
Type Description
Task

UpdateRecaptchaAsync(AccountRecaptchaSettingsDto)

Declaration
[HttpPut]
[Route("recaptcha")]
public virtual Task UpdateRecaptchaAsync(AccountRecaptchaSettingsDto input)
Parameters
Type Name Description
AccountRecaptchaSettingsDto input
Returns
Type Description
Task

UpdateTwoFactorAsync(AccountTwoFactorSettingsDto)

Declaration
[HttpPut]
[Route("two-factor")]
public virtual Task UpdateTwoFactorAsync(AccountTwoFactorSettingsDto input)
Parameters
Type Name Description
AccountTwoFactorSettingsDto input
Returns
Type Description
Task

Implements

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