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