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

namespace MatrixUtils.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; }
}