about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/Authentication
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Core/Authentication')
-rw-r--r--MatrixRoomUtils.Core/Authentication/MatrixAuth.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs b/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs

index 7bcd75f..b4b8d19 100644 --- a/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs +++ b/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs
@@ -1,5 +1,6 @@ using System.Net.Http.Json; using System.Text.Json; +using MatrixRoomUtils.Core.Extensions; using MatrixRoomUtils.Core.Responses; namespace MatrixRoomUtils.Core.Authentication; @@ -33,7 +34,7 @@ public class MatrixAuth await Task.Delay(retryAfter.GetInt32()); return await Login(homeserver, username, password); } - + Console.WriteLine($"Login: {data.ToJson()}"); return data.Deserialize<LoginResponse>(); //var token = data.GetProperty("access_token").GetString(); //return token;