private static void ShowTokens(AuthenticationResult result) { try { foreach (var p in result.GetType().GetProperties()) { Console.WriteLine($"{p.Name}: {p.GetValue(result)}"); } } catch (Exception) { } Console.WriteLine(); }