17 lines
493 B
C#
17 lines
493 B
C#
using System;
|
|
|
|
namespace TakeoutSaaS.Application.Identity.Contracts;
|
|
|
|
/// <summary>
|
|
/// Access/Refresh 令牌响应。
|
|
/// </summary>
|
|
public class TokenResponse
|
|
{
|
|
public string AccessToken { get; init; } = string.Empty;
|
|
public DateTime AccessTokenExpiresAt { get; init; }
|
|
public string RefreshToken { get; init; } = string.Empty;
|
|
public DateTime RefreshTokenExpiresAt { get; init; }
|
|
public CurrentUserProfile? User { get; init; }
|
|
public bool IsNewUser { get; init; }
|
|
}
|