Class AccountController
Inheritance
AccountController
Assembly: Volo.Abp.Account.Web.dll
Syntax
[RemoteService(true, Name = "AbpAccount")]
[Controller]
[Area("account")]
[Route("api/account")]
public class AccountController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns
Constructors
AccountController(SignInManager<IdentityUser>, IdentityUserManager, ISettingProvider, IdentitySecurityLogManager, IOptions<IdentityOptions>, IdentityDynamicClaimsPrincipalContributorCache)
Declaration
public AccountController(SignInManager<IdentityUser> signInManager, IdentityUserManager userManager, ISettingProvider settingProvider, IdentitySecurityLogManager identitySecurityLogManager, IOptions<IdentityOptions> identityOptions, IdentityDynamicClaimsPrincipalContributorCache identityDynamicClaimsPrincipalContributorCache)
Parameters
Properties
IdentityDynamicClaimsPrincipalContributorCache
Declaration
protected IdentityDynamicClaimsPrincipalContributorCache IdentityDynamicClaimsPrincipalContributorCache { get; }
Property Value
IdentityOptions
Declaration
protected IOptions<IdentityOptions> IdentityOptions { get; }
Property Value
IdentitySecurityLogManager
Declaration
protected IdentitySecurityLogManager IdentitySecurityLogManager { get; }
Property Value
SettingProvider
Declaration
protected ISettingProvider SettingProvider { get; }
Property Value
SignInManager
Declaration
protected SignInManager<IdentityUser> SignInManager { get; }
Property Value
UserManager
Declaration
protected IdentityUserManager UserManager { get; }
Property Value
Methods
CheckLocalLoginAsync()
Declaration
protected virtual Task CheckLocalLoginAsync()
Returns
CheckPassword(UserLoginInfo)
Declaration
[HttpPost]
[Route("check-password")]
public virtual Task<AbpLoginResult> CheckPassword(UserLoginInfo login)
Parameters
Returns
CheckPasswordCompatible(UserLoginInfo)
Declaration
[HttpPost]
[Route("checkPassword")]
[ApiExplorerSettings(IgnoreApi = true)]
public virtual Task<AbpLoginResult> CheckPasswordCompatible(UserLoginInfo login)
Parameters
Returns
Login(UserLoginInfo)
Declaration
[HttpPost]
[Route("login")]
public virtual Task<AbpLoginResult> Login(UserLoginInfo login)
Parameters
Returns
Logout()
Declaration
[HttpGet]
[Route("logout")]
public virtual Task Logout()
Returns
Declaration
protected virtual Task ReplaceEmailToUsernameOfInputIfNeeds(UserLoginInfo login)
Parameters
Returns
ValidateLoginInfo(UserLoginInfo)
Declaration
protected virtual void ValidateLoginInfo(UserLoginInfo login)
Parameters
Implements
Extension Methods