about summary refs log tree commit diff
path: root/LibMatrix/Responses/LoginResponse.cs
blob: 2800a9cfe82da6351c8236d6a6eb3be566eb5109 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Text.Json.Serialization;

namespace LibMatrix.Responses;

public class LoginResponse {
    [JsonPropertyName("access_token")]
    public string AccessToken { get; set; }

    [JsonPropertyName("device_id")]
    public string DeviceId { get; set; }

    [JsonPropertyName("home_server")]
    public string Homeserver { get; set; }

    [JsonPropertyName("user_id")]
    public string UserId { get; set; }
}