private async Task SsoAuthSuccessAsync() { RestoreAppOptionsFromCopy(); await AppHelpers.ClearPreviousPage(); Application.Current.MainPage = new NavigationPage(new LockPage(_appOptions)); }
private async Task LogInSuccessAsync() { if (AppHelpers.SetAlternateMainPage(_appOptions)) { return; } var previousPage = await AppHelpers.ClearPreviousPage(); Application.Current.MainPage = new TabsPage(_appOptions, previousPage); }
private async Task SsoAuthSuccessAsync() { RestoreAppOptionsFromCopy(); await AppHelpers.ClearPreviousPage(); if (await _vaultTimeoutService.IsLockedAsync()) { Application.Current.MainPage = new NavigationPage(new LockPage(_appOptions)); } else { Application.Current.MainPage = new TabsPage(_appOptions, null); } }
private async Task TwoFactorAuthSuccessAsync() { if (_authingWithSso) { Application.Current.MainPage = new NavigationPage(new LockPage(_appOptions)); } else { if (AppHelpers.SetAlternateMainPage(_appOptions)) { return; } var previousPage = await AppHelpers.ClearPreviousPage(); Application.Current.MainPage = new TabsPage(_appOptions, previousPage); } }