19 lines
529 B
C#
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;
|
|
}
|
|
}
|
|
}
|