public SsoDialogView(ISsoDialogViewModel viewModel) { LogInWithPasscodeCommand = new AsyncDelegatingCommand(viewModel.LoginWithPasscodeAsync, viewModel.CanLoginWithPasscode); DataContext = viewModel; InitializeComponent(); MouseDown += Window_MouseDown; }
public LoginViewModel(IServiceProvider services) : base(services) { SkipSsl = true; ApiAddressIsValid = true; _tasExplorer = services.GetRequiredService <ITasExplorerViewModel>(); _ssoDialog = services.GetRequiredService <ISsoDialogViewModel>(); }