Class TwoFactorModel
Inherited Members
Namespace: Volo.Abp.Identity.Web.Pages.Identity.Users
Assembly: Volo.Abp.Identity.Pro.Web.dll
Syntax
public class TwoFactorModel : IdentityPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
TwoFactorModel(IIdentityUserAppService)
Declaration
public TwoFactorModel(IIdentityUserAppService identityUserAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IIdentityUserAppService | identityUserAppService |
Properties
IdentityUserAppService
Declaration
protected IIdentityUserAppService IdentityUserAppService { get; }
Property Value
| Type | Description |
|---|---|
| IIdentityUserAppService |
TwoFactorInput
Declaration
[BindProperty]
public TwoFactorModel.TwoFactorViewModel TwoFactorInput { get; set; }
Property Value
| Type | Description |
|---|---|
| TwoFactorModel.TwoFactorViewModel |
UserName
Declaration
public string UserName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
OnGetAsync(Guid)
Declaration
public virtual Task OnGetAsync(Guid id)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id |
Returns
| Type | Description |
|---|---|
| Task |
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |