about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/Responses/LoginResponse.cs
blob: b2487394d87a4606b7b41d1c572b2f521ab11e80 (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 MatrixRoomUtils.Core.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; }
}