TwoFactorAuthenticationModel Class
Name | Description | |
---|---|---|
![]() |
TwoFactorAuthenticationModel(UserManager<UserBase>, SignInManager<UserBase>, ILogger<TwoFactorAuthenticationModel>) | Constructor for TwoFactorAuthenticationModel class. |
Name | Description | |
---|---|---|
![]() |
HasAuthenticator | This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
![]() |
Is2faEnabled | This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
![]() |
IsMachineRemembered | This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
![]() |
RecoveryCodesLeft | This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
![]() |
StatusMessage | This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
Name | Description | |
---|---|---|
![]() |
OnGetAsync() | Gets the current user's two factor authentication information. |
![]() |
OnPostAsync() | OnPostAsync handles the logic for when the user forgets the two factor authentication code for the current browser. |