Y2S2-Syski/syski_api/uk.co.syski.api/Models/UserTokenDTO.cs

25 lines
501 B
C#
Raw Permalink Normal View History

2020-06-09 20:02:14 +00:00
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; }
}
}