about summary refs log tree commit diff
path: root/LibMatrix/Homeservers/UserInteractiveAuthClient.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LibMatrix/Homeservers/UserInteractiveAuthClient.cs14
1 files changed, 6 insertions, 8 deletions
diff --git a/LibMatrix/Homeservers/UserInteractiveAuthClient.cs b/LibMatrix/Homeservers/UserInteractiveAuthClient.cs

index 8be2cb9..8de01d2 100644 --- a/LibMatrix/Homeservers/UserInteractiveAuthClient.cs +++ b/LibMatrix/Homeservers/UserInteractiveAuthClient.cs
@@ -1,7 +1,5 @@ -using System.Net.Http.Json; using System.Text.Json.Nodes; using System.Text.Json.Serialization; -using ArcaneLibs.Extensions; using LibMatrix.Responses; namespace LibMatrix.Homeservers; @@ -51,27 +49,27 @@ public class UserInteractiveAuthClient { internal class RegisterFlowsResponse { [JsonPropertyName("session")] - public string Session { get; set; } = null!; + public string Session { get; set; } [JsonPropertyName("flows")] - public List<RegisterFlow> Flows { get; set; } = null!; + public List<RegisterFlow> Flows { get; set; } [JsonPropertyName("params")] - public JsonObject Params { get; set; } = null!; + public JsonObject Params { get; set; } public class RegisterFlow { [JsonPropertyName("stages")] - public List<string> Stages { get; set; } = null!; + public List<string> Stages { get; set; } } } internal class LoginFlowsResponse { [JsonPropertyName("flows")] - public List<LoginFlow> Flows { get; set; } = null!; + public List<LoginFlow> Flows { get; set; } public class LoginFlow { [JsonPropertyName("type")] - public string Type { get; set; } = null!; + public string Type { get; set; } } }