Files
IM_NEW/User.WebApi/Applications/Dtos/LoginResponse.cs
T
2026-05-09 17:06:30 +08:00

19 lines
529 B
C#

namespace IdentityService.WebApi.Applications.Dtos
{
public class LoginResponse
{
public Guid UserId { get; init; }
public string Token { get; init; }
public string RefreshToken { get; init; }
public DateTime? Expired { get; init; }
public LoginResponse(Guid userId, string token, string refreshToken, DateTime? expired)
{
UserId = userId;
Token = token;
RefreshToken = refreshToken;
Expired = expired;
}
}
}