about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Classes/UserAuth.cs
blob: e6f0954a98b11eac475d9a61ec6e3fa15c0c159b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using LibMatrix.Responses;

namespace MatrixRoomUtils.Web.Classes;

public class UserAuth : LoginResponse {
    public UserAuth() { }
    public UserAuth(LoginResponse login) {
        Homeserver = login.Homeserver;
        UserId = login.UserId;
        AccessToken = login.AccessToken;
        DeviceId = login.DeviceId;
    }

    public string? Proxy { get; set; }
}