Y2S2-Syski/syski_api/uk.co.syski.api/Models/UserTokenDTO.cs
2020-06-09 21:02:14 +01:00

25 lines
501 B
C#

using Newtonsoft.Json;
using System;
namespace Syski.API.Models
{
public class UserTokenDTO
{
public string Id { get; set; }
public string Email { get; set; }
[JsonProperty(PropertyName = "access_token")]
public string AccessToken { get; set; }
[JsonProperty(PropertyName = "refresh_token")]
public string RefreshToken { get; set; }
[JsonProperty(PropertyName = "expiry")]
public DateTime Expiry { get; set; }
}
}