bitwarden-android/src/App/Pages/Accounts/TwoFactorPageViewModel.cs

45 lines
1.2 KiB
C#
Raw Normal View History

2019-05-23 21:19:45 -04:00
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()
{
}
}
}