private async void BypassLoginAsync() { if (await AuthChecks.CheckIfTokenExpiredAsync()) { await Navigation.PushModalAsync(new Login()); } }
async void ShowProfileButtonClicked(object sender, EventArgs e) { if (await AuthChecks.CheckIfTokenExpiredAsync()) { await GetRefreshToken(); } await GetProfileDetails(); }