20 lines
532 B
C#
20 lines
532 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SharpChat.Users.Remote {
|
|
public class UserAuthRequest {
|
|
public long UserId { get; }
|
|
public string Token { get; }
|
|
public IPAddress RemoteAddress { get; }
|
|
|
|
public UserAuthRequest(long userId, string token, IPAddress remoteAddress) {
|
|
UserId = userId;
|
|
Token = token;
|
|
RemoteAddress = remoteAddress;
|
|
}
|
|
}
|
|
}
|