mirror of
https://github.com/bitwarden/android.git
synced 2025-01-24 16:53:50 +03:00
45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
|
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()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|