コード例 #1
0
 private async void BypassLoginAsync()
 {
     if (await AuthChecks.CheckIfTokenExpiredAsync())
     {
         await Navigation.PushModalAsync(new Login());
     }
 }
コード例 #2
0
 async void ShowProfileButtonClicked(object sender, EventArgs e)
 {
     if (await AuthChecks.CheckIfTokenExpiredAsync())
     {
         await GetRefreshToken();
     }
     await GetProfileDetails();
 }