public async Task SignInAsync()
{
try
{
// Load the user's profile, will trigger auth
await LoadUserProfile();
// Save the token from the auth process
_missionPlanner.SaveSetting("AAWings.Token", JsonConvert.SerializeObject(_aaClient.AuthorizationState));
SignedIn(true);
}
catch (Exception ex)
{
await _messagesService.AddMessageAsync($"There was a problem signing you in.\r\n{ex.Message}");
}
}