1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-17 00:33:20 +00:00

stub out two factor page

This commit is contained in:
Kyle Spearrin
2019-05-23 21:19:45 -04:00
parent 23f27282d6
commit 6d49253ee5
4 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
using Bit.App.Abstractions;
using Bit.App.Resources;
using Bit.Core.Abstractions;
using Bit.Core.Exceptions;
using Bit.Core.Utilities;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Bit.App.Pages
{
public class TwoFactorPageViewModel : BaseViewModel
{
private readonly IDeviceActionService _deviceActionService;
private readonly IAuthService _authService;
private readonly ISyncService _syncService;
private readonly IStorageService _storageService;
private string _email;
public TwoFactorPageViewModel()
{
_deviceActionService = ServiceContainer.Resolve<IDeviceActionService>("deviceActionService");
_authService = ServiceContainer.Resolve<IAuthService>("authService");
_syncService = ServiceContainer.Resolve<ISyncService>("syncService");
_storageService = ServiceContainer.Resolve<IStorageService>("storageService");
}
public string Email
{
get => _email;
set => SetProperty(ref _email, value);
}
public async Task InitAsync()
{
}
public async Task SubmitAsync()
{
}
}
}