private async void CheckForAccount()
 {
     if (_accountProvider.TryRelog() && await _accountProvider.CheckTokenAsync())
     {
         await _navigation.Navigate <HomeViewModel>();
     }
 }
Exemple #2
0
 private async void CheckToken()
 {
     if (!await _accountProvider.CheckTokenAsync())
     {
         _accountProvider.Exit();
         GoToLogin();
     }
 }