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

36 lines
696 B
C#

using System;
namespace Syski.Data
{
public class AuthenticationToken
{
public Guid Id { get; set; }
public string UserId { get; set; }
public ApplicationUser User { get; set; }
public string TokenType { get; set; }
public string Issuer { get; set; }
public string Audience { get; set; }
public string Subject { get; set; }
public DateTime Expires { get; set; }
public DateTime NotBefore { get; set; }
public string RefreshToken { get; set; }
public bool Active { get; set; }
public Guid? NextTokenId { get; set; }
public Guid? PreviousTokenId { get; set; }
}
}